@tokenlabai/mcp-server 0.6.21 → 0.6.24
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 +16 -8
- package/contract/mcp-overlay.json +213 -34
- package/contract/openapi.json +2172 -588
- package/generated/public-contract.json +25 -11
- package/generated/tools.json +717 -12
- package/llms-install.md +1 -1
- package/package.json +2 -2
- package/scripts/generate-contract.mjs +9 -1
- package/src/index.js +15 -3
- package/src/tool-schema.js +2 -2
package/generated/tools.json
CHANGED
|
@@ -6,7 +6,7 @@
|
|
|
6
6
|
"openapi": "3.1.0",
|
|
7
7
|
"title": "TokenLab AI Gateway",
|
|
8
8
|
"version": "1.0.0",
|
|
9
|
-
"sha256": "
|
|
9
|
+
"sha256": "d97424b25ac07384916c65e9ac3369e595f53fe9d7dea1eaa3a6cf6be4305a6d"
|
|
10
10
|
},
|
|
11
11
|
"default_profile": "core",
|
|
12
12
|
"profiles": [
|
|
@@ -27,7 +27,7 @@
|
|
|
27
27
|
"core": {
|
|
28
28
|
"schema_mode": "portable",
|
|
29
29
|
"compatibility_budget": {
|
|
30
|
-
"max_endpoint_tools":
|
|
30
|
+
"max_endpoint_tools": 30,
|
|
31
31
|
"max_input_schema_bytes": 48000,
|
|
32
32
|
"max_input_schema_depth": 8,
|
|
33
33
|
"max_tools_list_bytes": 60000
|
|
@@ -36,31 +36,31 @@
|
|
|
36
36
|
"full": {
|
|
37
37
|
"schema_mode": "portable",
|
|
38
38
|
"compatibility_budget": {
|
|
39
|
-
"max_endpoint_tools":
|
|
40
|
-
"max_input_schema_bytes":
|
|
39
|
+
"max_endpoint_tools": 87,
|
|
40
|
+
"max_input_schema_bytes": 78000,
|
|
41
41
|
"max_input_schema_depth": 8,
|
|
42
|
-
"max_tools_list_bytes":
|
|
42
|
+
"max_tools_list_bytes": 115000
|
|
43
43
|
}
|
|
44
44
|
}
|
|
45
45
|
},
|
|
46
46
|
"profile_metrics": {
|
|
47
47
|
"catalog": {
|
|
48
48
|
"endpoint_tools": 4,
|
|
49
|
-
"input_schema_bytes":
|
|
49
|
+
"input_schema_bytes": 1564,
|
|
50
50
|
"max_input_schema_depth": 4
|
|
51
51
|
},
|
|
52
52
|
"core": {
|
|
53
|
-
"endpoint_tools":
|
|
54
|
-
"input_schema_bytes":
|
|
53
|
+
"endpoint_tools": 30,
|
|
54
|
+
"input_schema_bytes": 43790,
|
|
55
55
|
"max_input_schema_depth": 8
|
|
56
56
|
},
|
|
57
57
|
"full": {
|
|
58
|
-
"endpoint_tools":
|
|
59
|
-
"input_schema_bytes":
|
|
58
|
+
"endpoint_tools": 87,
|
|
59
|
+
"input_schema_bytes": 72210,
|
|
60
60
|
"max_input_schema_depth": 8
|
|
61
61
|
}
|
|
62
62
|
},
|
|
63
|
-
"tool_count":
|
|
63
|
+
"tool_count": 87,
|
|
64
64
|
"tools": [
|
|
65
65
|
{
|
|
66
66
|
"name": "cancel_anthropic_message_batch",
|
|
@@ -4371,6 +4371,73 @@
|
|
|
4371
4371
|
"openWorldHint": true
|
|
4372
4372
|
}
|
|
4373
4373
|
},
|
|
4374
|
+
{
|
|
4375
|
+
"name": "create_webhook",
|
|
4376
|
+
"title": "Create webhook endpoint",
|
|
4377
|
+
"operation_id": "createWebhook",
|
|
4378
|
+
"method": "POST",
|
|
4379
|
+
"path": "/v1/management/webhooks",
|
|
4380
|
+
"content_type": "application/json",
|
|
4381
|
+
"auth": "management",
|
|
4382
|
+
"tags": [
|
|
4383
|
+
"Webhooks"
|
|
4384
|
+
],
|
|
4385
|
+
"profiles": [
|
|
4386
|
+
"full"
|
|
4387
|
+
],
|
|
4388
|
+
"description": "Create a workspace webhook; save the returned signing secret. Requires TOKENLAB_MANAGEMENT_TOKEN (mt-...) for the workspace; sk-... keys are not accepted.",
|
|
4389
|
+
"input_schema": {
|
|
4390
|
+
"$schema": "http://json-schema.org/draft-07/schema#",
|
|
4391
|
+
"type": "object",
|
|
4392
|
+
"properties": {
|
|
4393
|
+
"url": {
|
|
4394
|
+
"type": "string",
|
|
4395
|
+
"format": "uri",
|
|
4396
|
+
"description": "Public HTTPS receiver URL. Credentials, query strings, fragments, private or reserved network targets and redirects are rejected."
|
|
4397
|
+
},
|
|
4398
|
+
"events": {
|
|
4399
|
+
"type": "array",
|
|
4400
|
+
"minItems": 1,
|
|
4401
|
+
"maxItems": 10,
|
|
4402
|
+
"items": {
|
|
4403
|
+
"type": "string",
|
|
4404
|
+
"enum": [
|
|
4405
|
+
"task.completed",
|
|
4406
|
+
"task.failed",
|
|
4407
|
+
"task.timeout"
|
|
4408
|
+
]
|
|
4409
|
+
},
|
|
4410
|
+
"description": "Supported event subscriptions; duplicates are removed."
|
|
4411
|
+
},
|
|
4412
|
+
"description": {
|
|
4413
|
+
"type": "string",
|
|
4414
|
+
"maxLength": 200
|
|
4415
|
+
}
|
|
4416
|
+
},
|
|
4417
|
+
"required": [
|
|
4418
|
+
"url",
|
|
4419
|
+
"events"
|
|
4420
|
+
],
|
|
4421
|
+
"additionalProperties": false
|
|
4422
|
+
},
|
|
4423
|
+
"bindings": {
|
|
4424
|
+
"path": [],
|
|
4425
|
+
"query": [],
|
|
4426
|
+
"header": [],
|
|
4427
|
+
"body": [
|
|
4428
|
+
"url",
|
|
4429
|
+
"events",
|
|
4430
|
+
"description"
|
|
4431
|
+
],
|
|
4432
|
+
"files": []
|
|
4433
|
+
},
|
|
4434
|
+
"annotations": {
|
|
4435
|
+
"readOnlyHint": false,
|
|
4436
|
+
"destructiveHint": false,
|
|
4437
|
+
"idempotentHint": false,
|
|
4438
|
+
"openWorldHint": true
|
|
4439
|
+
}
|
|
4440
|
+
},
|
|
4374
4441
|
{
|
|
4375
4442
|
"name": "create_world",
|
|
4376
4443
|
"title": "Create world generation task",
|
|
@@ -4848,6 +4915,52 @@
|
|
|
4848
4915
|
"openWorldHint": true
|
|
4849
4916
|
}
|
|
4850
4917
|
},
|
|
4918
|
+
{
|
|
4919
|
+
"name": "delete_webhook",
|
|
4920
|
+
"title": "Delete webhook endpoint",
|
|
4921
|
+
"operation_id": "deleteWebhook",
|
|
4922
|
+
"method": "DELETE",
|
|
4923
|
+
"path": "/v1/management/webhooks/{webhookId}",
|
|
4924
|
+
"content_type": null,
|
|
4925
|
+
"auth": "management",
|
|
4926
|
+
"tags": [
|
|
4927
|
+
"Webhooks"
|
|
4928
|
+
],
|
|
4929
|
+
"profiles": [
|
|
4930
|
+
"full"
|
|
4931
|
+
],
|
|
4932
|
+
"description": "Delete a webhook and its delivery history. Requires TOKENLAB_MANAGEMENT_TOKEN (mt-...) for the workspace; sk-... keys are not accepted.",
|
|
4933
|
+
"input_schema": {
|
|
4934
|
+
"$schema": "http://json-schema.org/draft-07/schema#",
|
|
4935
|
+
"type": "object",
|
|
4936
|
+
"properties": {
|
|
4937
|
+
"webhookId": {
|
|
4938
|
+
"type": "string",
|
|
4939
|
+
"minLength": 1,
|
|
4940
|
+
"maxLength": 128
|
|
4941
|
+
}
|
|
4942
|
+
},
|
|
4943
|
+
"required": [
|
|
4944
|
+
"webhookId"
|
|
4945
|
+
],
|
|
4946
|
+
"additionalProperties": false
|
|
4947
|
+
},
|
|
4948
|
+
"bindings": {
|
|
4949
|
+
"path": [
|
|
4950
|
+
"webhookId"
|
|
4951
|
+
],
|
|
4952
|
+
"query": [],
|
|
4953
|
+
"header": [],
|
|
4954
|
+
"body": [],
|
|
4955
|
+
"files": []
|
|
4956
|
+
},
|
|
4957
|
+
"annotations": {
|
|
4958
|
+
"readOnlyHint": false,
|
|
4959
|
+
"destructiveHint": true,
|
|
4960
|
+
"idempotentHint": true,
|
|
4961
|
+
"openWorldHint": true
|
|
4962
|
+
}
|
|
4963
|
+
},
|
|
4851
4964
|
{
|
|
4852
4965
|
"name": "delete_world",
|
|
4853
4966
|
"title": "Delete World Labs world",
|
|
@@ -5607,6 +5720,268 @@
|
|
|
5607
5720
|
]
|
|
5608
5721
|
}
|
|
5609
5722
|
},
|
|
5723
|
+
{
|
|
5724
|
+
"name": "evaluate_decisions",
|
|
5725
|
+
"title": "Evaluate decision questions",
|
|
5726
|
+
"operation_id": "createSystemOneDecision",
|
|
5727
|
+
"method": "POST",
|
|
5728
|
+
"path": "/v1/systemone",
|
|
5729
|
+
"content_type": "application/json",
|
|
5730
|
+
"auth": "required",
|
|
5731
|
+
"tags": [
|
|
5732
|
+
"Decisions"
|
|
5733
|
+
],
|
|
5734
|
+
"profiles": [
|
|
5735
|
+
"core",
|
|
5736
|
+
"full"
|
|
5737
|
+
],
|
|
5738
|
+
"description": "Evaluate typed Noul probability, Choice, and Score questions against shared state using the native System One endpoint. Discover a decision model with list_models/get_model first. Returns synchronous structured decisions, not chat text. A decision does not authorize an external action.",
|
|
5739
|
+
"input_schema": {
|
|
5740
|
+
"$schema": "http://json-schema.org/draft-07/schema#",
|
|
5741
|
+
"type": "object",
|
|
5742
|
+
"properties": {
|
|
5743
|
+
"X-TokenLab-Delivery-Policy": {
|
|
5744
|
+
"type": "string",
|
|
5745
|
+
"enum": [
|
|
5746
|
+
"auto",
|
|
5747
|
+
"verified",
|
|
5748
|
+
"official"
|
|
5749
|
+
],
|
|
5750
|
+
"description": "Per-request Delivery policy. Overrides the API key and Workspace defaults. Auto tries TokenLab Verified first and may switch once to Official only before output, upstream acceptance, or persistent resource creation."
|
|
5751
|
+
},
|
|
5752
|
+
"model": {
|
|
5753
|
+
"type": "string",
|
|
5754
|
+
"minLength": 1
|
|
5755
|
+
},
|
|
5756
|
+
"state": {
|
|
5757
|
+
"oneOf": [
|
|
5758
|
+
{
|
|
5759
|
+
"type": "string"
|
|
5760
|
+
},
|
|
5761
|
+
{
|
|
5762
|
+
"type": "object",
|
|
5763
|
+
"additionalProperties": true
|
|
5764
|
+
},
|
|
5765
|
+
{
|
|
5766
|
+
"type": "array",
|
|
5767
|
+
"items": {}
|
|
5768
|
+
}
|
|
5769
|
+
]
|
|
5770
|
+
},
|
|
5771
|
+
"questions": {
|
|
5772
|
+
"type": "object",
|
|
5773
|
+
"minProperties": 1,
|
|
5774
|
+
"additionalProperties": {
|
|
5775
|
+
"oneOf": [
|
|
5776
|
+
{
|
|
5777
|
+
"type": "object",
|
|
5778
|
+
"required": [
|
|
5779
|
+
"type",
|
|
5780
|
+
"instructions"
|
|
5781
|
+
],
|
|
5782
|
+
"properties": {
|
|
5783
|
+
"type": {
|
|
5784
|
+
"type": "string",
|
|
5785
|
+
"enum": [
|
|
5786
|
+
"noul"
|
|
5787
|
+
]
|
|
5788
|
+
},
|
|
5789
|
+
"instructions": {
|
|
5790
|
+
"oneOf": [
|
|
5791
|
+
{
|
|
5792
|
+
"type": "string"
|
|
5793
|
+
},
|
|
5794
|
+
{
|
|
5795
|
+
"type": "object",
|
|
5796
|
+
"additionalProperties": true
|
|
5797
|
+
},
|
|
5798
|
+
{
|
|
5799
|
+
"type": "array",
|
|
5800
|
+
"items": {}
|
|
5801
|
+
}
|
|
5802
|
+
]
|
|
5803
|
+
},
|
|
5804
|
+
"criteria": {
|
|
5805
|
+
"type": "object",
|
|
5806
|
+
"properties": {
|
|
5807
|
+
"true": {
|
|
5808
|
+
"oneOf": [
|
|
5809
|
+
{
|
|
5810
|
+
"type": "string"
|
|
5811
|
+
},
|
|
5812
|
+
{
|
|
5813
|
+
"type": "object",
|
|
5814
|
+
"additionalProperties": true
|
|
5815
|
+
},
|
|
5816
|
+
{
|
|
5817
|
+
"type": "array",
|
|
5818
|
+
"items": {}
|
|
5819
|
+
}
|
|
5820
|
+
]
|
|
5821
|
+
},
|
|
5822
|
+
"false": {
|
|
5823
|
+
"oneOf": [
|
|
5824
|
+
{
|
|
5825
|
+
"type": "string"
|
|
5826
|
+
},
|
|
5827
|
+
{
|
|
5828
|
+
"type": "object",
|
|
5829
|
+
"additionalProperties": true
|
|
5830
|
+
},
|
|
5831
|
+
{
|
|
5832
|
+
"type": "array",
|
|
5833
|
+
"items": {}
|
|
5834
|
+
}
|
|
5835
|
+
]
|
|
5836
|
+
}
|
|
5837
|
+
},
|
|
5838
|
+
"required": [
|
|
5839
|
+
"true",
|
|
5840
|
+
"false"
|
|
5841
|
+
],
|
|
5842
|
+
"additionalProperties": false
|
|
5843
|
+
}
|
|
5844
|
+
},
|
|
5845
|
+
"additionalProperties": false
|
|
5846
|
+
},
|
|
5847
|
+
{
|
|
5848
|
+
"type": "object",
|
|
5849
|
+
"required": [
|
|
5850
|
+
"type",
|
|
5851
|
+
"instructions",
|
|
5852
|
+
"criteria"
|
|
5853
|
+
],
|
|
5854
|
+
"properties": {
|
|
5855
|
+
"type": {
|
|
5856
|
+
"type": "string",
|
|
5857
|
+
"enum": [
|
|
5858
|
+
"choice"
|
|
5859
|
+
]
|
|
5860
|
+
},
|
|
5861
|
+
"instructions": {
|
|
5862
|
+
"oneOf": [
|
|
5863
|
+
{
|
|
5864
|
+
"type": "string"
|
|
5865
|
+
},
|
|
5866
|
+
{
|
|
5867
|
+
"type": "object",
|
|
5868
|
+
"additionalProperties": true
|
|
5869
|
+
},
|
|
5870
|
+
{
|
|
5871
|
+
"type": "array",
|
|
5872
|
+
"items": {}
|
|
5873
|
+
}
|
|
5874
|
+
]
|
|
5875
|
+
},
|
|
5876
|
+
"criteria": {
|
|
5877
|
+
"type": "object",
|
|
5878
|
+
"minProperties": 1,
|
|
5879
|
+
"maxProperties": 255,
|
|
5880
|
+
"additionalProperties": {
|
|
5881
|
+
"oneOf": [
|
|
5882
|
+
{
|
|
5883
|
+
"type": "string"
|
|
5884
|
+
},
|
|
5885
|
+
{
|
|
5886
|
+
"type": "object",
|
|
5887
|
+
"additionalProperties": true
|
|
5888
|
+
},
|
|
5889
|
+
{
|
|
5890
|
+
"type": "array",
|
|
5891
|
+
"items": {}
|
|
5892
|
+
},
|
|
5893
|
+
{
|
|
5894
|
+
"type": "null"
|
|
5895
|
+
}
|
|
5896
|
+
]
|
|
5897
|
+
}
|
|
5898
|
+
}
|
|
5899
|
+
},
|
|
5900
|
+
"additionalProperties": false
|
|
5901
|
+
},
|
|
5902
|
+
{
|
|
5903
|
+
"type": "object",
|
|
5904
|
+
"required": [
|
|
5905
|
+
"type",
|
|
5906
|
+
"instructions",
|
|
5907
|
+
"criteria"
|
|
5908
|
+
],
|
|
5909
|
+
"properties": {
|
|
5910
|
+
"type": {
|
|
5911
|
+
"type": "string",
|
|
5912
|
+
"enum": [
|
|
5913
|
+
"score"
|
|
5914
|
+
]
|
|
5915
|
+
},
|
|
5916
|
+
"instructions": {
|
|
5917
|
+
"oneOf": [
|
|
5918
|
+
{
|
|
5919
|
+
"type": "string"
|
|
5920
|
+
},
|
|
5921
|
+
{
|
|
5922
|
+
"type": "object",
|
|
5923
|
+
"additionalProperties": true
|
|
5924
|
+
},
|
|
5925
|
+
{
|
|
5926
|
+
"type": "array",
|
|
5927
|
+
"items": {}
|
|
5928
|
+
}
|
|
5929
|
+
]
|
|
5930
|
+
},
|
|
5931
|
+
"criteria": {
|
|
5932
|
+
"type": "array",
|
|
5933
|
+
"minItems": 2,
|
|
5934
|
+
"maxItems": 10,
|
|
5935
|
+
"items": {
|
|
5936
|
+
"oneOf": [
|
|
5937
|
+
{
|
|
5938
|
+
"type": "string"
|
|
5939
|
+
},
|
|
5940
|
+
{
|
|
5941
|
+
"type": "object",
|
|
5942
|
+
"additionalProperties": true
|
|
5943
|
+
},
|
|
5944
|
+
{
|
|
5945
|
+
"type": "array",
|
|
5946
|
+
"items": {}
|
|
5947
|
+
}
|
|
5948
|
+
]
|
|
5949
|
+
}
|
|
5950
|
+
}
|
|
5951
|
+
},
|
|
5952
|
+
"additionalProperties": false
|
|
5953
|
+
}
|
|
5954
|
+
]
|
|
5955
|
+
}
|
|
5956
|
+
}
|
|
5957
|
+
},
|
|
5958
|
+
"required": [
|
|
5959
|
+
"model",
|
|
5960
|
+
"state",
|
|
5961
|
+
"questions"
|
|
5962
|
+
],
|
|
5963
|
+
"additionalProperties": false
|
|
5964
|
+
},
|
|
5965
|
+
"bindings": {
|
|
5966
|
+
"path": [],
|
|
5967
|
+
"query": [],
|
|
5968
|
+
"header": [
|
|
5969
|
+
"X-TokenLab-Delivery-Policy"
|
|
5970
|
+
],
|
|
5971
|
+
"body": [
|
|
5972
|
+
"model",
|
|
5973
|
+
"state",
|
|
5974
|
+
"questions"
|
|
5975
|
+
],
|
|
5976
|
+
"files": []
|
|
5977
|
+
},
|
|
5978
|
+
"annotations": {
|
|
5979
|
+
"readOnlyHint": false,
|
|
5980
|
+
"destructiveHint": false,
|
|
5981
|
+
"idempotentHint": false,
|
|
5982
|
+
"openWorldHint": true
|
|
5983
|
+
}
|
|
5984
|
+
},
|
|
5610
5985
|
{
|
|
5611
5986
|
"name": "gemini_batch_embed_contents",
|
|
5612
5987
|
"title": "Batch embed contents (Gemini-compatible)",
|
|
@@ -6481,6 +6856,52 @@
|
|
|
6481
6856
|
"openWorldHint": true
|
|
6482
6857
|
}
|
|
6483
6858
|
},
|
|
6859
|
+
{
|
|
6860
|
+
"name": "get_webhook",
|
|
6861
|
+
"title": "Retrieve webhook endpoint",
|
|
6862
|
+
"operation_id": "getWebhook",
|
|
6863
|
+
"method": "GET",
|
|
6864
|
+
"path": "/v1/management/webhooks/{webhookId}",
|
|
6865
|
+
"content_type": null,
|
|
6866
|
+
"auth": "management",
|
|
6867
|
+
"tags": [
|
|
6868
|
+
"Webhooks"
|
|
6869
|
+
],
|
|
6870
|
+
"profiles": [
|
|
6871
|
+
"full"
|
|
6872
|
+
],
|
|
6873
|
+
"description": "Read a webhook without revealing its secret. Requires TOKENLAB_MANAGEMENT_TOKEN (mt-...) for the workspace; sk-... keys are not accepted.",
|
|
6874
|
+
"input_schema": {
|
|
6875
|
+
"$schema": "http://json-schema.org/draft-07/schema#",
|
|
6876
|
+
"type": "object",
|
|
6877
|
+
"properties": {
|
|
6878
|
+
"webhookId": {
|
|
6879
|
+
"type": "string",
|
|
6880
|
+
"minLength": 1,
|
|
6881
|
+
"maxLength": 128
|
|
6882
|
+
}
|
|
6883
|
+
},
|
|
6884
|
+
"required": [
|
|
6885
|
+
"webhookId"
|
|
6886
|
+
],
|
|
6887
|
+
"additionalProperties": false
|
|
6888
|
+
},
|
|
6889
|
+
"bindings": {
|
|
6890
|
+
"path": [
|
|
6891
|
+
"webhookId"
|
|
6892
|
+
],
|
|
6893
|
+
"query": [],
|
|
6894
|
+
"header": [],
|
|
6895
|
+
"body": [],
|
|
6896
|
+
"files": []
|
|
6897
|
+
},
|
|
6898
|
+
"annotations": {
|
|
6899
|
+
"readOnlyHint": true,
|
|
6900
|
+
"destructiveHint": false,
|
|
6901
|
+
"idempotentHint": true,
|
|
6902
|
+
"openWorldHint": true
|
|
6903
|
+
}
|
|
6904
|
+
},
|
|
6484
6905
|
{
|
|
6485
6906
|
"name": "get_world",
|
|
6486
6907
|
"title": "Get World Labs world",
|
|
@@ -6905,7 +7326,8 @@
|
|
|
6905
7326
|
"stt",
|
|
6906
7327
|
"rerank",
|
|
6907
7328
|
"3d",
|
|
6908
|
-
"music"
|
|
7329
|
+
"music",
|
|
7330
|
+
"decision"
|
|
6909
7331
|
],
|
|
6910
7332
|
"description": "Filter by model category."
|
|
6911
7333
|
},
|
|
@@ -7196,6 +7618,116 @@
|
|
|
7196
7618
|
"openWorldHint": true
|
|
7197
7619
|
}
|
|
7198
7620
|
},
|
|
7621
|
+
{
|
|
7622
|
+
"name": "list_webhook_deliveries",
|
|
7623
|
+
"title": "List webhook deliveries",
|
|
7624
|
+
"operation_id": "listWebhookDeliveries",
|
|
7625
|
+
"method": "GET",
|
|
7626
|
+
"path": "/v1/management/webhooks/{webhookId}/deliveries",
|
|
7627
|
+
"content_type": null,
|
|
7628
|
+
"auth": "management",
|
|
7629
|
+
"tags": [
|
|
7630
|
+
"Webhooks"
|
|
7631
|
+
],
|
|
7632
|
+
"profiles": [
|
|
7633
|
+
"full"
|
|
7634
|
+
],
|
|
7635
|
+
"description": "List delivery outcomes, HTTP statuses and cumulative attempts. Requires TOKENLAB_MANAGEMENT_TOKEN (mt-...) for the workspace; sk-... keys are not accepted.",
|
|
7636
|
+
"input_schema": {
|
|
7637
|
+
"$schema": "http://json-schema.org/draft-07/schema#",
|
|
7638
|
+
"type": "object",
|
|
7639
|
+
"properties": {
|
|
7640
|
+
"webhookId": {
|
|
7641
|
+
"type": "string",
|
|
7642
|
+
"minLength": 1,
|
|
7643
|
+
"maxLength": 128
|
|
7644
|
+
},
|
|
7645
|
+
"page": {
|
|
7646
|
+
"type": "integer",
|
|
7647
|
+
"minimum": 1,
|
|
7648
|
+
"default": 1
|
|
7649
|
+
},
|
|
7650
|
+
"limit": {
|
|
7651
|
+
"type": "integer",
|
|
7652
|
+
"minimum": 1,
|
|
7653
|
+
"maximum": 100,
|
|
7654
|
+
"default": 50
|
|
7655
|
+
}
|
|
7656
|
+
},
|
|
7657
|
+
"required": [
|
|
7658
|
+
"webhookId"
|
|
7659
|
+
],
|
|
7660
|
+
"additionalProperties": false
|
|
7661
|
+
},
|
|
7662
|
+
"bindings": {
|
|
7663
|
+
"path": [
|
|
7664
|
+
"webhookId"
|
|
7665
|
+
],
|
|
7666
|
+
"query": [
|
|
7667
|
+
"page",
|
|
7668
|
+
"limit"
|
|
7669
|
+
],
|
|
7670
|
+
"header": [],
|
|
7671
|
+
"body": [],
|
|
7672
|
+
"files": []
|
|
7673
|
+
},
|
|
7674
|
+
"annotations": {
|
|
7675
|
+
"readOnlyHint": true,
|
|
7676
|
+
"destructiveHint": false,
|
|
7677
|
+
"idempotentHint": true,
|
|
7678
|
+
"openWorldHint": true
|
|
7679
|
+
}
|
|
7680
|
+
},
|
|
7681
|
+
{
|
|
7682
|
+
"name": "list_webhooks",
|
|
7683
|
+
"title": "List webhook endpoints",
|
|
7684
|
+
"operation_id": "listWebhooks",
|
|
7685
|
+
"method": "GET",
|
|
7686
|
+
"path": "/v1/management/webhooks",
|
|
7687
|
+
"content_type": null,
|
|
7688
|
+
"auth": "management",
|
|
7689
|
+
"tags": [
|
|
7690
|
+
"Webhooks"
|
|
7691
|
+
],
|
|
7692
|
+
"profiles": [
|
|
7693
|
+
"full"
|
|
7694
|
+
],
|
|
7695
|
+
"description": "List workspace webhooks. Requires TOKENLAB_MANAGEMENT_TOKEN (mt-...) for the workspace; sk-... keys are not accepted.",
|
|
7696
|
+
"input_schema": {
|
|
7697
|
+
"$schema": "http://json-schema.org/draft-07/schema#",
|
|
7698
|
+
"type": "object",
|
|
7699
|
+
"properties": {
|
|
7700
|
+
"page": {
|
|
7701
|
+
"type": "integer",
|
|
7702
|
+
"minimum": 1,
|
|
7703
|
+
"default": 1
|
|
7704
|
+
},
|
|
7705
|
+
"limit": {
|
|
7706
|
+
"type": "integer",
|
|
7707
|
+
"minimum": 1,
|
|
7708
|
+
"maximum": 100,
|
|
7709
|
+
"default": 50
|
|
7710
|
+
}
|
|
7711
|
+
},
|
|
7712
|
+
"additionalProperties": false
|
|
7713
|
+
},
|
|
7714
|
+
"bindings": {
|
|
7715
|
+
"path": [],
|
|
7716
|
+
"query": [
|
|
7717
|
+
"page",
|
|
7718
|
+
"limit"
|
|
7719
|
+
],
|
|
7720
|
+
"header": [],
|
|
7721
|
+
"body": [],
|
|
7722
|
+
"files": []
|
|
7723
|
+
},
|
|
7724
|
+
"annotations": {
|
|
7725
|
+
"readOnlyHint": true,
|
|
7726
|
+
"destructiveHint": false,
|
|
7727
|
+
"idempotentHint": true,
|
|
7728
|
+
"openWorldHint": true
|
|
7729
|
+
}
|
|
7730
|
+
},
|
|
7199
7731
|
{
|
|
7200
7732
|
"name": "list_worlds",
|
|
7201
7733
|
"title": "List World Labs worlds",
|
|
@@ -7777,6 +8309,98 @@
|
|
|
7777
8309
|
"openWorldHint": true
|
|
7778
8310
|
}
|
|
7779
8311
|
},
|
|
8312
|
+
{
|
|
8313
|
+
"name": "rotate_webhook_secret",
|
|
8314
|
+
"title": "Rotate webhook signing secret",
|
|
8315
|
+
"operation_id": "rotateWebhookSecret",
|
|
8316
|
+
"method": "POST",
|
|
8317
|
+
"path": "/v1/management/webhooks/{webhookId}/rotate-secret",
|
|
8318
|
+
"content_type": null,
|
|
8319
|
+
"auth": "management",
|
|
8320
|
+
"tags": [
|
|
8321
|
+
"Webhooks"
|
|
8322
|
+
],
|
|
8323
|
+
"profiles": [
|
|
8324
|
+
"full"
|
|
8325
|
+
],
|
|
8326
|
+
"description": "Replace the signing secret and return the new secret once. In-flight deliveries may use the previous secret. Requires TOKENLAB_MANAGEMENT_TOKEN (mt-...) for the workspace; sk-... keys are not accepted.",
|
|
8327
|
+
"input_schema": {
|
|
8328
|
+
"$schema": "http://json-schema.org/draft-07/schema#",
|
|
8329
|
+
"type": "object",
|
|
8330
|
+
"properties": {
|
|
8331
|
+
"webhookId": {
|
|
8332
|
+
"type": "string",
|
|
8333
|
+
"minLength": 1,
|
|
8334
|
+
"maxLength": 128
|
|
8335
|
+
}
|
|
8336
|
+
},
|
|
8337
|
+
"required": [
|
|
8338
|
+
"webhookId"
|
|
8339
|
+
],
|
|
8340
|
+
"additionalProperties": false
|
|
8341
|
+
},
|
|
8342
|
+
"bindings": {
|
|
8343
|
+
"path": [
|
|
8344
|
+
"webhookId"
|
|
8345
|
+
],
|
|
8346
|
+
"query": [],
|
|
8347
|
+
"header": [],
|
|
8348
|
+
"body": [],
|
|
8349
|
+
"files": []
|
|
8350
|
+
},
|
|
8351
|
+
"annotations": {
|
|
8352
|
+
"readOnlyHint": false,
|
|
8353
|
+
"destructiveHint": true,
|
|
8354
|
+
"idempotentHint": false,
|
|
8355
|
+
"openWorldHint": true
|
|
8356
|
+
}
|
|
8357
|
+
},
|
|
8358
|
+
{
|
|
8359
|
+
"name": "test_webhook",
|
|
8360
|
+
"title": "Send a test webhook",
|
|
8361
|
+
"operation_id": "testWebhook",
|
|
8362
|
+
"method": "POST",
|
|
8363
|
+
"path": "/v1/management/webhooks/{webhookId}/test",
|
|
8364
|
+
"content_type": null,
|
|
8365
|
+
"auth": "management",
|
|
8366
|
+
"tags": [
|
|
8367
|
+
"Webhooks"
|
|
8368
|
+
],
|
|
8369
|
+
"profiles": [
|
|
8370
|
+
"full"
|
|
8371
|
+
],
|
|
8372
|
+
"description": "Send webhook.test; inspect outcome to confirm receipt. Requires TOKENLAB_MANAGEMENT_TOKEN (mt-...) for the workspace; sk-... keys are not accepted.",
|
|
8373
|
+
"input_schema": {
|
|
8374
|
+
"$schema": "http://json-schema.org/draft-07/schema#",
|
|
8375
|
+
"type": "object",
|
|
8376
|
+
"properties": {
|
|
8377
|
+
"webhookId": {
|
|
8378
|
+
"type": "string",
|
|
8379
|
+
"minLength": 1,
|
|
8380
|
+
"maxLength": 128
|
|
8381
|
+
}
|
|
8382
|
+
},
|
|
8383
|
+
"required": [
|
|
8384
|
+
"webhookId"
|
|
8385
|
+
],
|
|
8386
|
+
"additionalProperties": false
|
|
8387
|
+
},
|
|
8388
|
+
"bindings": {
|
|
8389
|
+
"path": [
|
|
8390
|
+
"webhookId"
|
|
8391
|
+
],
|
|
8392
|
+
"query": [],
|
|
8393
|
+
"header": [],
|
|
8394
|
+
"body": [],
|
|
8395
|
+
"files": []
|
|
8396
|
+
},
|
|
8397
|
+
"annotations": {
|
|
8398
|
+
"readOnlyHint": false,
|
|
8399
|
+
"destructiveHint": false,
|
|
8400
|
+
"idempotentHint": false,
|
|
8401
|
+
"openWorldHint": true
|
|
8402
|
+
}
|
|
8403
|
+
},
|
|
7780
8404
|
{
|
|
7781
8405
|
"name": "transcribe_audio",
|
|
7782
8406
|
"title": "Create transcription",
|
|
@@ -8202,6 +8826,87 @@
|
|
|
8202
8826
|
"openWorldHint": true
|
|
8203
8827
|
}
|
|
8204
8828
|
},
|
|
8829
|
+
{
|
|
8830
|
+
"name": "update_webhook",
|
|
8831
|
+
"title": "Update webhook endpoint",
|
|
8832
|
+
"operation_id": "updateWebhook",
|
|
8833
|
+
"method": "PATCH",
|
|
8834
|
+
"path": "/v1/management/webhooks/{webhookId}",
|
|
8835
|
+
"content_type": "application/json",
|
|
8836
|
+
"auth": "management",
|
|
8837
|
+
"tags": [
|
|
8838
|
+
"Webhooks"
|
|
8839
|
+
],
|
|
8840
|
+
"profiles": [
|
|
8841
|
+
"full"
|
|
8842
|
+
],
|
|
8843
|
+
"description": "Update URL, events, description or active state. Resuming resets failures. Requires TOKENLAB_MANAGEMENT_TOKEN (mt-...) for the workspace; sk-... keys are not accepted.",
|
|
8844
|
+
"input_schema": {
|
|
8845
|
+
"$schema": "http://json-schema.org/draft-07/schema#",
|
|
8846
|
+
"type": "object",
|
|
8847
|
+
"properties": {
|
|
8848
|
+
"webhookId": {
|
|
8849
|
+
"type": "string",
|
|
8850
|
+
"minLength": 1,
|
|
8851
|
+
"maxLength": 128
|
|
8852
|
+
},
|
|
8853
|
+
"url": {
|
|
8854
|
+
"type": "string",
|
|
8855
|
+
"format": "uri",
|
|
8856
|
+
"description": "Public HTTPS receiver URL. Credentials, query strings, fragments, private or reserved network targets and redirects are rejected."
|
|
8857
|
+
},
|
|
8858
|
+
"events": {
|
|
8859
|
+
"type": "array",
|
|
8860
|
+
"minItems": 1,
|
|
8861
|
+
"maxItems": 10,
|
|
8862
|
+
"items": {
|
|
8863
|
+
"type": "string",
|
|
8864
|
+
"enum": [
|
|
8865
|
+
"task.completed",
|
|
8866
|
+
"task.failed",
|
|
8867
|
+
"task.timeout"
|
|
8868
|
+
]
|
|
8869
|
+
},
|
|
8870
|
+
"description": "Supported event subscriptions; duplicates are removed."
|
|
8871
|
+
},
|
|
8872
|
+
"description": {
|
|
8873
|
+
"type": [
|
|
8874
|
+
"string",
|
|
8875
|
+
"null"
|
|
8876
|
+
],
|
|
8877
|
+
"maxLength": 200
|
|
8878
|
+
},
|
|
8879
|
+
"is_active": {
|
|
8880
|
+
"type": "boolean",
|
|
8881
|
+
"description": "Resume or pause delivery. Resuming resets the consecutive failure count."
|
|
8882
|
+
}
|
|
8883
|
+
},
|
|
8884
|
+
"required": [
|
|
8885
|
+
"webhookId"
|
|
8886
|
+
],
|
|
8887
|
+
"additionalProperties": false
|
|
8888
|
+
},
|
|
8889
|
+
"bindings": {
|
|
8890
|
+
"path": [
|
|
8891
|
+
"webhookId"
|
|
8892
|
+
],
|
|
8893
|
+
"query": [],
|
|
8894
|
+
"header": [],
|
|
8895
|
+
"body": [
|
|
8896
|
+
"url",
|
|
8897
|
+
"events",
|
|
8898
|
+
"description",
|
|
8899
|
+
"is_active"
|
|
8900
|
+
],
|
|
8901
|
+
"files": []
|
|
8902
|
+
},
|
|
8903
|
+
"annotations": {
|
|
8904
|
+
"readOnlyHint": false,
|
|
8905
|
+
"destructiveHint": false,
|
|
8906
|
+
"idempotentHint": false,
|
|
8907
|
+
"openWorldHint": true
|
|
8908
|
+
}
|
|
8909
|
+
},
|
|
8205
8910
|
{
|
|
8206
8911
|
"name": "upload_file",
|
|
8207
8912
|
"title": "Upload file",
|