@tokenlabai/mcp-server 0.6.8 → 0.6.10
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.
- package/README.md +2 -2
- package/contract/openapi.json +575 -17
- package/generated/public-contract.json +3 -3
- package/generated/tools.json +265 -20
- package/package.json +1 -1
|
@@ -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.
|
|
8
|
+
"version": "0.6.10",
|
|
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": "
|
|
29
|
-
"tool_manifest_sha256": "
|
|
28
|
+
"sha256": "40661266d5b182d7a9f829ae480a1c86d5f141c2b75b25f40ba4bfdf50a42c08",
|
|
29
|
+
"tool_manifest_sha256": "7d609ec553e0ff57721fd45637d720afda1079d8c99ec17c29b13b7d02b39d50"
|
|
30
30
|
},
|
|
31
31
|
"profiles": {
|
|
32
32
|
"catalog": {
|
package/generated/tools.json
CHANGED
|
@@ -6,7 +6,7 @@
|
|
|
6
6
|
"openapi": "3.0.3",
|
|
7
7
|
"title": "TokenLab AI Gateway",
|
|
8
8
|
"version": "1.0.0",
|
|
9
|
-
"sha256": "
|
|
9
|
+
"sha256": "40661266d5b182d7a9f829ae480a1c86d5f141c2b75b25f40ba4bfdf50a42c08"
|
|
10
10
|
},
|
|
11
11
|
"default_profile": "core",
|
|
12
12
|
"profiles": [
|
|
@@ -905,7 +905,7 @@
|
|
|
905
905
|
}
|
|
906
906
|
}
|
|
907
907
|
},
|
|
908
|
-
"additionalProperties":
|
|
908
|
+
"additionalProperties": true
|
|
909
909
|
}
|
|
910
910
|
}
|
|
911
911
|
},
|
|
@@ -3059,6 +3059,13 @@
|
|
|
3059
3059
|
"type": "string",
|
|
3060
3060
|
"description": "TokenLab material group ID. Required for liveness_face materials; optional for aigc_avatar."
|
|
3061
3061
|
},
|
|
3062
|
+
"project_name": {
|
|
3063
|
+
"type": "string",
|
|
3064
|
+
"minLength": 1,
|
|
3065
|
+
"maxLength": 128,
|
|
3066
|
+
"default": "default",
|
|
3067
|
+
"description": "Project scope for the material asset. Assets and groups are isolated by project inside the authenticated organization."
|
|
3068
|
+
},
|
|
3062
3069
|
"metadata": {
|
|
3063
3070
|
"anyOf": [
|
|
3064
3071
|
{
|
|
@@ -3087,6 +3094,7 @@
|
|
|
3087
3094
|
"asset_type",
|
|
3088
3095
|
"library_type",
|
|
3089
3096
|
"group_id",
|
|
3097
|
+
"project_name",
|
|
3090
3098
|
"metadata"
|
|
3091
3099
|
],
|
|
3092
3100
|
"files": []
|
|
@@ -3142,6 +3150,13 @@
|
|
|
3142
3150
|
"default": "aigc_avatar",
|
|
3143
3151
|
"description": "Material library class. Direct creation supports aigc_avatar. Create liveness_face groups through CreateVisualValidateSession followed by GetVisualValidateResult."
|
|
3144
3152
|
},
|
|
3153
|
+
"project_name": {
|
|
3154
|
+
"type": "string",
|
|
3155
|
+
"minLength": 1,
|
|
3156
|
+
"maxLength": 128,
|
|
3157
|
+
"default": "default",
|
|
3158
|
+
"description": "Project scope for the material group."
|
|
3159
|
+
},
|
|
3145
3160
|
"metadata": {
|
|
3146
3161
|
"anyOf": [
|
|
3147
3162
|
{
|
|
@@ -3164,6 +3179,7 @@
|
|
|
3164
3179
|
"group_name",
|
|
3165
3180
|
"description",
|
|
3166
3181
|
"library_type",
|
|
3182
|
+
"project_name",
|
|
3167
3183
|
"metadata"
|
|
3168
3184
|
],
|
|
3169
3185
|
"files": []
|
|
@@ -4304,6 +4320,10 @@
|
|
|
4304
4320
|
"file_id": {
|
|
4305
4321
|
"type": "string",
|
|
4306
4322
|
"description": "File ID returned by the Files API."
|
|
4323
|
+
},
|
|
4324
|
+
"anthropic-beta": {
|
|
4325
|
+
"type": "string",
|
|
4326
|
+
"description": "Include files-api-2025-04-14 to use Anthropic Files API mode."
|
|
4307
4327
|
}
|
|
4308
4328
|
},
|
|
4309
4329
|
"required": [
|
|
@@ -4316,7 +4336,9 @@
|
|
|
4316
4336
|
"file_id"
|
|
4317
4337
|
],
|
|
4318
4338
|
"query": [],
|
|
4319
|
-
"header": [
|
|
4339
|
+
"header": [
|
|
4340
|
+
"anthropic-beta"
|
|
4341
|
+
],
|
|
4320
4342
|
"body": [],
|
|
4321
4343
|
"files": []
|
|
4322
4344
|
},
|
|
@@ -4391,6 +4413,13 @@
|
|
|
4391
4413
|
"properties": {
|
|
4392
4414
|
"assetId": {
|
|
4393
4415
|
"type": "string"
|
|
4416
|
+
},
|
|
4417
|
+
"project_name": {
|
|
4418
|
+
"type": "string",
|
|
4419
|
+
"minLength": 1,
|
|
4420
|
+
"maxLength": 128,
|
|
4421
|
+
"default": "default",
|
|
4422
|
+
"description": "Project scope for the material resource."
|
|
4394
4423
|
}
|
|
4395
4424
|
},
|
|
4396
4425
|
"required": [
|
|
@@ -4402,7 +4431,9 @@
|
|
|
4402
4431
|
"path": [
|
|
4403
4432
|
"assetId"
|
|
4404
4433
|
],
|
|
4405
|
-
"query": [
|
|
4434
|
+
"query": [
|
|
4435
|
+
"project_name"
|
|
4436
|
+
],
|
|
4406
4437
|
"header": [],
|
|
4407
4438
|
"body": [],
|
|
4408
4439
|
"files": []
|
|
@@ -4434,6 +4465,13 @@
|
|
|
4434
4465
|
"properties": {
|
|
4435
4466
|
"groupId": {
|
|
4436
4467
|
"type": "string"
|
|
4468
|
+
},
|
|
4469
|
+
"project_name": {
|
|
4470
|
+
"type": "string",
|
|
4471
|
+
"minLength": 1,
|
|
4472
|
+
"maxLength": 128,
|
|
4473
|
+
"default": "default",
|
|
4474
|
+
"description": "Project scope for the material resource."
|
|
4437
4475
|
}
|
|
4438
4476
|
},
|
|
4439
4477
|
"required": [
|
|
@@ -4445,7 +4483,9 @@
|
|
|
4445
4483
|
"path": [
|
|
4446
4484
|
"groupId"
|
|
4447
4485
|
],
|
|
4448
|
-
"query": [
|
|
4486
|
+
"query": [
|
|
4487
|
+
"project_name"
|
|
4488
|
+
],
|
|
4449
4489
|
"header": [],
|
|
4450
4490
|
"body": [],
|
|
4451
4491
|
"files": []
|
|
@@ -4613,7 +4653,7 @@
|
|
|
4613
4653
|
"profiles": [
|
|
4614
4654
|
"full"
|
|
4615
4655
|
],
|
|
4616
|
-
"description": "Seedance Action dispatcher (POST) Dispatches Volc-style Action requests with TokenLab Bearer authentication. Real-person validation
|
|
4656
|
+
"description": "Seedance Action dispatcher (POST) Dispatches Volc-style Action requests with TokenLab Bearer authentication. Real-person validation and material asset Actions use Version=2024-01-01 and are POST-only. The same POST contract is also available at the API root for endpoint-only migration from Volcengine.",
|
|
4617
4657
|
"input_schema": {
|
|
4618
4658
|
"type": "object",
|
|
4619
4659
|
"properties": {
|
|
@@ -4625,7 +4665,17 @@
|
|
|
4625
4665
|
"ListContentsGenerationsTasks",
|
|
4626
4666
|
"DeleteContentsGenerationsTasks",
|
|
4627
4667
|
"CreateVisualValidateSession",
|
|
4628
|
-
"GetVisualValidateResult"
|
|
4668
|
+
"GetVisualValidateResult",
|
|
4669
|
+
"CreateAssetGroup",
|
|
4670
|
+
"ListAssetGroups",
|
|
4671
|
+
"GetAssetGroup",
|
|
4672
|
+
"UpdateAssetGroup",
|
|
4673
|
+
"DeleteAssetGroup",
|
|
4674
|
+
"CreateAsset",
|
|
4675
|
+
"ListAssets",
|
|
4676
|
+
"GetAsset",
|
|
4677
|
+
"UpdateAsset",
|
|
4678
|
+
"DeleteAsset"
|
|
4629
4679
|
]
|
|
4630
4680
|
},
|
|
4631
4681
|
"Version": {
|
|
@@ -4671,6 +4721,119 @@
|
|
|
4671
4721
|
},
|
|
4672
4722
|
"additionalProperties": false
|
|
4673
4723
|
},
|
|
4724
|
+
{
|
|
4725
|
+
"type": "object",
|
|
4726
|
+
"description": "PascalCase request body for the material Action selected by the Action query parameter. Required fields depend on the selected Action.",
|
|
4727
|
+
"properties": {
|
|
4728
|
+
"Id": {
|
|
4729
|
+
"type": "string",
|
|
4730
|
+
"description": "Asset or Asset Group identifier for get, update, and delete Actions."
|
|
4731
|
+
},
|
|
4732
|
+
"Name": {
|
|
4733
|
+
"type": "string",
|
|
4734
|
+
"minLength": 1,
|
|
4735
|
+
"maxLength": 64
|
|
4736
|
+
},
|
|
4737
|
+
"Description": {
|
|
4738
|
+
"type": "string",
|
|
4739
|
+
"maxLength": 300
|
|
4740
|
+
},
|
|
4741
|
+
"GroupType": {
|
|
4742
|
+
"type": "string",
|
|
4743
|
+
"enum": [
|
|
4744
|
+
"AIGC",
|
|
4745
|
+
"LivenessFace"
|
|
4746
|
+
]
|
|
4747
|
+
},
|
|
4748
|
+
"GroupId": {
|
|
4749
|
+
"type": "string"
|
|
4750
|
+
},
|
|
4751
|
+
"URL": {
|
|
4752
|
+
"type": "string",
|
|
4753
|
+
"format": "uri"
|
|
4754
|
+
},
|
|
4755
|
+
"AssetType": {
|
|
4756
|
+
"type": "string",
|
|
4757
|
+
"enum": [
|
|
4758
|
+
"Image",
|
|
4759
|
+
"Video",
|
|
4760
|
+
"Audio"
|
|
4761
|
+
]
|
|
4762
|
+
},
|
|
4763
|
+
"Filter": {
|
|
4764
|
+
"type": "object",
|
|
4765
|
+
"properties": {
|
|
4766
|
+
"GroupIds": {
|
|
4767
|
+
"type": "array",
|
|
4768
|
+
"maxItems": 100,
|
|
4769
|
+
"items": {
|
|
4770
|
+
"type": "string"
|
|
4771
|
+
}
|
|
4772
|
+
},
|
|
4773
|
+
"GroupType": {
|
|
4774
|
+
"type": "string",
|
|
4775
|
+
"enum": [
|
|
4776
|
+
"AIGC",
|
|
4777
|
+
"LivenessFace"
|
|
4778
|
+
]
|
|
4779
|
+
},
|
|
4780
|
+
"Statuses": {
|
|
4781
|
+
"type": "array",
|
|
4782
|
+
"items": {
|
|
4783
|
+
"type": "string",
|
|
4784
|
+
"enum": [
|
|
4785
|
+
"Active",
|
|
4786
|
+
"Processing",
|
|
4787
|
+
"Failed"
|
|
4788
|
+
]
|
|
4789
|
+
}
|
|
4790
|
+
},
|
|
4791
|
+
"Name": {
|
|
4792
|
+
"type": "string",
|
|
4793
|
+
"minLength": 1,
|
|
4794
|
+
"maxLength": 64
|
|
4795
|
+
}
|
|
4796
|
+
},
|
|
4797
|
+
"additionalProperties": false
|
|
4798
|
+
},
|
|
4799
|
+
"PageNumber": {
|
|
4800
|
+
"type": "integer",
|
|
4801
|
+
"minimum": 1,
|
|
4802
|
+
"default": 1
|
|
4803
|
+
},
|
|
4804
|
+
"PageSize": {
|
|
4805
|
+
"type": "integer",
|
|
4806
|
+
"minimum": 1,
|
|
4807
|
+
"maximum": 100,
|
|
4808
|
+
"default": 10
|
|
4809
|
+
},
|
|
4810
|
+
"SortBy": {
|
|
4811
|
+
"type": "string",
|
|
4812
|
+
"enum": [
|
|
4813
|
+
"CreateTime",
|
|
4814
|
+
"UpdateTime",
|
|
4815
|
+
"GroupId"
|
|
4816
|
+
],
|
|
4817
|
+
"default": "CreateTime"
|
|
4818
|
+
},
|
|
4819
|
+
"SortOrder": {
|
|
4820
|
+
"type": "string",
|
|
4821
|
+
"enum": [
|
|
4822
|
+
"Desc",
|
|
4823
|
+
"Asc"
|
|
4824
|
+
],
|
|
4825
|
+
"default": "Desc"
|
|
4826
|
+
},
|
|
4827
|
+
"ProjectName": {
|
|
4828
|
+
"type": "string",
|
|
4829
|
+
"minLength": 1,
|
|
4830
|
+
"maxLength": 128,
|
|
4831
|
+
"default": "default",
|
|
4832
|
+
"description": "Project isolation scope within the authenticated organization."
|
|
4833
|
+
}
|
|
4834
|
+
},
|
|
4835
|
+
"additionalProperties": false
|
|
4836
|
+
},
|
|
4674
4837
|
{
|
|
4675
4838
|
"type": "object",
|
|
4676
4839
|
"additionalProperties": true
|
|
@@ -5437,6 +5600,13 @@
|
|
|
5437
5600
|
"properties": {
|
|
5438
5601
|
"assetId": {
|
|
5439
5602
|
"type": "string"
|
|
5603
|
+
},
|
|
5604
|
+
"project_name": {
|
|
5605
|
+
"type": "string",
|
|
5606
|
+
"minLength": 1,
|
|
5607
|
+
"maxLength": 128,
|
|
5608
|
+
"default": "default",
|
|
5609
|
+
"description": "Project scope for the material resource."
|
|
5440
5610
|
}
|
|
5441
5611
|
},
|
|
5442
5612
|
"required": [
|
|
@@ -5448,7 +5618,9 @@
|
|
|
5448
5618
|
"path": [
|
|
5449
5619
|
"assetId"
|
|
5450
5620
|
],
|
|
5451
|
-
"query": [
|
|
5621
|
+
"query": [
|
|
5622
|
+
"project_name"
|
|
5623
|
+
],
|
|
5452
5624
|
"header": [],
|
|
5453
5625
|
"body": [],
|
|
5454
5626
|
"files": []
|
|
@@ -5480,6 +5652,13 @@
|
|
|
5480
5652
|
"properties": {
|
|
5481
5653
|
"groupId": {
|
|
5482
5654
|
"type": "string"
|
|
5655
|
+
},
|
|
5656
|
+
"project_name": {
|
|
5657
|
+
"type": "string",
|
|
5658
|
+
"minLength": 1,
|
|
5659
|
+
"maxLength": 128,
|
|
5660
|
+
"default": "default",
|
|
5661
|
+
"description": "Project scope for the material resource."
|
|
5483
5662
|
}
|
|
5484
5663
|
},
|
|
5485
5664
|
"required": [
|
|
@@ -5491,7 +5670,9 @@
|
|
|
5491
5670
|
"path": [
|
|
5492
5671
|
"groupId"
|
|
5493
5672
|
],
|
|
5494
|
-
"query": [
|
|
5673
|
+
"query": [
|
|
5674
|
+
"project_name"
|
|
5675
|
+
],
|
|
5495
5676
|
"header": [],
|
|
5496
5677
|
"body": [],
|
|
5497
5678
|
"files": []
|
|
@@ -5888,7 +6069,8 @@
|
|
|
5888
6069
|
"limit": {
|
|
5889
6070
|
"type": "integer",
|
|
5890
6071
|
"minimum": 1,
|
|
5891
|
-
"maximum":
|
|
6072
|
+
"maximum": 1000,
|
|
6073
|
+
"default": 20,
|
|
5892
6074
|
"description": "Maximum number of batches to return"
|
|
5893
6075
|
}
|
|
5894
6076
|
},
|
|
@@ -5980,11 +6162,24 @@
|
|
|
5980
6162
|
"limit": {
|
|
5981
6163
|
"type": "integer",
|
|
5982
6164
|
"minimum": 1,
|
|
5983
|
-
"maximum":
|
|
6165
|
+
"maximum": 1000,
|
|
6166
|
+
"default": 20
|
|
5984
6167
|
},
|
|
5985
6168
|
"after": {
|
|
5986
6169
|
"type": "string"
|
|
5987
6170
|
},
|
|
6171
|
+
"after_id": {
|
|
6172
|
+
"type": "string",
|
|
6173
|
+
"description": "Anthropic Files cursor. Return files after this public file id. Requires the Anthropic Files beta header and cannot be combined with before_id."
|
|
6174
|
+
},
|
|
6175
|
+
"before_id": {
|
|
6176
|
+
"type": "string",
|
|
6177
|
+
"description": "Anthropic Files cursor. Return files before this public file id. Requires the Anthropic Files beta header and cannot be combined with after_id."
|
|
6178
|
+
},
|
|
6179
|
+
"scope_id": {
|
|
6180
|
+
"type": "string",
|
|
6181
|
+
"description": "Reserved Anthropic Files scope cursor. TokenLab currently returns an explicit unsupported error rather than silently ignoring this value."
|
|
6182
|
+
},
|
|
5988
6183
|
"purpose": {
|
|
5989
6184
|
"type": "string",
|
|
5990
6185
|
"enum": [
|
|
@@ -5994,6 +6189,10 @@
|
|
|
5994
6189
|
"vision"
|
|
5995
6190
|
],
|
|
5996
6191
|
"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."
|
|
6192
|
+
},
|
|
6193
|
+
"anthropic-beta": {
|
|
6194
|
+
"type": "string",
|
|
6195
|
+
"description": "Include files-api-2025-04-14 to use Anthropic Files API mode."
|
|
5997
6196
|
}
|
|
5998
6197
|
},
|
|
5999
6198
|
"additionalProperties": false
|
|
@@ -6003,9 +6202,14 @@
|
|
|
6003
6202
|
"query": [
|
|
6004
6203
|
"limit",
|
|
6005
6204
|
"after",
|
|
6205
|
+
"after_id",
|
|
6206
|
+
"before_id",
|
|
6207
|
+
"scope_id",
|
|
6006
6208
|
"purpose"
|
|
6007
6209
|
],
|
|
6008
|
-
"header": [
|
|
6210
|
+
"header": [
|
|
6211
|
+
"anthropic-beta"
|
|
6212
|
+
],
|
|
6009
6213
|
"body": [],
|
|
6010
6214
|
"files": []
|
|
6011
6215
|
},
|
|
@@ -6198,6 +6402,13 @@
|
|
|
6198
6402
|
"liveness_face"
|
|
6199
6403
|
],
|
|
6200
6404
|
"description": "Filter by TokenLab material library class."
|
|
6405
|
+
},
|
|
6406
|
+
"project_name": {
|
|
6407
|
+
"type": "string",
|
|
6408
|
+
"minLength": 1,
|
|
6409
|
+
"maxLength": 128,
|
|
6410
|
+
"default": "default",
|
|
6411
|
+
"description": "Project scope for the material resource."
|
|
6201
6412
|
}
|
|
6202
6413
|
},
|
|
6203
6414
|
"additionalProperties": false
|
|
@@ -6208,7 +6419,8 @@
|
|
|
6208
6419
|
"page_size",
|
|
6209
6420
|
"page_token",
|
|
6210
6421
|
"status",
|
|
6211
|
-
"library_type"
|
|
6422
|
+
"library_type",
|
|
6423
|
+
"project_name"
|
|
6212
6424
|
],
|
|
6213
6425
|
"header": [],
|
|
6214
6426
|
"body": [],
|
|
@@ -6268,6 +6480,13 @@
|
|
|
6268
6480
|
"liveness_face"
|
|
6269
6481
|
],
|
|
6270
6482
|
"description": "Filter by material library class."
|
|
6483
|
+
},
|
|
6484
|
+
"project_name": {
|
|
6485
|
+
"type": "string",
|
|
6486
|
+
"minLength": 1,
|
|
6487
|
+
"maxLength": 128,
|
|
6488
|
+
"default": "default",
|
|
6489
|
+
"description": "Project scope for the material resource."
|
|
6271
6490
|
}
|
|
6272
6491
|
},
|
|
6273
6492
|
"additionalProperties": false
|
|
@@ -6279,7 +6498,8 @@
|
|
|
6279
6498
|
"page_token",
|
|
6280
6499
|
"group_id",
|
|
6281
6500
|
"status",
|
|
6282
|
-
"library_type"
|
|
6501
|
+
"library_type",
|
|
6502
|
+
"project_name"
|
|
6283
6503
|
],
|
|
6284
6504
|
"header": [],
|
|
6285
6505
|
"body": [],
|
|
@@ -6828,6 +7048,10 @@
|
|
|
6828
7048
|
"properties": {
|
|
6829
7049
|
"file_id": {
|
|
6830
7050
|
"type": "string"
|
|
7051
|
+
},
|
|
7052
|
+
"anthropic-beta": {
|
|
7053
|
+
"type": "string",
|
|
7054
|
+
"description": "Include files-api-2025-04-14 to use Anthropic Files API mode."
|
|
6831
7055
|
}
|
|
6832
7056
|
},
|
|
6833
7057
|
"required": [
|
|
@@ -6840,7 +7064,9 @@
|
|
|
6840
7064
|
"file_id"
|
|
6841
7065
|
],
|
|
6842
7066
|
"query": [],
|
|
6843
|
-
"header": [
|
|
7067
|
+
"header": [
|
|
7068
|
+
"anthropic-beta"
|
|
7069
|
+
],
|
|
6844
7070
|
"body": [],
|
|
6845
7071
|
"files": []
|
|
6846
7072
|
},
|
|
@@ -7211,6 +7437,12 @@
|
|
|
7211
7437
|
"Audio"
|
|
7212
7438
|
]
|
|
7213
7439
|
},
|
|
7440
|
+
"project_name": {
|
|
7441
|
+
"type": "string",
|
|
7442
|
+
"minLength": 1,
|
|
7443
|
+
"maxLength": 128,
|
|
7444
|
+
"default": "default"
|
|
7445
|
+
},
|
|
7214
7446
|
"metadata": {
|
|
7215
7447
|
"anyOf": [
|
|
7216
7448
|
{
|
|
@@ -7239,6 +7471,7 @@
|
|
|
7239
7471
|
"asset_url",
|
|
7240
7472
|
"asset_name",
|
|
7241
7473
|
"asset_type",
|
|
7474
|
+
"project_name",
|
|
7242
7475
|
"metadata"
|
|
7243
7476
|
],
|
|
7244
7477
|
"files": []
|
|
@@ -7287,6 +7520,12 @@
|
|
|
7287
7520
|
}
|
|
7288
7521
|
]
|
|
7289
7522
|
},
|
|
7523
|
+
"project_name": {
|
|
7524
|
+
"type": "string",
|
|
7525
|
+
"minLength": 1,
|
|
7526
|
+
"maxLength": 128,
|
|
7527
|
+
"default": "default"
|
|
7528
|
+
},
|
|
7290
7529
|
"metadata": {
|
|
7291
7530
|
"anyOf": [
|
|
7292
7531
|
{
|
|
@@ -7313,6 +7552,7 @@
|
|
|
7313
7552
|
"body": [
|
|
7314
7553
|
"group_name",
|
|
7315
7554
|
"description",
|
|
7555
|
+
"project_name",
|
|
7316
7556
|
"metadata"
|
|
7317
7557
|
],
|
|
7318
7558
|
"files": []
|
|
@@ -7339,10 +7579,14 @@
|
|
|
7339
7579
|
"core",
|
|
7340
7580
|
"full"
|
|
7341
7581
|
],
|
|
7342
|
-
"description": "Upload file Uploads a
|
|
7582
|
+
"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.",
|
|
7343
7583
|
"input_schema": {
|
|
7344
7584
|
"type": "object",
|
|
7345
7585
|
"properties": {
|
|
7586
|
+
"anthropic-beta": {
|
|
7587
|
+
"type": "string",
|
|
7588
|
+
"description": "Include files-api-2025-04-14 to use Anthropic Files API mode."
|
|
7589
|
+
},
|
|
7346
7590
|
"file": {
|
|
7347
7591
|
"type": "string",
|
|
7348
7592
|
"description": "Pass local file path."
|
|
@@ -7354,7 +7598,7 @@
|
|
|
7354
7598
|
"user_data",
|
|
7355
7599
|
"vision"
|
|
7356
7600
|
],
|
|
7357
|
-
"description": "
|
|
7601
|
+
"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."
|
|
7358
7602
|
},
|
|
7359
7603
|
"model": {
|
|
7360
7604
|
"type": "string",
|
|
@@ -7362,15 +7606,16 @@
|
|
|
7362
7606
|
}
|
|
7363
7607
|
},
|
|
7364
7608
|
"required": [
|
|
7365
|
-
"file"
|
|
7366
|
-
"purpose"
|
|
7609
|
+
"file"
|
|
7367
7610
|
],
|
|
7368
7611
|
"additionalProperties": false
|
|
7369
7612
|
},
|
|
7370
7613
|
"bindings": {
|
|
7371
7614
|
"path": [],
|
|
7372
7615
|
"query": [],
|
|
7373
|
-
"header": [
|
|
7616
|
+
"header": [
|
|
7617
|
+
"anthropic-beta"
|
|
7618
|
+
],
|
|
7374
7619
|
"body": [
|
|
7375
7620
|
"file",
|
|
7376
7621
|
"purpose",
|
package/package.json
CHANGED