@tokenlabai/mcp-server 0.6.7 → 0.6.9

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -5,7 +5,7 @@
5
5
  "id": "tokenlab-mcp-server",
6
6
  "name": "@tokenlabai/mcp-server",
7
7
  "title": "TokenLab MCP Server",
8
- "version": "0.6.7",
8
+ "version": "0.6.9",
9
9
  "registry_name": "io.github.hedging8563/tokenlab",
10
10
  "source_url": "https://github.com/hedging8563/tokenlab-mcp-server",
11
11
  "landing_url": "https://tokenlab.sh/mcp",
@@ -25,8 +25,8 @@
25
25
  "openapi": "3.0.3",
26
26
  "title": "TokenLab AI Gateway",
27
27
  "version": "1.0.0",
28
- "sha256": "b97e2566a0ee162a76bf3036e53e124cc7555d0efe51bd38e17894baf7124152",
29
- "tool_manifest_sha256": "020115866467dcabae35643182b950b59ec533eb6346e887ec5046cf2d021423"
28
+ "sha256": "ca3a4d2897ad8a71e44194b629170678ce31ee678379617b2a4018fbff9ce900",
29
+ "tool_manifest_sha256": "344685636da44b3ba93589a8e64536148561f63cd26a75bd5dd59e6f072b132f"
30
30
  },
31
31
  "profiles": {
32
32
  "catalog": {
@@ -84,11 +84,10 @@
84
84
  },
85
85
  "full": {
86
86
  "is_default": false,
87
- "endpoint_tools": 76,
87
+ "endpoint_tools": 75,
88
88
  "composite_tools": 2,
89
- "total_tools": 78,
89
+ "total_tools": 77,
90
90
  "tool_names": [
91
- "bind_seedance_visual_validation_result",
92
91
  "cancel_anthropic_message_batch",
93
92
  "cancel_batch",
94
93
  "cancel_task",
@@ -110,9 +109,9 @@
110
109
  "create_response",
111
110
  "create_seedance_material_asset",
112
111
  "create_seedance_material_asset_group",
113
- "create_seedance_visual_validation_session",
114
112
  "create_speech",
115
113
  "create_video",
114
+ "create_visual_validate_session",
116
115
  "create_volc_compatible_seedance_task",
117
116
  "create_world",
118
117
  "delete_anthropic_message_batch",
@@ -138,6 +137,7 @@
138
137
  "get_seedance_material_asset_group",
139
138
  "get_task_status",
140
139
  "get_video_task",
140
+ "get_visual_validate_result",
141
141
  "get_volc_compatible_seedance_task",
142
142
  "get_world",
143
143
  "get_world_media_asset",
@@ -149,7 +149,6 @@
149
149
  "list_models",
150
150
  "list_seedance_material_asset_groups",
151
151
  "list_seedance_material_assets",
152
- "list_seedance_visual_validation_history",
153
152
  "list_volc_compatible_seedance_tasks",
154
153
  "list_worlds",
155
154
  "prepare_world_media_asset_upload",
@@ -6,7 +6,7 @@
6
6
  "openapi": "3.0.3",
7
7
  "title": "TokenLab AI Gateway",
8
8
  "version": "1.0.0",
9
- "sha256": "b97e2566a0ee162a76bf3036e53e124cc7555d0efe51bd38e17894baf7124152"
9
+ "sha256": "ca3a4d2897ad8a71e44194b629170678ce31ee678379617b2a4018fbff9ce900"
10
10
  },
11
11
  "default_profile": "core",
12
12
  "profiles": [
@@ -14,89 +14,8 @@
14
14
  "core",
15
15
  "full"
16
16
  ],
17
- "tool_count": 76,
17
+ "tool_count": 75,
18
18
  "tools": [
19
- {
20
- "name": "bind_seedance_visual_validation_result",
21
- "title": "Bind Seedance real-person verification result",
22
- "operation_id": "bindSeedanceVisualValidationResult",
23
- "method": "POST",
24
- "path": "/v1/videos/assets/visual-validation-results",
25
- "content_type": "application/json",
26
- "auth": "required",
27
- "tags": [
28
- "Video"
29
- ],
30
- "profiles": [
31
- "full"
32
- ],
33
- "description": "Bind Seedance real-person verification result Binds a successful TokenLab real-person verification session to a TokenLab real-person material group. The request must include session_id and verification_token from the TokenLab callback redirect.",
34
- "input_schema": {
35
- "type": "object",
36
- "properties": {
37
- "session_id": {
38
- "type": "string",
39
- "description": "TokenLab real-person verification session ID."
40
- },
41
- "verification_token": {
42
- "type": "string",
43
- "description": "TokenLab opaque token from the TokenLab callback redirect."
44
- },
45
- "group_name": {
46
- "type": "string",
47
- "minLength": 1,
48
- "maxLength": 128,
49
- "description": "Optional TokenLab display name for the bound real-person material group."
50
- },
51
- "description": {
52
- "anyOf": [
53
- {
54
- "type": "string",
55
- "maxLength": 500
56
- },
57
- {
58
- "type": "null"
59
- }
60
- ]
61
- },
62
- "metadata": {
63
- "anyOf": [
64
- {
65
- "type": "object",
66
- "additionalProperties": true
67
- },
68
- {
69
- "type": "null"
70
- }
71
- ]
72
- }
73
- },
74
- "required": [
75
- "session_id",
76
- "verification_token"
77
- ],
78
- "additionalProperties": false
79
- },
80
- "bindings": {
81
- "path": [],
82
- "query": [],
83
- "header": [],
84
- "body": [
85
- "session_id",
86
- "verification_token",
87
- "group_name",
88
- "description",
89
- "metadata"
90
- ],
91
- "files": []
92
- },
93
- "annotations": {
94
- "readOnlyHint": false,
95
- "destructiveHint": false,
96
- "idempotentHint": false,
97
- "openWorldHint": true
98
- }
99
- },
100
19
  {
101
20
  "name": "cancel_anthropic_message_batch",
102
21
  "title": "Cancel message batch (Anthropic-compatible)",
@@ -986,7 +905,7 @@
986
905
  }
987
906
  }
988
907
  },
989
- "additionalProperties": false
908
+ "additionalProperties": true
990
909
  }
991
910
  }
992
911
  },
@@ -3103,7 +3022,7 @@
3103
3022
  "profiles": [
3104
3023
  "full"
3105
3024
  ],
3106
- "description": "Create Seedance material asset Uploads one Seedance material asset URL into a TokenLab material group. Real-person assets require the TokenLab group_id returned by the real-person verification bind flow.",
3025
+ "description": "Create Seedance material asset Uploads one Seedance material asset URL into a TokenLab material group. Real-person assets require the group_id mapped from Result.GroupId returned by GetVisualValidateResult.",
3107
3026
  "input_schema": {
3108
3027
  "type": "object",
3109
3028
  "properties": {
@@ -3193,7 +3112,7 @@
3193
3112
  "profiles": [
3194
3113
  "full"
3195
3114
  ],
3196
- "description": "Create Seedance material asset group Creates a TokenLab Seedance virtual-avatar material group. Real-person material groups are created by the real-person verification bind flow.",
3115
+ "description": "Create Seedance material asset group Creates a TokenLab Seedance virtual-avatar material group. Real-person material groups are created by GetVisualValidateResult after the H5 validation succeeds.",
3197
3116
  "input_schema": {
3198
3117
  "type": "object",
3199
3118
  "properties": {
@@ -3221,7 +3140,7 @@
3221
3140
  "liveness_face"
3222
3141
  ],
3223
3142
  "default": "aigc_avatar",
3224
- "description": "Material library class. Direct creation supports aigc_avatar. Create liveness_face groups through real-person material verification."
3143
+ "description": "Material library class. Direct creation supports aigc_avatar. Create liveness_face groups through CreateVisualValidateSession followed by GetVisualValidateResult."
3225
3144
  },
3226
3145
  "metadata": {
3227
3146
  "anyOf": [
@@ -3256,62 +3175,6 @@
3256
3175
  "openWorldHint": true
3257
3176
  }
3258
3177
  },
3259
- {
3260
- "name": "create_seedance_visual_validation_session",
3261
- "title": "Create Seedance real-person verification session",
3262
- "operation_id": "createSeedanceVisualValidationSession",
3263
- "method": "POST",
3264
- "path": "/v1/videos/assets/visual-validation-sessions",
3265
- "content_type": "application/json",
3266
- "auth": "required",
3267
- "tags": [
3268
- "Video"
3269
- ],
3270
- "profiles": [
3271
- "full"
3272
- ],
3273
- "description": "Create Seedance real-person verification session Creates a TokenLab real-person material verification H5 session. The response contains only TokenLab session fields. The session and H5 link are valid for 120 seconds; the binding token is delivered through the TokenLab callback redirect after the H5 flow completes.",
3274
- "input_schema": {
3275
- "type": "object",
3276
- "properties": {
3277
- "callback_url": {
3278
- "type": "string",
3279
- "format": "uri",
3280
- "description": "Public HTTPS URL that TokenLab redirects to after the H5 verification flow. TokenLab appends session_id, verification_token, verification_status, and result_code."
3281
- },
3282
- "language": {
3283
- "type": "string",
3284
- "enum": [
3285
- "zh",
3286
- "en",
3287
- "zh-Hant"
3288
- ],
3289
- "default": "zh",
3290
- "description": "Language parameter appended to the returned H5 link."
3291
- }
3292
- },
3293
- "required": [
3294
- "callback_url"
3295
- ],
3296
- "additionalProperties": false
3297
- },
3298
- "bindings": {
3299
- "path": [],
3300
- "query": [],
3301
- "header": [],
3302
- "body": [
3303
- "callback_url",
3304
- "language"
3305
- ],
3306
- "files": []
3307
- },
3308
- "annotations": {
3309
- "readOnlyHint": false,
3310
- "destructiveHint": false,
3311
- "idempotentHint": false,
3312
- "openWorldHint": true
3313
- }
3314
- },
3315
3178
  {
3316
3179
  "name": "create_speech",
3317
3180
  "title": "Create speech",
@@ -3623,7 +3486,7 @@
3623
3486
  },
3624
3487
  "material_asset_id": {
3625
3488
  "type": "string",
3626
- "description": "TokenLab Seedance material asset ID returned by /v1/videos/assets, by automatic image preparation, or by a real-person verification bind flow. Use it after the asset is ACTIVE with Seedance models that can use the TokenLab material library. The asset must belong to the current account. This field is a generic reference input; to assign first-frame, last-frame, or reference-image semantics explicitly, put asset://<material_asset_id> in start_image, end_image, or reference_images."
3489
+ "description": "TokenLab Seedance material asset ID returned by /v1/videos/assets, by automatic image preparation, or from a real-person group returned by GetVisualValidateResult. Use it after the asset is ACTIVE with Seedance models that can use the TokenLab material library. The asset must belong to the current account. This field is a generic reference input; to assign first-frame, last-frame, or reference-image semantics explicitly, put asset://<material_asset_id> in start_image, end_image, or reference_images."
3627
3490
  },
3628
3491
  "material_asset_ids": {
3629
3492
  "type": "array",
@@ -3850,6 +3713,64 @@
3850
3713
  ]
3851
3714
  }
3852
3715
  },
3716
+ {
3717
+ "name": "create_visual_validate_session",
3718
+ "title": "Create visual validation session",
3719
+ "operation_id": "dispatchVolcCompatibleSeedanceActionPost",
3720
+ "method": "POST",
3721
+ "path": "/api/v3",
3722
+ "content_type": "application/json",
3723
+ "auth": "required",
3724
+ "tags": [
3725
+ "Seedance Volc Compatible"
3726
+ ],
3727
+ "profiles": [
3728
+ "full"
3729
+ ],
3730
+ "description": "Create a real-person visual validation session through the Volc-compatible Action API. Returns the official ResponseMetadata and Result shape with BytedToken, H5Link, and CallbackURL.",
3731
+ "input_schema": {
3732
+ "type": "object",
3733
+ "properties": {
3734
+ "CallbackURL": {
3735
+ "type": "string",
3736
+ "format": "uri",
3737
+ "description": "Public HTTPS URL opened by the H5 flow after validation. Official callback query names are preserved."
3738
+ },
3739
+ "ProjectName": {
3740
+ "type": "string",
3741
+ "default": "default",
3742
+ "description": "Case-sensitive project name. Omit to use default."
3743
+ }
3744
+ },
3745
+ "required": [
3746
+ "CallbackURL"
3747
+ ],
3748
+ "additionalProperties": false
3749
+ },
3750
+ "bindings": {
3751
+ "path": [],
3752
+ "query": [
3753
+ "Action",
3754
+ "Version"
3755
+ ],
3756
+ "header": [],
3757
+ "body": [
3758
+ "CallbackURL",
3759
+ "ProjectName"
3760
+ ],
3761
+ "files": []
3762
+ },
3763
+ "default_arguments": {
3764
+ "Action": "CreateVisualValidateSession",
3765
+ "Version": "2024-01-01"
3766
+ },
3767
+ "annotations": {
3768
+ "readOnlyHint": false,
3769
+ "destructiveHint": false,
3770
+ "idempotentHint": false,
3771
+ "openWorldHint": true
3772
+ }
3773
+ },
3853
3774
  {
3854
3775
  "name": "create_volc_compatible_seedance_task",
3855
3776
  "title": "Create Seedance task (Volc-compatible)",
@@ -4383,6 +4304,10 @@
4383
4304
  "file_id": {
4384
4305
  "type": "string",
4385
4306
  "description": "File ID returned by the Files API."
4307
+ },
4308
+ "anthropic-beta": {
4309
+ "type": "string",
4310
+ "description": "Include files-api-2025-04-14 to use Anthropic Files API mode."
4386
4311
  }
4387
4312
  },
4388
4313
  "required": [
@@ -4395,7 +4320,9 @@
4395
4320
  "file_id"
4396
4321
  ],
4397
4322
  "query": [],
4398
- "header": [],
4323
+ "header": [
4324
+ "anthropic-beta"
4325
+ ],
4399
4326
  "body": [],
4400
4327
  "files": []
4401
4328
  },
@@ -4692,7 +4619,7 @@
4692
4619
  "profiles": [
4693
4620
  "full"
4694
4621
  ],
4695
- "description": "Seedance Action dispatcher (POST) Dispatches Volc-style Action requests. The Action and Version fields may be in the query string or JSON body.",
4622
+ "description": "Seedance Action dispatcher (POST) Dispatches Volc-style Action requests with TokenLab Bearer authentication. Real-person validation uses CreateVisualValidateSession and GetVisualValidateResult with Version=2024-01-01; these actions are POST-only.",
4696
4623
  "input_schema": {
4697
4624
  "type": "object",
4698
4625
  "properties": {
@@ -4702,12 +4629,59 @@
4702
4629
  "CreateContentsGenerationsTasks",
4703
4630
  "GetContentsGenerationsTask",
4704
4631
  "ListContentsGenerationsTasks",
4705
- "DeleteContentsGenerationsTasks"
4632
+ "DeleteContentsGenerationsTasks",
4633
+ "CreateVisualValidateSession",
4634
+ "GetVisualValidateResult"
4706
4635
  ]
4707
4636
  },
4708
4637
  "Version": {
4709
4638
  "type": "string",
4710
4639
  "default": "2024-01-01"
4640
+ },
4641
+ "body": {
4642
+ "anyOf": [
4643
+ {
4644
+ "type": "object",
4645
+ "required": [
4646
+ "CallbackURL"
4647
+ ],
4648
+ "properties": {
4649
+ "CallbackURL": {
4650
+ "type": "string",
4651
+ "format": "uri",
4652
+ "description": "Public HTTPS URL opened by the H5 flow after validation. Official callback query names are preserved."
4653
+ },
4654
+ "ProjectName": {
4655
+ "type": "string",
4656
+ "default": "default",
4657
+ "description": "Case-sensitive project name. Omit to use default."
4658
+ }
4659
+ },
4660
+ "additionalProperties": false
4661
+ },
4662
+ {
4663
+ "type": "object",
4664
+ "required": [
4665
+ "BytedToken"
4666
+ ],
4667
+ "properties": {
4668
+ "BytedToken": {
4669
+ "type": "string",
4670
+ "description": "Opaque token returned by CreateVisualValidateSession. It is valid for 30 minutes and scoped to the authenticated organization, actor, and ProjectName."
4671
+ },
4672
+ "ProjectName": {
4673
+ "type": "string",
4674
+ "default": "default",
4675
+ "description": "Must match the ProjectName used to create the token."
4676
+ }
4677
+ },
4678
+ "additionalProperties": false
4679
+ },
4680
+ {
4681
+ "type": "object",
4682
+ "additionalProperties": true
4683
+ }
4684
+ ]
4711
4685
  }
4712
4686
  },
4713
4687
  "additionalProperties": false
@@ -4719,7 +4693,9 @@
4719
4693
  "Version"
4720
4694
  ],
4721
4695
  "header": [],
4722
- "body": [],
4696
+ "body": [
4697
+ "body"
4698
+ ],
4723
4699
  "files": []
4724
4700
  },
4725
4701
  "annotations": {
@@ -5639,6 +5615,63 @@
5639
5615
  "openWorldHint": true
5640
5616
  }
5641
5617
  },
5618
+ {
5619
+ "name": "get_visual_validate_result",
5620
+ "title": "Get visual validation result",
5621
+ "operation_id": "dispatchVolcCompatibleSeedanceActionPost",
5622
+ "method": "POST",
5623
+ "path": "/api/v3",
5624
+ "content_type": "application/json",
5625
+ "auth": "required",
5626
+ "tags": [
5627
+ "Seedance Volc Compatible"
5628
+ ],
5629
+ "profiles": [
5630
+ "full"
5631
+ ],
5632
+ "description": "Get the mapped real-person material GroupId through the Volc-compatible Action API after the H5 validation succeeds. The operation returns the official ResponseMetadata and Result shape.",
5633
+ "input_schema": {
5634
+ "type": "object",
5635
+ "properties": {
5636
+ "BytedToken": {
5637
+ "type": "string",
5638
+ "description": "Opaque token returned by CreateVisualValidateSession. It is valid for 30 minutes and scoped to the authenticated organization, actor, and ProjectName."
5639
+ },
5640
+ "ProjectName": {
5641
+ "type": "string",
5642
+ "default": "default",
5643
+ "description": "Must match the ProjectName used to create the token."
5644
+ }
5645
+ },
5646
+ "required": [
5647
+ "BytedToken"
5648
+ ],
5649
+ "additionalProperties": false
5650
+ },
5651
+ "bindings": {
5652
+ "path": [],
5653
+ "query": [
5654
+ "Action",
5655
+ "Version"
5656
+ ],
5657
+ "header": [],
5658
+ "body": [
5659
+ "BytedToken",
5660
+ "ProjectName"
5661
+ ],
5662
+ "files": []
5663
+ },
5664
+ "default_arguments": {
5665
+ "Action": "GetVisualValidateResult",
5666
+ "Version": "2024-01-01"
5667
+ },
5668
+ "annotations": {
5669
+ "readOnlyHint": false,
5670
+ "destructiveHint": false,
5671
+ "idempotentHint": true,
5672
+ "openWorldHint": true
5673
+ }
5674
+ },
5642
5675
  {
5643
5676
  "name": "get_volc_compatible_seedance_task",
5644
5677
  "title": "Get Seedance task (Volc-compatible)",
@@ -5861,7 +5894,8 @@
5861
5894
  "limit": {
5862
5895
  "type": "integer",
5863
5896
  "minimum": 1,
5864
- "maximum": 100,
5897
+ "maximum": 1000,
5898
+ "default": 20,
5865
5899
  "description": "Maximum number of batches to return"
5866
5900
  }
5867
5901
  },
@@ -5953,11 +5987,24 @@
5953
5987
  "limit": {
5954
5988
  "type": "integer",
5955
5989
  "minimum": 1,
5956
- "maximum": 100
5990
+ "maximum": 1000,
5991
+ "default": 20
5957
5992
  },
5958
5993
  "after": {
5959
5994
  "type": "string"
5960
5995
  },
5996
+ "after_id": {
5997
+ "type": "string",
5998
+ "description": "Anthropic Files cursor. Return files after this public file id. Requires the Anthropic Files beta header and cannot be combined with before_id."
5999
+ },
6000
+ "before_id": {
6001
+ "type": "string",
6002
+ "description": "Anthropic Files cursor. Return files before this public file id. Requires the Anthropic Files beta header and cannot be combined with after_id."
6003
+ },
6004
+ "scope_id": {
6005
+ "type": "string",
6006
+ "description": "Reserved Anthropic Files scope cursor. TokenLab currently returns an explicit unsupported error rather than silently ignoring this value."
6007
+ },
5961
6008
  "purpose": {
5962
6009
  "type": "string",
5963
6010
  "enum": [
@@ -5967,6 +6014,10 @@
5967
6014
  "vision"
5968
6015
  ],
5969
6016
  "description": "Optional file purpose filter. batch and batch_output cover Batch API files; user_data and vision cover TokenLab image/reference file bindings. Anthropic Files API mode is selected by Anthropic headers rather than this query parameter."
6017
+ },
6018
+ "anthropic-beta": {
6019
+ "type": "string",
6020
+ "description": "Include files-api-2025-04-14 to use Anthropic Files API mode."
5970
6021
  }
5971
6022
  },
5972
6023
  "additionalProperties": false
@@ -5976,9 +6027,14 @@
5976
6027
  "query": [
5977
6028
  "limit",
5978
6029
  "after",
6030
+ "after_id",
6031
+ "before_id",
6032
+ "scope_id",
5979
6033
  "purpose"
5980
6034
  ],
5981
- "header": [],
6035
+ "header": [
6036
+ "anthropic-beta"
6037
+ ],
5982
6038
  "body": [],
5983
6039
  "files": []
5984
6040
  },
@@ -6144,7 +6200,7 @@
6144
6200
  "profiles": [
6145
6201
  "full"
6146
6202
  ],
6147
- "description": "List Seedance material asset groups Lists Seedance material groups owned by the authenticated organization. Real-person groups are returned after a successful verification bind flow.",
6203
+ "description": "List Seedance material asset groups Lists Seedance material groups owned by the authenticated organization. Real-person groups are returned after GetVisualValidateResult succeeds.",
6148
6204
  "input_schema": {
6149
6205
  "type": "object",
6150
6206
  "properties": {
@@ -6265,55 +6321,6 @@
6265
6321
  "openWorldHint": true
6266
6322
  }
6267
6323
  },
6268
- {
6269
- "name": "list_seedance_visual_validation_history",
6270
- "title": "List Seedance real-person verification history",
6271
- "operation_id": "listSeedanceVisualValidationHistory",
6272
- "method": "GET",
6273
- "path": "/v1/videos/assets/visual-validation-sessions",
6274
- "content_type": null,
6275
- "auth": "required",
6276
- "tags": [
6277
- "Video"
6278
- ],
6279
- "profiles": [
6280
- "full"
6281
- ],
6282
- "description": "List Seedance real-person verification history Lists TokenLab real-person material verification history for the authenticated organization. The response contains only TokenLab IDs and session status fields.",
6283
- "input_schema": {
6284
- "type": "object",
6285
- "properties": {
6286
- "page_size": {
6287
- "type": "integer",
6288
- "minimum": 1,
6289
- "maximum": 100,
6290
- "default": 20,
6291
- "description": "Maximum number of history records to return."
6292
- },
6293
- "page_token": {
6294
- "type": "string",
6295
- "description": "Pagination token from a previous response."
6296
- }
6297
- },
6298
- "additionalProperties": false
6299
- },
6300
- "bindings": {
6301
- "path": [],
6302
- "query": [
6303
- "page_size",
6304
- "page_token"
6305
- ],
6306
- "header": [],
6307
- "body": [],
6308
- "files": []
6309
- },
6310
- "annotations": {
6311
- "readOnlyHint": true,
6312
- "destructiveHint": false,
6313
- "idempotentHint": true,
6314
- "openWorldHint": true
6315
- }
6316
- },
6317
6324
  {
6318
6325
  "name": "list_volc_compatible_seedance_tasks",
6319
6326
  "title": "List Seedance tasks (Volc-compatible)",
@@ -6850,6 +6857,10 @@
6850
6857
  "properties": {
6851
6858
  "file_id": {
6852
6859
  "type": "string"
6860
+ },
6861
+ "anthropic-beta": {
6862
+ "type": "string",
6863
+ "description": "Include files-api-2025-04-14 to use Anthropic Files API mode."
6853
6864
  }
6854
6865
  },
6855
6866
  "required": [
@@ -6862,7 +6873,9 @@
6862
6873
  "file_id"
6863
6874
  ],
6864
6875
  "query": [],
6865
- "header": [],
6876
+ "header": [
6877
+ "anthropic-beta"
6878
+ ],
6866
6879
  "body": [],
6867
6880
  "files": []
6868
6881
  },
@@ -7361,10 +7374,14 @@
7361
7374
  "core",
7362
7375
  "full"
7363
7376
  ],
7364
- "description": "Upload file Uploads a JSONL batch input file or an image input file that can be referenced by file_id in supported image edit requests.",
7377
+ "description": "Upload file Uploads a TokenLab/OpenAI-compatible batch or image file. With anthropic-beta: files-api-2025-04-14, uploads an Anthropic Files resource without a purpose field and returns Anthropic file metadata.",
7365
7378
  "input_schema": {
7366
7379
  "type": "object",
7367
7380
  "properties": {
7381
+ "anthropic-beta": {
7382
+ "type": "string",
7383
+ "description": "Include files-api-2025-04-14 to use Anthropic Files API mode."
7384
+ },
7368
7385
  "file": {
7369
7386
  "type": "string",
7370
7387
  "description": "Pass local file path."
@@ -7376,7 +7393,7 @@
7376
7393
  "user_data",
7377
7394
  "vision"
7378
7395
  ],
7379
- "description": "Use batch for Batch API JSONL files. Use user_data or vision for image files that will be referenced from image edits."
7396
+ "description": "Required in TokenLab/OpenAI-compatible mode: use batch for Batch API JSONL files, or user_data/vision for image edits. Omit in Anthropic Files mode."
7380
7397
  },
7381
7398
  "model": {
7382
7399
  "type": "string",
@@ -7384,15 +7401,16 @@
7384
7401
  }
7385
7402
  },
7386
7403
  "required": [
7387
- "file",
7388
- "purpose"
7404
+ "file"
7389
7405
  ],
7390
7406
  "additionalProperties": false
7391
7407
  },
7392
7408
  "bindings": {
7393
7409
  "path": [],
7394
7410
  "query": [],
7395
- "header": [],
7411
+ "header": [
7412
+ "anthropic-beta"
7413
+ ],
7396
7414
  "body": [
7397
7415
  "file",
7398
7416
  "purpose",