@bodhiapp/ts-client 0.1.23 → 0.1.25
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/dist/openapi-typescript/openapi-schema.d.ts +34 -1428
- package/dist/openapi-typescript/openapi-schema.ts +34 -1428
- package/dist/types/types.gen.d.ts +39 -937
- package/dist/types/types.gen.ts +44 -1037
- package/package.json +1 -1
|
@@ -242,7 +242,7 @@ export interface paths {
|
|
|
242
242
|
patch?: never;
|
|
243
243
|
trace?: never;
|
|
244
244
|
};
|
|
245
|
-
"/bodhi/v1/apps/mcps/{id}/
|
|
245
|
+
"/bodhi/v1/apps/mcps/{id}/mcp": {
|
|
246
246
|
parameters: {
|
|
247
247
|
query?: never;
|
|
248
248
|
header?: never;
|
|
@@ -251,25 +251,11 @@ export interface paths {
|
|
|
251
251
|
};
|
|
252
252
|
get?: never;
|
|
253
253
|
put?: never;
|
|
254
|
-
/**
|
|
255
|
-
|
|
256
|
-
|
|
257
|
-
|
|
258
|
-
|
|
259
|
-
patch?: never;
|
|
260
|
-
trace?: never;
|
|
261
|
-
};
|
|
262
|
-
"/bodhi/v1/apps/mcps/{id}/tools/{tool_name}/execute": {
|
|
263
|
-
parameters: {
|
|
264
|
-
query?: never;
|
|
265
|
-
header?: never;
|
|
266
|
-
path?: never;
|
|
267
|
-
cookie?: never;
|
|
268
|
-
};
|
|
269
|
-
get?: never;
|
|
270
|
-
put?: never;
|
|
271
|
-
/** Execute a tool on an MCP server via external app */
|
|
272
|
-
post: operations["appsExecuteMcpTool"];
|
|
254
|
+
/**
|
|
255
|
+
* Transparent MCP proxy endpoint
|
|
256
|
+
* @description Forwards MCP Streamable HTTP requests (POST/GET/DELETE) to upstream MCP server with auth injection
|
|
257
|
+
*/
|
|
258
|
+
post: operations["mcpProxy"];
|
|
273
259
|
delete?: never;
|
|
274
260
|
options?: never;
|
|
275
261
|
head?: never;
|
|
@@ -296,40 +282,6 @@ export interface paths {
|
|
|
296
282
|
patch?: never;
|
|
297
283
|
trace?: never;
|
|
298
284
|
};
|
|
299
|
-
"/bodhi/v1/apps/toolsets": {
|
|
300
|
-
parameters: {
|
|
301
|
-
query?: never;
|
|
302
|
-
header?: never;
|
|
303
|
-
path?: never;
|
|
304
|
-
cookie?: never;
|
|
305
|
-
};
|
|
306
|
-
/** List toolsets accessible to the authenticated external app */
|
|
307
|
-
get: operations["appsListToolsets"];
|
|
308
|
-
put?: never;
|
|
309
|
-
post?: never;
|
|
310
|
-
delete?: never;
|
|
311
|
-
options?: never;
|
|
312
|
-
head?: never;
|
|
313
|
-
patch?: never;
|
|
314
|
-
trace?: never;
|
|
315
|
-
};
|
|
316
|
-
"/bodhi/v1/apps/toolsets/{id}/tools/{tool_name}/execute": {
|
|
317
|
-
parameters: {
|
|
318
|
-
query?: never;
|
|
319
|
-
header?: never;
|
|
320
|
-
path?: never;
|
|
321
|
-
cookie?: never;
|
|
322
|
-
};
|
|
323
|
-
get?: never;
|
|
324
|
-
put?: never;
|
|
325
|
-
/** Execute a tool on a toolset via external app */
|
|
326
|
-
post: operations["appsExecuteToolsetTool"];
|
|
327
|
-
delete?: never;
|
|
328
|
-
options?: never;
|
|
329
|
-
head?: never;
|
|
330
|
-
patch?: never;
|
|
331
|
-
trace?: never;
|
|
332
|
-
};
|
|
333
285
|
"/bodhi/v1/auth/callback": {
|
|
334
286
|
parameters: {
|
|
335
287
|
query?: never;
|
|
@@ -538,23 +490,6 @@ export interface paths {
|
|
|
538
490
|
patch?: never;
|
|
539
491
|
trace?: never;
|
|
540
492
|
};
|
|
541
|
-
"/bodhi/v1/mcps/fetch-tools": {
|
|
542
|
-
parameters: {
|
|
543
|
-
query?: never;
|
|
544
|
-
header?: never;
|
|
545
|
-
path?: never;
|
|
546
|
-
cookie?: never;
|
|
547
|
-
};
|
|
548
|
-
get?: never;
|
|
549
|
-
put?: never;
|
|
550
|
-
/** Fetch tools from an MCP server without creating an MCP instance */
|
|
551
|
-
post: operations["fetchMcpTools"];
|
|
552
|
-
delete?: never;
|
|
553
|
-
options?: never;
|
|
554
|
-
head?: never;
|
|
555
|
-
patch?: never;
|
|
556
|
-
trace?: never;
|
|
557
|
-
};
|
|
558
493
|
"/bodhi/v1/mcps/oauth-tokens/{token_id}": {
|
|
559
494
|
parameters: {
|
|
560
495
|
query?: never;
|
|
@@ -679,40 +614,6 @@ export interface paths {
|
|
|
679
614
|
patch?: never;
|
|
680
615
|
trace?: never;
|
|
681
616
|
};
|
|
682
|
-
"/bodhi/v1/mcps/{id}/tools/refresh": {
|
|
683
|
-
parameters: {
|
|
684
|
-
query?: never;
|
|
685
|
-
header?: never;
|
|
686
|
-
path?: never;
|
|
687
|
-
cookie?: never;
|
|
688
|
-
};
|
|
689
|
-
get?: never;
|
|
690
|
-
put?: never;
|
|
691
|
-
/** Refresh tools by connecting to the MCP server */
|
|
692
|
-
post: operations["refreshMcpTools"];
|
|
693
|
-
delete?: never;
|
|
694
|
-
options?: never;
|
|
695
|
-
head?: never;
|
|
696
|
-
patch?: never;
|
|
697
|
-
trace?: never;
|
|
698
|
-
};
|
|
699
|
-
"/bodhi/v1/mcps/{id}/tools/{tool_name}/execute": {
|
|
700
|
-
parameters: {
|
|
701
|
-
query?: never;
|
|
702
|
-
header?: never;
|
|
703
|
-
path?: never;
|
|
704
|
-
cookie?: never;
|
|
705
|
-
};
|
|
706
|
-
get?: never;
|
|
707
|
-
put?: never;
|
|
708
|
-
/** Execute a tool on an MCP server */
|
|
709
|
-
post: operations["executeMcpTool"];
|
|
710
|
-
delete?: never;
|
|
711
|
-
options?: never;
|
|
712
|
-
head?: never;
|
|
713
|
-
patch?: never;
|
|
714
|
-
trace?: never;
|
|
715
|
-
};
|
|
716
617
|
"/bodhi/v1/models": {
|
|
717
618
|
parameters: {
|
|
718
619
|
query?: never;
|
|
@@ -1192,95 +1093,6 @@ export interface paths {
|
|
|
1192
1093
|
patch?: never;
|
|
1193
1094
|
trace?: never;
|
|
1194
1095
|
};
|
|
1195
|
-
"/bodhi/v1/toolset_types": {
|
|
1196
|
-
parameters: {
|
|
1197
|
-
query?: never;
|
|
1198
|
-
header?: never;
|
|
1199
|
-
path?: never;
|
|
1200
|
-
cookie?: never;
|
|
1201
|
-
};
|
|
1202
|
-
/** List all available toolset types with their tools */
|
|
1203
|
-
get: operations["listToolsetTypes"];
|
|
1204
|
-
put?: never;
|
|
1205
|
-
post?: never;
|
|
1206
|
-
delete?: never;
|
|
1207
|
-
options?: never;
|
|
1208
|
-
head?: never;
|
|
1209
|
-
patch?: never;
|
|
1210
|
-
trace?: never;
|
|
1211
|
-
};
|
|
1212
|
-
"/bodhi/v1/toolset_types/{toolset_type}/app-config": {
|
|
1213
|
-
parameters: {
|
|
1214
|
-
query?: never;
|
|
1215
|
-
header?: never;
|
|
1216
|
-
path?: never;
|
|
1217
|
-
cookie?: never;
|
|
1218
|
-
};
|
|
1219
|
-
get?: never;
|
|
1220
|
-
/** Enable a toolset type at app level (Admin only) */
|
|
1221
|
-
put: operations["enableToolsetType"];
|
|
1222
|
-
post?: never;
|
|
1223
|
-
/** Disable a toolset type at app level (Admin only) */
|
|
1224
|
-
delete: operations["disableToolsetType"];
|
|
1225
|
-
options?: never;
|
|
1226
|
-
head?: never;
|
|
1227
|
-
patch?: never;
|
|
1228
|
-
trace?: never;
|
|
1229
|
-
};
|
|
1230
|
-
"/bodhi/v1/toolsets": {
|
|
1231
|
-
parameters: {
|
|
1232
|
-
query?: never;
|
|
1233
|
-
header?: never;
|
|
1234
|
-
path?: never;
|
|
1235
|
-
cookie?: never;
|
|
1236
|
-
};
|
|
1237
|
-
/** List all toolsets for the authenticated user */
|
|
1238
|
-
get: operations["listToolsets"];
|
|
1239
|
-
put?: never;
|
|
1240
|
-
/** Create a new toolset */
|
|
1241
|
-
post: operations["createToolset"];
|
|
1242
|
-
delete?: never;
|
|
1243
|
-
options?: never;
|
|
1244
|
-
head?: never;
|
|
1245
|
-
patch?: never;
|
|
1246
|
-
trace?: never;
|
|
1247
|
-
};
|
|
1248
|
-
"/bodhi/v1/toolsets/{id}": {
|
|
1249
|
-
parameters: {
|
|
1250
|
-
query?: never;
|
|
1251
|
-
header?: never;
|
|
1252
|
-
path?: never;
|
|
1253
|
-
cookie?: never;
|
|
1254
|
-
};
|
|
1255
|
-
/** Get a specific toolset by ID */
|
|
1256
|
-
get: operations["getToolset"];
|
|
1257
|
-
/** Update a toolset (full PUT semantics) */
|
|
1258
|
-
put: operations["updateToolset"];
|
|
1259
|
-
post?: never;
|
|
1260
|
-
/** Delete a toolset */
|
|
1261
|
-
delete: operations["deleteToolset"];
|
|
1262
|
-
options?: never;
|
|
1263
|
-
head?: never;
|
|
1264
|
-
patch?: never;
|
|
1265
|
-
trace?: never;
|
|
1266
|
-
};
|
|
1267
|
-
"/bodhi/v1/toolsets/{id}/tools/{tool_name}/execute": {
|
|
1268
|
-
parameters: {
|
|
1269
|
-
query?: never;
|
|
1270
|
-
header?: never;
|
|
1271
|
-
path?: never;
|
|
1272
|
-
cookie?: never;
|
|
1273
|
-
};
|
|
1274
|
-
get?: never;
|
|
1275
|
-
put?: never;
|
|
1276
|
-
/** Execute a tool method on a toolset */
|
|
1277
|
-
post: operations["executeToolsetTool"];
|
|
1278
|
-
delete?: never;
|
|
1279
|
-
options?: never;
|
|
1280
|
-
head?: never;
|
|
1281
|
-
patch?: never;
|
|
1282
|
-
trace?: never;
|
|
1283
|
-
};
|
|
1284
1096
|
"/bodhi/v1/user": {
|
|
1285
1097
|
parameters: {
|
|
1286
1098
|
query?: never;
|
|
@@ -1550,8 +1362,6 @@ export interface components {
|
|
|
1550
1362
|
requested_role: string;
|
|
1551
1363
|
/** @description Resources requested */
|
|
1552
1364
|
requested: components["schemas"]["RequestedResources"];
|
|
1553
|
-
/** @description Tool type information with user instances */
|
|
1554
|
-
tools_info: components["schemas"]["ToolTypeReviewInfo"][];
|
|
1555
1365
|
/** @description MCP server information with user instances */
|
|
1556
1366
|
mcps_info?: components["schemas"]["McpServerReviewInfo"][];
|
|
1557
1367
|
};
|
|
@@ -1637,7 +1447,7 @@ export interface components {
|
|
|
1637
1447
|
};
|
|
1638
1448
|
/** @description Validated API key wrapper - validates length when Some, allows None for public APIs */
|
|
1639
1449
|
ApiKey: string | null;
|
|
1640
|
-
/** @description Represents an API key update operation for API model aliases
|
|
1450
|
+
/** @description Represents an API key update operation for API model aliases. */
|
|
1641
1451
|
ApiKeyUpdate: {
|
|
1642
1452
|
/** @enum {string} */
|
|
1643
1453
|
action: "keep";
|
|
@@ -1722,31 +1532,6 @@ export interface components {
|
|
|
1722
1532
|
* @enum {string}
|
|
1723
1533
|
*/
|
|
1724
1534
|
AppStatus: "setup" | "ready" | "resource_admin";
|
|
1725
|
-
/** @description Application-level toolset configuration */
|
|
1726
|
-
AppToolsetConfig: {
|
|
1727
|
-
/** @description Toolset type identifier (e.g., "builtin-exa-search") */
|
|
1728
|
-
toolset_type: string;
|
|
1729
|
-
/** @description Human-readable name (e.g., "Exa Web Search") */
|
|
1730
|
-
name: string;
|
|
1731
|
-
/** @description Description of the toolset */
|
|
1732
|
-
description: string;
|
|
1733
|
-
/** @description Whether this toolset type is enabled at app level */
|
|
1734
|
-
enabled: boolean;
|
|
1735
|
-
/** @description User who last updated this config */
|
|
1736
|
-
updated_by: string;
|
|
1737
|
-
/**
|
|
1738
|
-
* Format: date-time
|
|
1739
|
-
* @description When this config was created
|
|
1740
|
-
* @example 2024-11-10T04:52:06.786Z
|
|
1741
|
-
*/
|
|
1742
|
-
created_at: string;
|
|
1743
|
-
/**
|
|
1744
|
-
* Format: date-time
|
|
1745
|
-
* @description When this config was last updated
|
|
1746
|
-
* @example 2024-11-10T04:52:06.786Z
|
|
1747
|
-
*/
|
|
1748
|
-
updated_at: string;
|
|
1749
|
-
};
|
|
1750
1535
|
/** @enum {string} */
|
|
1751
1536
|
ApprovalStatus: "approved" | "denied";
|
|
1752
1537
|
/**
|
|
@@ -1762,15 +1547,7 @@ export interface components {
|
|
|
1762
1547
|
* "url": "https://mcp.deepwiki.com/mcp"
|
|
1763
1548
|
* }
|
|
1764
1549
|
* ],
|
|
1765
|
-
* "
|
|
1766
|
-
* {
|
|
1767
|
-
* "instance": {
|
|
1768
|
-
* "id": "instance-uuid"
|
|
1769
|
-
* },
|
|
1770
|
-
* "status": "approved",
|
|
1771
|
-
* "toolset_type": "builtin-exa-search"
|
|
1772
|
-
* }
|
|
1773
|
-
* ]
|
|
1550
|
+
* "version": "1"
|
|
1774
1551
|
* },
|
|
1775
1552
|
* "approved_role": "scope_user_user"
|
|
1776
1553
|
* }
|
|
@@ -1791,8 +1568,13 @@ export interface components {
|
|
|
1791
1568
|
/** @description Role to assign to the user */
|
|
1792
1569
|
role: components["schemas"]["ResourceRole"];
|
|
1793
1570
|
};
|
|
1794
|
-
|
|
1795
|
-
|
|
1571
|
+
/** @description Versioned envelope for approved resources.
|
|
1572
|
+
* The `version` tag is mandatory and must match the corresponding `RequestedResources` version. */
|
|
1573
|
+
ApprovedResources: components["schemas"]["ApprovedResourcesV1"] & {
|
|
1574
|
+
/** @enum {string} */
|
|
1575
|
+
version: "1";
|
|
1576
|
+
};
|
|
1577
|
+
ApprovedResourcesV1: {
|
|
1796
1578
|
mcps?: components["schemas"]["McpApproval"][];
|
|
1797
1579
|
};
|
|
1798
1580
|
/** @example {
|
|
@@ -2244,11 +2026,12 @@ export interface components {
|
|
|
2244
2026
|
* "flow_type": "redirect",
|
|
2245
2027
|
* "redirect_url": "https://myapp.com/callback",
|
|
2246
2028
|
* "requested": {
|
|
2247
|
-
* "
|
|
2029
|
+
* "mcp_servers": [
|
|
2248
2030
|
* {
|
|
2249
|
-
* "
|
|
2031
|
+
* "url": "https://mcp.example.com/mcp"
|
|
2250
2032
|
* }
|
|
2251
|
-
* ]
|
|
2033
|
+
* ],
|
|
2034
|
+
* "version": "1"
|
|
2252
2035
|
* },
|
|
2253
2036
|
* "requested_role": "scope_user_user"
|
|
2254
2037
|
* }
|
|
@@ -2262,7 +2045,8 @@ export interface components {
|
|
|
2262
2045
|
redirect_url?: string | null;
|
|
2263
2046
|
/** @description Role requested for the external app (scope_user_user or scope_user_power_user) */
|
|
2264
2047
|
requested_role: components["schemas"]["UserScope"];
|
|
2265
|
-
requested
|
|
2048
|
+
/** @description Resources requested (tools, etc.) */
|
|
2049
|
+
requested: components["schemas"]["RequestedResources"];
|
|
2266
2050
|
};
|
|
2267
2051
|
/** @example {
|
|
2268
2052
|
* "id": "550e8400-e29b-41d4-a716-446655440000",
|
|
@@ -2716,18 +2500,6 @@ export interface components {
|
|
|
2716
2500
|
[key: string]: string;
|
|
2717
2501
|
} | null;
|
|
2718
2502
|
};
|
|
2719
|
-
/** @description Request to execute a toolset */
|
|
2720
|
-
ExecuteToolsetRequest: {
|
|
2721
|
-
/** @description Function parameters as JSON */
|
|
2722
|
-
params: unknown;
|
|
2723
|
-
};
|
|
2724
|
-
FetchMcpToolsRequest: {
|
|
2725
|
-
mcp_server_id: string;
|
|
2726
|
-
auth?: null | components["schemas"]["McpAuth"];
|
|
2727
|
-
credentials?: components["schemas"]["McpAuthParamInput"][] | null;
|
|
2728
|
-
auth_config_id?: string | null;
|
|
2729
|
-
oauth_token_id?: string | null;
|
|
2730
|
-
};
|
|
2731
2503
|
/**
|
|
2732
2504
|
* @description Request to fetch available models from provider
|
|
2733
2505
|
* @example {
|
|
@@ -2787,15 +2559,6 @@ export interface components {
|
|
|
2787
2559
|
* code before calling your function. */
|
|
2788
2560
|
arguments?: string | null;
|
|
2789
2561
|
};
|
|
2790
|
-
/** @description Function definition within a tool */
|
|
2791
|
-
FunctionDefinition: {
|
|
2792
|
-
/** @description Simple tool name (e.g., "search", "findSimilar"). Frontend composes fully qualified name. */
|
|
2793
|
-
name: string;
|
|
2794
|
-
/** @description Human-readable description for LLM */
|
|
2795
|
-
description: string;
|
|
2796
|
-
/** @description JSON Schema for function parameters */
|
|
2797
|
-
parameters: unknown;
|
|
2798
|
-
};
|
|
2799
2562
|
FunctionName: {
|
|
2800
2563
|
/** @description The name of the function to call. */
|
|
2801
2564
|
name: string;
|
|
@@ -2842,15 +2605,6 @@ export interface components {
|
|
|
2842
2605
|
object: string;
|
|
2843
2606
|
data: components["schemas"]["Model"][];
|
|
2844
2607
|
};
|
|
2845
|
-
/** @description List of toolset types */
|
|
2846
|
-
ListToolsetTypesResponse: {
|
|
2847
|
-
types: components["schemas"]["ToolsetDefinition"][];
|
|
2848
|
-
};
|
|
2849
|
-
/** @description List of toolsets */
|
|
2850
|
-
ListToolsetsResponse: {
|
|
2851
|
-
toolsets: components["schemas"]["ToolsetResponse"][];
|
|
2852
|
-
toolset_types: components["schemas"]["AppToolsetConfig"][];
|
|
2853
|
-
};
|
|
2854
2608
|
/** @description List users query parameters. Intentionally omits sort fields (unlike PaginationSortParams)
|
|
2855
2609
|
* because user listing is fetched from the auth service which handles its own ordering. */
|
|
2856
2610
|
ListUsersParams: {
|
|
@@ -2877,7 +2631,7 @@ export interface components {
|
|
|
2877
2631
|
};
|
|
2878
2632
|
metadata?: null | components["schemas"]["ModelMetadata"];
|
|
2879
2633
|
};
|
|
2880
|
-
/** @description User-owned MCP server instance
|
|
2634
|
+
/** @description User-owned MCP server instance. */
|
|
2881
2635
|
Mcp: {
|
|
2882
2636
|
/** @description Unique instance identifier (UUID) */
|
|
2883
2637
|
id: string;
|
|
@@ -2891,10 +2645,8 @@ export interface components {
|
|
|
2891
2645
|
description?: string | null;
|
|
2892
2646
|
/** @description Whether this instance is enabled */
|
|
2893
2647
|
enabled: boolean;
|
|
2894
|
-
/** @description
|
|
2895
|
-
|
|
2896
|
-
/** @description Whitelisted tool names (empty = block all) */
|
|
2897
|
-
tools_filter?: string[] | null;
|
|
2648
|
+
/** @description MCP proxy endpoint path for this instance */
|
|
2649
|
+
mcp_endpoint: string;
|
|
2898
2650
|
auth_type: components["schemas"]["McpAuthType"];
|
|
2899
2651
|
/** @description Reference to the auth config (mcp_auth_configs.id) */
|
|
2900
2652
|
auth_config_id?: string | null;
|
|
@@ -2916,15 +2668,6 @@ export interface components {
|
|
|
2916
2668
|
status: components["schemas"]["ApprovalStatus"];
|
|
2917
2669
|
instance?: null | components["schemas"]["McpInstance"];
|
|
2918
2670
|
};
|
|
2919
|
-
McpAuth: {
|
|
2920
|
-
/** @enum {string} */
|
|
2921
|
-
type: "public";
|
|
2922
|
-
} | {
|
|
2923
|
-
header_key: string;
|
|
2924
|
-
header_value: string;
|
|
2925
|
-
/** @enum {string} */
|
|
2926
|
-
type: "header";
|
|
2927
|
-
};
|
|
2928
2671
|
McpAuthConfigParam: {
|
|
2929
2672
|
id: string;
|
|
2930
2673
|
param_type: components["schemas"]["McpAuthParamType"];
|
|
@@ -2992,13 +2735,6 @@ export interface components {
|
|
|
2992
2735
|
McpAuthParamType: "header" | "query";
|
|
2993
2736
|
/** @enum {string} */
|
|
2994
2737
|
McpAuthType: "public" | "header" | "oauth";
|
|
2995
|
-
McpExecuteRequest: {
|
|
2996
|
-
params: unknown;
|
|
2997
|
-
};
|
|
2998
|
-
McpExecuteResponse: {
|
|
2999
|
-
result?: unknown;
|
|
3000
|
-
error?: string | null;
|
|
3001
|
-
};
|
|
3002
2738
|
McpInstance: {
|
|
3003
2739
|
id: string;
|
|
3004
2740
|
};
|
|
@@ -3014,10 +2750,6 @@ export interface components {
|
|
|
3014
2750
|
description?: string | null;
|
|
3015
2751
|
/** @description Whether this instance is enabled */
|
|
3016
2752
|
enabled: boolean;
|
|
3017
|
-
/** @description Cached tool schemas from the MCP server (JSON array) */
|
|
3018
|
-
tools_cache?: components["schemas"]["McpTool"][] | null;
|
|
3019
|
-
/** @description Whitelisted tool names */
|
|
3020
|
-
tools_filter?: string[] | null;
|
|
3021
2753
|
/** @description Authentication type */
|
|
3022
2754
|
auth_type?: components["schemas"]["McpAuthType"];
|
|
3023
2755
|
/** @description Reference to auth config */
|
|
@@ -3090,18 +2822,6 @@ export interface components {
|
|
|
3090
2822
|
/** @description User's MCP instances connected to this server URL */
|
|
3091
2823
|
instances: components["schemas"]["Mcp"][];
|
|
3092
2824
|
};
|
|
3093
|
-
/** @description Tool schema cached from an MCP server's tools/list response. */
|
|
3094
|
-
McpTool: {
|
|
3095
|
-
/** @description Tool name as declared by the MCP server */
|
|
3096
|
-
name: string;
|
|
3097
|
-
/** @description Human-readable description of the tool */
|
|
3098
|
-
description?: string | null;
|
|
3099
|
-
/** @description JSON Schema for tool input parameters */
|
|
3100
|
-
input_schema?: unknown;
|
|
3101
|
-
};
|
|
3102
|
-
McpToolsResponse: {
|
|
3103
|
-
tools: components["schemas"]["McpTool"][];
|
|
3104
|
-
};
|
|
3105
2825
|
Message: {
|
|
3106
2826
|
role: string;
|
|
3107
2827
|
content: string;
|
|
@@ -3509,8 +3229,13 @@ export interface components {
|
|
|
3509
3229
|
RequestedMcpServer: {
|
|
3510
3230
|
url: string;
|
|
3511
3231
|
};
|
|
3512
|
-
|
|
3513
|
-
|
|
3232
|
+
/** @description Versioned envelope for requested resources.
|
|
3233
|
+
* The `version` tag is mandatory — clients must specify which version they are using. */
|
|
3234
|
+
RequestedResources: components["schemas"]["RequestedResourcesV1"] & {
|
|
3235
|
+
/** @enum {string} */
|
|
3236
|
+
version: "1";
|
|
3237
|
+
};
|
|
3238
|
+
RequestedResourcesV1: {
|
|
3514
3239
|
mcp_servers?: components["schemas"]["RequestedMcpServer"][];
|
|
3515
3240
|
};
|
|
3516
3241
|
/** @enum {string} */
|
|
@@ -3723,121 +3448,6 @@ export interface components {
|
|
|
3723
3448
|
ToolChoiceAllowedMode: "auto" | "required";
|
|
3724
3449
|
/** @enum {string} */
|
|
3725
3450
|
ToolChoiceOptions: "none" | "auto" | "required";
|
|
3726
|
-
/** @description Tool definition in OpenAI format for LLM function calling.
|
|
3727
|
-
* Tool name follows Claude MCP convention: toolset__{toolset_name}__{tool_name} */
|
|
3728
|
-
ToolDefinition: {
|
|
3729
|
-
/** @description Type of tool (always "function" for now) */
|
|
3730
|
-
type: string;
|
|
3731
|
-
/** @description Function definition details */
|
|
3732
|
-
function: components["schemas"]["FunctionDefinition"];
|
|
3733
|
-
};
|
|
3734
|
-
ToolTypeReviewInfo: {
|
|
3735
|
-
/** @description Tool type identifier */
|
|
3736
|
-
toolset_type: string;
|
|
3737
|
-
/** @description Tool type display name */
|
|
3738
|
-
name: string;
|
|
3739
|
-
/** @description Tool type description */
|
|
3740
|
-
description: string;
|
|
3741
|
-
/** @description User's configured instances of this tool type */
|
|
3742
|
-
instances: components["schemas"]["Toolset"][];
|
|
3743
|
-
};
|
|
3744
|
-
/** @description User-owned toolset instance with UUID identification */
|
|
3745
|
-
Toolset: {
|
|
3746
|
-
/** @description Unique instance identifier (UUID) */
|
|
3747
|
-
id: string;
|
|
3748
|
-
/** @description User-defined slug for this instance */
|
|
3749
|
-
slug: string;
|
|
3750
|
-
/** @description Toolset type identifier (e.g., "builtin-exa-search") */
|
|
3751
|
-
toolset_type: string;
|
|
3752
|
-
/** @description Optional description for this instance */
|
|
3753
|
-
description?: string | null;
|
|
3754
|
-
/** @description Whether this instance is enabled */
|
|
3755
|
-
enabled: boolean;
|
|
3756
|
-
/** @description Whether this instance has an API key configured */
|
|
3757
|
-
has_api_key: boolean;
|
|
3758
|
-
/**
|
|
3759
|
-
* Format: date-time
|
|
3760
|
-
* @description When this instance was created
|
|
3761
|
-
* @example 2024-11-10T04:52:06.786Z
|
|
3762
|
-
*/
|
|
3763
|
-
created_at: string;
|
|
3764
|
-
/**
|
|
3765
|
-
* Format: date-time
|
|
3766
|
-
* @description When this instance was last updated
|
|
3767
|
-
* @example 2024-11-10T04:52:06.786Z
|
|
3768
|
-
*/
|
|
3769
|
-
updated_at: string;
|
|
3770
|
-
};
|
|
3771
|
-
ToolsetApproval: {
|
|
3772
|
-
toolset_type: string;
|
|
3773
|
-
status: components["schemas"]["ApprovalStatus"];
|
|
3774
|
-
instance?: null | components["schemas"]["ToolsetInstance"];
|
|
3775
|
-
};
|
|
3776
|
-
/** @description A toolset is a connector that provides one or more tools.
|
|
3777
|
-
* Example: Exa Web Search toolset provides search, find_similar, get_contents, answer tools. */
|
|
3778
|
-
ToolsetDefinition: {
|
|
3779
|
-
/** @description Toolset type identifier (e.g., "builtin-exa-search") */
|
|
3780
|
-
toolset_type: string;
|
|
3781
|
-
/** @description Human-readable name (e.g., "Exa Web Search") */
|
|
3782
|
-
name: string;
|
|
3783
|
-
/** @description Description of the toolset */
|
|
3784
|
-
description: string;
|
|
3785
|
-
/** @description Tools provided by this toolset (in OpenAI format) */
|
|
3786
|
-
tools: components["schemas"]["ToolDefinition"][];
|
|
3787
|
-
};
|
|
3788
|
-
/** @description Response from toolset tool execution (to send back to LLM) */
|
|
3789
|
-
ToolsetExecutionResponse: {
|
|
3790
|
-
/** @description Successful result (JSON), if any */
|
|
3791
|
-
result?: unknown;
|
|
3792
|
-
/** @description Error message, if execution failed */
|
|
3793
|
-
error?: string | null;
|
|
3794
|
-
};
|
|
3795
|
-
ToolsetInstance: {
|
|
3796
|
-
id: string;
|
|
3797
|
-
};
|
|
3798
|
-
/** @description Input for creating or updating a toolset instance. */
|
|
3799
|
-
ToolsetRequest: {
|
|
3800
|
-
/** @description Toolset type identifier (required for create, ignored for update) */
|
|
3801
|
-
toolset_type?: string | null;
|
|
3802
|
-
/** @description User-defined slug for this instance (1-24 chars, alphanumeric + hyphens) */
|
|
3803
|
-
slug: string;
|
|
3804
|
-
/** @description Optional description for this instance */
|
|
3805
|
-
description?: string | null;
|
|
3806
|
-
/** @description Whether this instance is enabled */
|
|
3807
|
-
enabled?: boolean;
|
|
3808
|
-
/** @description API key update action (Keep or Set) */
|
|
3809
|
-
api_key?: components["schemas"]["ApiKeyUpdate"];
|
|
3810
|
-
};
|
|
3811
|
-
/** @description Toolset response */
|
|
3812
|
-
ToolsetResponse: {
|
|
3813
|
-
/** @description Unique instance identifier (UUID) */
|
|
3814
|
-
id: string;
|
|
3815
|
-
/** @description User-defined slug for this toolset */
|
|
3816
|
-
slug: string;
|
|
3817
|
-
/** @description Toolset type identifier (e.g., "builtin-exa-search") */
|
|
3818
|
-
toolset_type: string;
|
|
3819
|
-
/** @description Optional description for this toolset */
|
|
3820
|
-
description?: string | null;
|
|
3821
|
-
/** @description Whether this toolset is enabled */
|
|
3822
|
-
enabled: boolean;
|
|
3823
|
-
/** @description Whether this toolset has an API key configured */
|
|
3824
|
-
has_api_key: boolean;
|
|
3825
|
-
/** @description Tools provided by this toolset type */
|
|
3826
|
-
tools: components["schemas"]["ToolDefinition"][];
|
|
3827
|
-
/**
|
|
3828
|
-
* Format: date-time
|
|
3829
|
-
* @description When this toolset was created
|
|
3830
|
-
*/
|
|
3831
|
-
created_at: string;
|
|
3832
|
-
/**
|
|
3833
|
-
* Format: date-time
|
|
3834
|
-
* @description When this toolset was last updated
|
|
3835
|
-
*/
|
|
3836
|
-
updated_at: string;
|
|
3837
|
-
};
|
|
3838
|
-
ToolsetTypeRequest: {
|
|
3839
|
-
toolset_type: string;
|
|
3840
|
-
};
|
|
3841
3451
|
TopLogprobs: {
|
|
3842
3452
|
/** @description The token. */
|
|
3843
3453
|
token: string;
|
|
@@ -5063,7 +4673,7 @@ export interface operations {
|
|
|
5063
4673
|
};
|
|
5064
4674
|
};
|
|
5065
4675
|
};
|
|
5066
|
-
|
|
4676
|
+
mcpProxy: {
|
|
5067
4677
|
parameters: {
|
|
5068
4678
|
query?: never;
|
|
5069
4679
|
header?: never;
|
|
@@ -5075,87 +4685,13 @@ export interface operations {
|
|
|
5075
4685
|
};
|
|
5076
4686
|
requestBody?: never;
|
|
5077
4687
|
responses: {
|
|
5078
|
-
/** @description
|
|
4688
|
+
/** @description Upstream response forwarded */
|
|
5079
4689
|
200: {
|
|
5080
|
-
headers: {
|
|
5081
|
-
[name: string]: unknown;
|
|
5082
|
-
};
|
|
5083
|
-
content: {
|
|
5084
|
-
"application/json": components["schemas"]["McpToolsResponse"];
|
|
5085
|
-
};
|
|
5086
|
-
};
|
|
5087
|
-
/** @description Invalid request parameters */
|
|
5088
|
-
400: {
|
|
5089
|
-
headers: {
|
|
5090
|
-
[name: string]: unknown;
|
|
5091
|
-
};
|
|
5092
|
-
content: {
|
|
5093
|
-
"application/json": components["schemas"]["OpenAIApiError"];
|
|
5094
|
-
};
|
|
5095
|
-
};
|
|
5096
|
-
/** @description Not authenticated */
|
|
5097
|
-
401: {
|
|
5098
|
-
headers: {
|
|
5099
|
-
[name: string]: unknown;
|
|
5100
|
-
};
|
|
5101
|
-
content: {
|
|
5102
|
-
"application/json": components["schemas"]["OpenAIApiError"];
|
|
5103
|
-
};
|
|
5104
|
-
};
|
|
5105
|
-
/** @description Insufficient permissions */
|
|
5106
|
-
403: {
|
|
5107
|
-
headers: {
|
|
5108
|
-
[name: string]: unknown;
|
|
5109
|
-
};
|
|
5110
|
-
content: {
|
|
5111
|
-
"application/json": components["schemas"]["OpenAIApiError"];
|
|
5112
|
-
};
|
|
5113
|
-
};
|
|
5114
|
-
/** @description MCP not found */
|
|
5115
|
-
404: {
|
|
5116
4690
|
headers: {
|
|
5117
4691
|
[name: string]: unknown;
|
|
5118
4692
|
};
|
|
5119
4693
|
content?: never;
|
|
5120
4694
|
};
|
|
5121
|
-
/** @description Internal server error */
|
|
5122
|
-
500: {
|
|
5123
|
-
headers: {
|
|
5124
|
-
[name: string]: unknown;
|
|
5125
|
-
};
|
|
5126
|
-
content: {
|
|
5127
|
-
"application/json": components["schemas"]["OpenAIApiError"];
|
|
5128
|
-
};
|
|
5129
|
-
};
|
|
5130
|
-
};
|
|
5131
|
-
};
|
|
5132
|
-
appsExecuteMcpTool: {
|
|
5133
|
-
parameters: {
|
|
5134
|
-
query?: never;
|
|
5135
|
-
header?: never;
|
|
5136
|
-
path: {
|
|
5137
|
-
/** @description MCP instance UUID */
|
|
5138
|
-
id: string;
|
|
5139
|
-
/** @description Tool name to execute */
|
|
5140
|
-
tool_name: string;
|
|
5141
|
-
};
|
|
5142
|
-
cookie?: never;
|
|
5143
|
-
};
|
|
5144
|
-
requestBody: {
|
|
5145
|
-
content: {
|
|
5146
|
-
"application/json": components["schemas"]["McpExecuteRequest"];
|
|
5147
|
-
};
|
|
5148
|
-
};
|
|
5149
|
-
responses: {
|
|
5150
|
-
/** @description Tool execution result */
|
|
5151
|
-
200: {
|
|
5152
|
-
headers: {
|
|
5153
|
-
[name: string]: unknown;
|
|
5154
|
-
};
|
|
5155
|
-
content: {
|
|
5156
|
-
"application/json": components["schemas"]["McpExecuteResponse"];
|
|
5157
|
-
};
|
|
5158
|
-
};
|
|
5159
4695
|
/** @description Invalid request parameters */
|
|
5160
4696
|
400: {
|
|
5161
4697
|
headers: {
|
|
@@ -5183,13 +4719,6 @@ export interface operations {
|
|
|
5183
4719
|
"application/json": components["schemas"]["OpenAIApiError"];
|
|
5184
4720
|
};
|
|
5185
4721
|
};
|
|
5186
|
-
/** @description MCP or tool not found */
|
|
5187
|
-
404: {
|
|
5188
|
-
headers: {
|
|
5189
|
-
[name: string]: unknown;
|
|
5190
|
-
};
|
|
5191
|
-
content?: never;
|
|
5192
|
-
};
|
|
5193
4722
|
/** @description Internal server error */
|
|
5194
4723
|
500: {
|
|
5195
4724
|
headers: {
|
|
@@ -5271,134 +4800,6 @@ export interface operations {
|
|
|
5271
4800
|
};
|
|
5272
4801
|
};
|
|
5273
4802
|
};
|
|
5274
|
-
appsListToolsets: {
|
|
5275
|
-
parameters: {
|
|
5276
|
-
query?: never;
|
|
5277
|
-
header?: never;
|
|
5278
|
-
path?: never;
|
|
5279
|
-
cookie?: never;
|
|
5280
|
-
};
|
|
5281
|
-
requestBody?: never;
|
|
5282
|
-
responses: {
|
|
5283
|
-
/** @description List of toolsets accessible to the external app */
|
|
5284
|
-
200: {
|
|
5285
|
-
headers: {
|
|
5286
|
-
[name: string]: unknown;
|
|
5287
|
-
};
|
|
5288
|
-
content: {
|
|
5289
|
-
"application/json": components["schemas"]["ListToolsetsResponse"];
|
|
5290
|
-
};
|
|
5291
|
-
};
|
|
5292
|
-
/** @description Invalid request parameters */
|
|
5293
|
-
400: {
|
|
5294
|
-
headers: {
|
|
5295
|
-
[name: string]: unknown;
|
|
5296
|
-
};
|
|
5297
|
-
content: {
|
|
5298
|
-
"application/json": components["schemas"]["OpenAIApiError"];
|
|
5299
|
-
};
|
|
5300
|
-
};
|
|
5301
|
-
/** @description Not authenticated */
|
|
5302
|
-
401: {
|
|
5303
|
-
headers: {
|
|
5304
|
-
[name: string]: unknown;
|
|
5305
|
-
};
|
|
5306
|
-
content: {
|
|
5307
|
-
"application/json": components["schemas"]["OpenAIApiError"];
|
|
5308
|
-
};
|
|
5309
|
-
};
|
|
5310
|
-
/** @description Insufficient permissions */
|
|
5311
|
-
403: {
|
|
5312
|
-
headers: {
|
|
5313
|
-
[name: string]: unknown;
|
|
5314
|
-
};
|
|
5315
|
-
content: {
|
|
5316
|
-
"application/json": components["schemas"]["OpenAIApiError"];
|
|
5317
|
-
};
|
|
5318
|
-
};
|
|
5319
|
-
/** @description Internal server error */
|
|
5320
|
-
500: {
|
|
5321
|
-
headers: {
|
|
5322
|
-
[name: string]: unknown;
|
|
5323
|
-
};
|
|
5324
|
-
content: {
|
|
5325
|
-
"application/json": components["schemas"]["OpenAIApiError"];
|
|
5326
|
-
};
|
|
5327
|
-
};
|
|
5328
|
-
};
|
|
5329
|
-
};
|
|
5330
|
-
appsExecuteToolsetTool: {
|
|
5331
|
-
parameters: {
|
|
5332
|
-
query?: never;
|
|
5333
|
-
header?: never;
|
|
5334
|
-
path: {
|
|
5335
|
-
/** @description Toolset instance UUID */
|
|
5336
|
-
id: string;
|
|
5337
|
-
/** @description Tool name to execute */
|
|
5338
|
-
tool_name: string;
|
|
5339
|
-
};
|
|
5340
|
-
cookie?: never;
|
|
5341
|
-
};
|
|
5342
|
-
requestBody: {
|
|
5343
|
-
content: {
|
|
5344
|
-
"application/json": components["schemas"]["ExecuteToolsetRequest"];
|
|
5345
|
-
};
|
|
5346
|
-
};
|
|
5347
|
-
responses: {
|
|
5348
|
-
/** @description Tool execution result */
|
|
5349
|
-
200: {
|
|
5350
|
-
headers: {
|
|
5351
|
-
[name: string]: unknown;
|
|
5352
|
-
};
|
|
5353
|
-
content: {
|
|
5354
|
-
"application/json": components["schemas"]["ToolsetExecutionResponse"];
|
|
5355
|
-
};
|
|
5356
|
-
};
|
|
5357
|
-
/** @description Invalid request parameters */
|
|
5358
|
-
400: {
|
|
5359
|
-
headers: {
|
|
5360
|
-
[name: string]: unknown;
|
|
5361
|
-
};
|
|
5362
|
-
content: {
|
|
5363
|
-
"application/json": components["schemas"]["OpenAIApiError"];
|
|
5364
|
-
};
|
|
5365
|
-
};
|
|
5366
|
-
/** @description Not authenticated */
|
|
5367
|
-
401: {
|
|
5368
|
-
headers: {
|
|
5369
|
-
[name: string]: unknown;
|
|
5370
|
-
};
|
|
5371
|
-
content: {
|
|
5372
|
-
"application/json": components["schemas"]["OpenAIApiError"];
|
|
5373
|
-
};
|
|
5374
|
-
};
|
|
5375
|
-
/** @description Insufficient permissions */
|
|
5376
|
-
403: {
|
|
5377
|
-
headers: {
|
|
5378
|
-
[name: string]: unknown;
|
|
5379
|
-
};
|
|
5380
|
-
content: {
|
|
5381
|
-
"application/json": components["schemas"]["OpenAIApiError"];
|
|
5382
|
-
};
|
|
5383
|
-
};
|
|
5384
|
-
/** @description Toolset or method not found */
|
|
5385
|
-
404: {
|
|
5386
|
-
headers: {
|
|
5387
|
-
[name: string]: unknown;
|
|
5388
|
-
};
|
|
5389
|
-
content?: never;
|
|
5390
|
-
};
|
|
5391
|
-
/** @description Internal server error */
|
|
5392
|
-
500: {
|
|
5393
|
-
headers: {
|
|
5394
|
-
[name: string]: unknown;
|
|
5395
|
-
};
|
|
5396
|
-
content: {
|
|
5397
|
-
"application/json": components["schemas"]["OpenAIApiError"];
|
|
5398
|
-
};
|
|
5399
|
-
};
|
|
5400
|
-
};
|
|
5401
|
-
};
|
|
5402
4803
|
completeOAuthFlow: {
|
|
5403
4804
|
parameters: {
|
|
5404
4805
|
query?: never;
|
|
@@ -6298,73 +5699,6 @@ export interface operations {
|
|
|
6298
5699
|
};
|
|
6299
5700
|
};
|
|
6300
5701
|
};
|
|
6301
|
-
fetchMcpTools: {
|
|
6302
|
-
parameters: {
|
|
6303
|
-
query?: never;
|
|
6304
|
-
header?: never;
|
|
6305
|
-
path?: never;
|
|
6306
|
-
cookie?: never;
|
|
6307
|
-
};
|
|
6308
|
-
requestBody: {
|
|
6309
|
-
content: {
|
|
6310
|
-
"application/json": components["schemas"]["FetchMcpToolsRequest"];
|
|
6311
|
-
};
|
|
6312
|
-
};
|
|
6313
|
-
responses: {
|
|
6314
|
-
/** @description List of tools from MCP server */
|
|
6315
|
-
200: {
|
|
6316
|
-
headers: {
|
|
6317
|
-
[name: string]: unknown;
|
|
6318
|
-
};
|
|
6319
|
-
content: {
|
|
6320
|
-
"application/json": components["schemas"]["McpToolsResponse"];
|
|
6321
|
-
};
|
|
6322
|
-
};
|
|
6323
|
-
/** @description Invalid request parameters */
|
|
6324
|
-
400: {
|
|
6325
|
-
headers: {
|
|
6326
|
-
[name: string]: unknown;
|
|
6327
|
-
};
|
|
6328
|
-
content: {
|
|
6329
|
-
"application/json": components["schemas"]["OpenAIApiError"];
|
|
6330
|
-
};
|
|
6331
|
-
};
|
|
6332
|
-
/** @description Not authenticated */
|
|
6333
|
-
401: {
|
|
6334
|
-
headers: {
|
|
6335
|
-
[name: string]: unknown;
|
|
6336
|
-
};
|
|
6337
|
-
content: {
|
|
6338
|
-
"application/json": components["schemas"]["OpenAIApiError"];
|
|
6339
|
-
};
|
|
6340
|
-
};
|
|
6341
|
-
/** @description Insufficient permissions */
|
|
6342
|
-
403: {
|
|
6343
|
-
headers: {
|
|
6344
|
-
[name: string]: unknown;
|
|
6345
|
-
};
|
|
6346
|
-
content: {
|
|
6347
|
-
"application/json": components["schemas"]["OpenAIApiError"];
|
|
6348
|
-
};
|
|
6349
|
-
};
|
|
6350
|
-
/** @description MCP server not found */
|
|
6351
|
-
404: {
|
|
6352
|
-
headers: {
|
|
6353
|
-
[name: string]: unknown;
|
|
6354
|
-
};
|
|
6355
|
-
content?: never;
|
|
6356
|
-
};
|
|
6357
|
-
/** @description Internal server error */
|
|
6358
|
-
500: {
|
|
6359
|
-
headers: {
|
|
6360
|
-
[name: string]: unknown;
|
|
6361
|
-
};
|
|
6362
|
-
content: {
|
|
6363
|
-
"application/json": components["schemas"]["OpenAIApiError"];
|
|
6364
|
-
};
|
|
6365
|
-
};
|
|
6366
|
-
};
|
|
6367
|
-
};
|
|
6368
5702
|
getMcpOAuthToken: {
|
|
6369
5703
|
parameters: {
|
|
6370
5704
|
query?: never;
|
|
@@ -7144,145 +6478,7 @@ export interface operations {
|
|
|
7144
6478
|
};
|
|
7145
6479
|
};
|
|
7146
6480
|
};
|
|
7147
|
-
|
|
7148
|
-
parameters: {
|
|
7149
|
-
query?: never;
|
|
7150
|
-
header?: never;
|
|
7151
|
-
path: {
|
|
7152
|
-
/** @description MCP instance UUID */
|
|
7153
|
-
id: string;
|
|
7154
|
-
};
|
|
7155
|
-
cookie?: never;
|
|
7156
|
-
};
|
|
7157
|
-
requestBody?: never;
|
|
7158
|
-
responses: {
|
|
7159
|
-
/** @description Refreshed list of tools */
|
|
7160
|
-
200: {
|
|
7161
|
-
headers: {
|
|
7162
|
-
[name: string]: unknown;
|
|
7163
|
-
};
|
|
7164
|
-
content: {
|
|
7165
|
-
"application/json": components["schemas"]["McpToolsResponse"];
|
|
7166
|
-
};
|
|
7167
|
-
};
|
|
7168
|
-
/** @description Invalid request parameters */
|
|
7169
|
-
400: {
|
|
7170
|
-
headers: {
|
|
7171
|
-
[name: string]: unknown;
|
|
7172
|
-
};
|
|
7173
|
-
content: {
|
|
7174
|
-
"application/json": components["schemas"]["OpenAIApiError"];
|
|
7175
|
-
};
|
|
7176
|
-
};
|
|
7177
|
-
/** @description Not authenticated */
|
|
7178
|
-
401: {
|
|
7179
|
-
headers: {
|
|
7180
|
-
[name: string]: unknown;
|
|
7181
|
-
};
|
|
7182
|
-
content: {
|
|
7183
|
-
"application/json": components["schemas"]["OpenAIApiError"];
|
|
7184
|
-
};
|
|
7185
|
-
};
|
|
7186
|
-
/** @description Insufficient permissions */
|
|
7187
|
-
403: {
|
|
7188
|
-
headers: {
|
|
7189
|
-
[name: string]: unknown;
|
|
7190
|
-
};
|
|
7191
|
-
content: {
|
|
7192
|
-
"application/json": components["schemas"]["OpenAIApiError"];
|
|
7193
|
-
};
|
|
7194
|
-
};
|
|
7195
|
-
/** @description MCP not found */
|
|
7196
|
-
404: {
|
|
7197
|
-
headers: {
|
|
7198
|
-
[name: string]: unknown;
|
|
7199
|
-
};
|
|
7200
|
-
content?: never;
|
|
7201
|
-
};
|
|
7202
|
-
/** @description Internal server error */
|
|
7203
|
-
500: {
|
|
7204
|
-
headers: {
|
|
7205
|
-
[name: string]: unknown;
|
|
7206
|
-
};
|
|
7207
|
-
content: {
|
|
7208
|
-
"application/json": components["schemas"]["OpenAIApiError"];
|
|
7209
|
-
};
|
|
7210
|
-
};
|
|
7211
|
-
};
|
|
7212
|
-
};
|
|
7213
|
-
executeMcpTool: {
|
|
7214
|
-
parameters: {
|
|
7215
|
-
query?: never;
|
|
7216
|
-
header?: never;
|
|
7217
|
-
path: {
|
|
7218
|
-
/** @description MCP instance UUID */
|
|
7219
|
-
id: string;
|
|
7220
|
-
/** @description Tool name to execute */
|
|
7221
|
-
tool_name: string;
|
|
7222
|
-
};
|
|
7223
|
-
cookie?: never;
|
|
7224
|
-
};
|
|
7225
|
-
requestBody: {
|
|
7226
|
-
content: {
|
|
7227
|
-
"application/json": components["schemas"]["McpExecuteRequest"];
|
|
7228
|
-
};
|
|
7229
|
-
};
|
|
7230
|
-
responses: {
|
|
7231
|
-
/** @description Tool execution result */
|
|
7232
|
-
200: {
|
|
7233
|
-
headers: {
|
|
7234
|
-
[name: string]: unknown;
|
|
7235
|
-
};
|
|
7236
|
-
content: {
|
|
7237
|
-
"application/json": components["schemas"]["McpExecuteResponse"];
|
|
7238
|
-
};
|
|
7239
|
-
};
|
|
7240
|
-
/** @description Invalid request parameters */
|
|
7241
|
-
400: {
|
|
7242
|
-
headers: {
|
|
7243
|
-
[name: string]: unknown;
|
|
7244
|
-
};
|
|
7245
|
-
content: {
|
|
7246
|
-
"application/json": components["schemas"]["OpenAIApiError"];
|
|
7247
|
-
};
|
|
7248
|
-
};
|
|
7249
|
-
/** @description Not authenticated */
|
|
7250
|
-
401: {
|
|
7251
|
-
headers: {
|
|
7252
|
-
[name: string]: unknown;
|
|
7253
|
-
};
|
|
7254
|
-
content: {
|
|
7255
|
-
"application/json": components["schemas"]["OpenAIApiError"];
|
|
7256
|
-
};
|
|
7257
|
-
};
|
|
7258
|
-
/** @description Insufficient permissions */
|
|
7259
|
-
403: {
|
|
7260
|
-
headers: {
|
|
7261
|
-
[name: string]: unknown;
|
|
7262
|
-
};
|
|
7263
|
-
content: {
|
|
7264
|
-
"application/json": components["schemas"]["OpenAIApiError"];
|
|
7265
|
-
};
|
|
7266
|
-
};
|
|
7267
|
-
/** @description MCP or tool not found */
|
|
7268
|
-
404: {
|
|
7269
|
-
headers: {
|
|
7270
|
-
[name: string]: unknown;
|
|
7271
|
-
};
|
|
7272
|
-
content?: never;
|
|
7273
|
-
};
|
|
7274
|
-
/** @description Internal server error */
|
|
7275
|
-
500: {
|
|
7276
|
-
headers: {
|
|
7277
|
-
[name: string]: unknown;
|
|
7278
|
-
};
|
|
7279
|
-
content: {
|
|
7280
|
-
"application/json": components["schemas"]["OpenAIApiError"];
|
|
7281
|
-
};
|
|
7282
|
-
};
|
|
7283
|
-
};
|
|
7284
|
-
};
|
|
7285
|
-
listAllModels: {
|
|
6481
|
+
listAllModels: {
|
|
7286
6482
|
parameters: {
|
|
7287
6483
|
query?: {
|
|
7288
6484
|
/** @description Page number (1-based indexing) */
|
|
@@ -9520,596 +8716,6 @@ export interface operations {
|
|
|
9520
8716
|
};
|
|
9521
8717
|
};
|
|
9522
8718
|
};
|
|
9523
|
-
listToolsetTypes: {
|
|
9524
|
-
parameters: {
|
|
9525
|
-
query?: never;
|
|
9526
|
-
header?: never;
|
|
9527
|
-
path?: never;
|
|
9528
|
-
cookie?: never;
|
|
9529
|
-
};
|
|
9530
|
-
requestBody?: never;
|
|
9531
|
-
responses: {
|
|
9532
|
-
/** @description List of all toolset types */
|
|
9533
|
-
200: {
|
|
9534
|
-
headers: {
|
|
9535
|
-
[name: string]: unknown;
|
|
9536
|
-
};
|
|
9537
|
-
content: {
|
|
9538
|
-
"application/json": components["schemas"]["ListToolsetTypesResponse"];
|
|
9539
|
-
};
|
|
9540
|
-
};
|
|
9541
|
-
/** @description Invalid request parameters */
|
|
9542
|
-
400: {
|
|
9543
|
-
headers: {
|
|
9544
|
-
[name: string]: unknown;
|
|
9545
|
-
};
|
|
9546
|
-
content: {
|
|
9547
|
-
"application/json": components["schemas"]["OpenAIApiError"];
|
|
9548
|
-
};
|
|
9549
|
-
};
|
|
9550
|
-
/** @description Not authenticated */
|
|
9551
|
-
401: {
|
|
9552
|
-
headers: {
|
|
9553
|
-
[name: string]: unknown;
|
|
9554
|
-
};
|
|
9555
|
-
content: {
|
|
9556
|
-
"application/json": components["schemas"]["OpenAIApiError"];
|
|
9557
|
-
};
|
|
9558
|
-
};
|
|
9559
|
-
/** @description Insufficient permissions */
|
|
9560
|
-
403: {
|
|
9561
|
-
headers: {
|
|
9562
|
-
[name: string]: unknown;
|
|
9563
|
-
};
|
|
9564
|
-
content: {
|
|
9565
|
-
"application/json": components["schemas"]["OpenAIApiError"];
|
|
9566
|
-
};
|
|
9567
|
-
};
|
|
9568
|
-
/** @description Internal server error */
|
|
9569
|
-
500: {
|
|
9570
|
-
headers: {
|
|
9571
|
-
[name: string]: unknown;
|
|
9572
|
-
};
|
|
9573
|
-
content: {
|
|
9574
|
-
"application/json": components["schemas"]["OpenAIApiError"];
|
|
9575
|
-
};
|
|
9576
|
-
};
|
|
9577
|
-
};
|
|
9578
|
-
};
|
|
9579
|
-
enableToolsetType: {
|
|
9580
|
-
parameters: {
|
|
9581
|
-
query?: never;
|
|
9582
|
-
header?: never;
|
|
9583
|
-
path: {
|
|
9584
|
-
/** @description Toolset type identifier (e.g., 'builtin-exa-search') */
|
|
9585
|
-
toolset_type: string;
|
|
9586
|
-
};
|
|
9587
|
-
cookie?: never;
|
|
9588
|
-
};
|
|
9589
|
-
requestBody?: never;
|
|
9590
|
-
responses: {
|
|
9591
|
-
/** @description Toolset type enabled */
|
|
9592
|
-
200: {
|
|
9593
|
-
headers: {
|
|
9594
|
-
[name: string]: unknown;
|
|
9595
|
-
};
|
|
9596
|
-
content: {
|
|
9597
|
-
"application/json": components["schemas"]["AppToolsetConfig"];
|
|
9598
|
-
};
|
|
9599
|
-
};
|
|
9600
|
-
/** @description Invalid request parameters */
|
|
9601
|
-
400: {
|
|
9602
|
-
headers: {
|
|
9603
|
-
[name: string]: unknown;
|
|
9604
|
-
};
|
|
9605
|
-
content: {
|
|
9606
|
-
"application/json": components["schemas"]["OpenAIApiError"];
|
|
9607
|
-
};
|
|
9608
|
-
};
|
|
9609
|
-
/** @description Not authenticated */
|
|
9610
|
-
401: {
|
|
9611
|
-
headers: {
|
|
9612
|
-
[name: string]: unknown;
|
|
9613
|
-
};
|
|
9614
|
-
content: {
|
|
9615
|
-
"application/json": components["schemas"]["OpenAIApiError"];
|
|
9616
|
-
};
|
|
9617
|
-
};
|
|
9618
|
-
/** @description Insufficient permissions */
|
|
9619
|
-
403: {
|
|
9620
|
-
headers: {
|
|
9621
|
-
[name: string]: unknown;
|
|
9622
|
-
};
|
|
9623
|
-
content: {
|
|
9624
|
-
"application/json": components["schemas"]["OpenAIApiError"];
|
|
9625
|
-
};
|
|
9626
|
-
};
|
|
9627
|
-
/** @description Toolset type not found */
|
|
9628
|
-
404: {
|
|
9629
|
-
headers: {
|
|
9630
|
-
[name: string]: unknown;
|
|
9631
|
-
};
|
|
9632
|
-
content?: never;
|
|
9633
|
-
};
|
|
9634
|
-
/** @description Internal server error */
|
|
9635
|
-
500: {
|
|
9636
|
-
headers: {
|
|
9637
|
-
[name: string]: unknown;
|
|
9638
|
-
};
|
|
9639
|
-
content: {
|
|
9640
|
-
"application/json": components["schemas"]["OpenAIApiError"];
|
|
9641
|
-
};
|
|
9642
|
-
};
|
|
9643
|
-
};
|
|
9644
|
-
};
|
|
9645
|
-
disableToolsetType: {
|
|
9646
|
-
parameters: {
|
|
9647
|
-
query?: never;
|
|
9648
|
-
header?: never;
|
|
9649
|
-
path: {
|
|
9650
|
-
/** @description Toolset type identifier (e.g., 'builtin-exa-search') */
|
|
9651
|
-
toolset_type: string;
|
|
9652
|
-
};
|
|
9653
|
-
cookie?: never;
|
|
9654
|
-
};
|
|
9655
|
-
requestBody?: never;
|
|
9656
|
-
responses: {
|
|
9657
|
-
/** @description Toolset type disabled */
|
|
9658
|
-
200: {
|
|
9659
|
-
headers: {
|
|
9660
|
-
[name: string]: unknown;
|
|
9661
|
-
};
|
|
9662
|
-
content: {
|
|
9663
|
-
"application/json": components["schemas"]["AppToolsetConfig"];
|
|
9664
|
-
};
|
|
9665
|
-
};
|
|
9666
|
-
/** @description Invalid request parameters */
|
|
9667
|
-
400: {
|
|
9668
|
-
headers: {
|
|
9669
|
-
[name: string]: unknown;
|
|
9670
|
-
};
|
|
9671
|
-
content: {
|
|
9672
|
-
"application/json": components["schemas"]["OpenAIApiError"];
|
|
9673
|
-
};
|
|
9674
|
-
};
|
|
9675
|
-
/** @description Not authenticated */
|
|
9676
|
-
401: {
|
|
9677
|
-
headers: {
|
|
9678
|
-
[name: string]: unknown;
|
|
9679
|
-
};
|
|
9680
|
-
content: {
|
|
9681
|
-
"application/json": components["schemas"]["OpenAIApiError"];
|
|
9682
|
-
};
|
|
9683
|
-
};
|
|
9684
|
-
/** @description Insufficient permissions */
|
|
9685
|
-
403: {
|
|
9686
|
-
headers: {
|
|
9687
|
-
[name: string]: unknown;
|
|
9688
|
-
};
|
|
9689
|
-
content: {
|
|
9690
|
-
"application/json": components["schemas"]["OpenAIApiError"];
|
|
9691
|
-
};
|
|
9692
|
-
};
|
|
9693
|
-
/** @description Toolset type not found */
|
|
9694
|
-
404: {
|
|
9695
|
-
headers: {
|
|
9696
|
-
[name: string]: unknown;
|
|
9697
|
-
};
|
|
9698
|
-
content?: never;
|
|
9699
|
-
};
|
|
9700
|
-
/** @description Internal server error */
|
|
9701
|
-
500: {
|
|
9702
|
-
headers: {
|
|
9703
|
-
[name: string]: unknown;
|
|
9704
|
-
};
|
|
9705
|
-
content: {
|
|
9706
|
-
"application/json": components["schemas"]["OpenAIApiError"];
|
|
9707
|
-
};
|
|
9708
|
-
};
|
|
9709
|
-
};
|
|
9710
|
-
};
|
|
9711
|
-
listToolsets: {
|
|
9712
|
-
parameters: {
|
|
9713
|
-
query?: never;
|
|
9714
|
-
header?: never;
|
|
9715
|
-
path?: never;
|
|
9716
|
-
cookie?: never;
|
|
9717
|
-
};
|
|
9718
|
-
requestBody?: never;
|
|
9719
|
-
responses: {
|
|
9720
|
-
/** @description List of user's toolsets */
|
|
9721
|
-
200: {
|
|
9722
|
-
headers: {
|
|
9723
|
-
[name: string]: unknown;
|
|
9724
|
-
};
|
|
9725
|
-
content: {
|
|
9726
|
-
"application/json": components["schemas"]["ListToolsetsResponse"];
|
|
9727
|
-
};
|
|
9728
|
-
};
|
|
9729
|
-
/** @description Invalid request parameters */
|
|
9730
|
-
400: {
|
|
9731
|
-
headers: {
|
|
9732
|
-
[name: string]: unknown;
|
|
9733
|
-
};
|
|
9734
|
-
content: {
|
|
9735
|
-
"application/json": components["schemas"]["OpenAIApiError"];
|
|
9736
|
-
};
|
|
9737
|
-
};
|
|
9738
|
-
/** @description Not authenticated */
|
|
9739
|
-
401: {
|
|
9740
|
-
headers: {
|
|
9741
|
-
[name: string]: unknown;
|
|
9742
|
-
};
|
|
9743
|
-
content: {
|
|
9744
|
-
"application/json": components["schemas"]["OpenAIApiError"];
|
|
9745
|
-
};
|
|
9746
|
-
};
|
|
9747
|
-
/** @description Insufficient permissions */
|
|
9748
|
-
403: {
|
|
9749
|
-
headers: {
|
|
9750
|
-
[name: string]: unknown;
|
|
9751
|
-
};
|
|
9752
|
-
content: {
|
|
9753
|
-
"application/json": components["schemas"]["OpenAIApiError"];
|
|
9754
|
-
};
|
|
9755
|
-
};
|
|
9756
|
-
/** @description Internal server error */
|
|
9757
|
-
500: {
|
|
9758
|
-
headers: {
|
|
9759
|
-
[name: string]: unknown;
|
|
9760
|
-
};
|
|
9761
|
-
content: {
|
|
9762
|
-
"application/json": components["schemas"]["OpenAIApiError"];
|
|
9763
|
-
};
|
|
9764
|
-
};
|
|
9765
|
-
};
|
|
9766
|
-
};
|
|
9767
|
-
createToolset: {
|
|
9768
|
-
parameters: {
|
|
9769
|
-
query?: never;
|
|
9770
|
-
header?: never;
|
|
9771
|
-
path?: never;
|
|
9772
|
-
cookie?: never;
|
|
9773
|
-
};
|
|
9774
|
-
requestBody: {
|
|
9775
|
-
content: {
|
|
9776
|
-
"application/json": components["schemas"]["ToolsetRequest"];
|
|
9777
|
-
};
|
|
9778
|
-
};
|
|
9779
|
-
responses: {
|
|
9780
|
-
/** @description Toolset created */
|
|
9781
|
-
201: {
|
|
9782
|
-
headers: {
|
|
9783
|
-
[name: string]: unknown;
|
|
9784
|
-
};
|
|
9785
|
-
content: {
|
|
9786
|
-
"application/json": components["schemas"]["ToolsetResponse"];
|
|
9787
|
-
};
|
|
9788
|
-
};
|
|
9789
|
-
/** @description Invalid request parameters */
|
|
9790
|
-
400: {
|
|
9791
|
-
headers: {
|
|
9792
|
-
[name: string]: unknown;
|
|
9793
|
-
};
|
|
9794
|
-
content: {
|
|
9795
|
-
"application/json": components["schemas"]["OpenAIApiError"];
|
|
9796
|
-
};
|
|
9797
|
-
};
|
|
9798
|
-
/** @description Not authenticated */
|
|
9799
|
-
401: {
|
|
9800
|
-
headers: {
|
|
9801
|
-
[name: string]: unknown;
|
|
9802
|
-
};
|
|
9803
|
-
content: {
|
|
9804
|
-
"application/json": components["schemas"]["OpenAIApiError"];
|
|
9805
|
-
};
|
|
9806
|
-
};
|
|
9807
|
-
/** @description Insufficient permissions */
|
|
9808
|
-
403: {
|
|
9809
|
-
headers: {
|
|
9810
|
-
[name: string]: unknown;
|
|
9811
|
-
};
|
|
9812
|
-
content: {
|
|
9813
|
-
"application/json": components["schemas"]["OpenAIApiError"];
|
|
9814
|
-
};
|
|
9815
|
-
};
|
|
9816
|
-
/** @description Name already exists */
|
|
9817
|
-
409: {
|
|
9818
|
-
headers: {
|
|
9819
|
-
[name: string]: unknown;
|
|
9820
|
-
};
|
|
9821
|
-
content?: never;
|
|
9822
|
-
};
|
|
9823
|
-
/** @description Internal server error */
|
|
9824
|
-
500: {
|
|
9825
|
-
headers: {
|
|
9826
|
-
[name: string]: unknown;
|
|
9827
|
-
};
|
|
9828
|
-
content: {
|
|
9829
|
-
"application/json": components["schemas"]["OpenAIApiError"];
|
|
9830
|
-
};
|
|
9831
|
-
};
|
|
9832
|
-
};
|
|
9833
|
-
};
|
|
9834
|
-
getToolset: {
|
|
9835
|
-
parameters: {
|
|
9836
|
-
query?: never;
|
|
9837
|
-
header?: never;
|
|
9838
|
-
path: {
|
|
9839
|
-
/** @description Toolset instance UUID */
|
|
9840
|
-
id: string;
|
|
9841
|
-
};
|
|
9842
|
-
cookie?: never;
|
|
9843
|
-
};
|
|
9844
|
-
requestBody?: never;
|
|
9845
|
-
responses: {
|
|
9846
|
-
/** @description Toolset */
|
|
9847
|
-
200: {
|
|
9848
|
-
headers: {
|
|
9849
|
-
[name: string]: unknown;
|
|
9850
|
-
};
|
|
9851
|
-
content: {
|
|
9852
|
-
"application/json": components["schemas"]["ToolsetResponse"];
|
|
9853
|
-
};
|
|
9854
|
-
};
|
|
9855
|
-
/** @description Invalid request parameters */
|
|
9856
|
-
400: {
|
|
9857
|
-
headers: {
|
|
9858
|
-
[name: string]: unknown;
|
|
9859
|
-
};
|
|
9860
|
-
content: {
|
|
9861
|
-
"application/json": components["schemas"]["OpenAIApiError"];
|
|
9862
|
-
};
|
|
9863
|
-
};
|
|
9864
|
-
/** @description Not authenticated */
|
|
9865
|
-
401: {
|
|
9866
|
-
headers: {
|
|
9867
|
-
[name: string]: unknown;
|
|
9868
|
-
};
|
|
9869
|
-
content: {
|
|
9870
|
-
"application/json": components["schemas"]["OpenAIApiError"];
|
|
9871
|
-
};
|
|
9872
|
-
};
|
|
9873
|
-
/** @description Insufficient permissions */
|
|
9874
|
-
403: {
|
|
9875
|
-
headers: {
|
|
9876
|
-
[name: string]: unknown;
|
|
9877
|
-
};
|
|
9878
|
-
content: {
|
|
9879
|
-
"application/json": components["schemas"]["OpenAIApiError"];
|
|
9880
|
-
};
|
|
9881
|
-
};
|
|
9882
|
-
/** @description Toolset not found or not owned */
|
|
9883
|
-
404: {
|
|
9884
|
-
headers: {
|
|
9885
|
-
[name: string]: unknown;
|
|
9886
|
-
};
|
|
9887
|
-
content?: never;
|
|
9888
|
-
};
|
|
9889
|
-
/** @description Internal server error */
|
|
9890
|
-
500: {
|
|
9891
|
-
headers: {
|
|
9892
|
-
[name: string]: unknown;
|
|
9893
|
-
};
|
|
9894
|
-
content: {
|
|
9895
|
-
"application/json": components["schemas"]["OpenAIApiError"];
|
|
9896
|
-
};
|
|
9897
|
-
};
|
|
9898
|
-
};
|
|
9899
|
-
};
|
|
9900
|
-
updateToolset: {
|
|
9901
|
-
parameters: {
|
|
9902
|
-
query?: never;
|
|
9903
|
-
header?: never;
|
|
9904
|
-
path: {
|
|
9905
|
-
/** @description Toolset instance UUID */
|
|
9906
|
-
id: string;
|
|
9907
|
-
};
|
|
9908
|
-
cookie?: never;
|
|
9909
|
-
};
|
|
9910
|
-
requestBody: {
|
|
9911
|
-
content: {
|
|
9912
|
-
"application/json": components["schemas"]["ToolsetRequest"];
|
|
9913
|
-
};
|
|
9914
|
-
};
|
|
9915
|
-
responses: {
|
|
9916
|
-
/** @description Toolset updated */
|
|
9917
|
-
200: {
|
|
9918
|
-
headers: {
|
|
9919
|
-
[name: string]: unknown;
|
|
9920
|
-
};
|
|
9921
|
-
content: {
|
|
9922
|
-
"application/json": components["schemas"]["ToolsetResponse"];
|
|
9923
|
-
};
|
|
9924
|
-
};
|
|
9925
|
-
/** @description Invalid request parameters */
|
|
9926
|
-
400: {
|
|
9927
|
-
headers: {
|
|
9928
|
-
[name: string]: unknown;
|
|
9929
|
-
};
|
|
9930
|
-
content: {
|
|
9931
|
-
"application/json": components["schemas"]["OpenAIApiError"];
|
|
9932
|
-
};
|
|
9933
|
-
};
|
|
9934
|
-
/** @description Not authenticated */
|
|
9935
|
-
401: {
|
|
9936
|
-
headers: {
|
|
9937
|
-
[name: string]: unknown;
|
|
9938
|
-
};
|
|
9939
|
-
content: {
|
|
9940
|
-
"application/json": components["schemas"]["OpenAIApiError"];
|
|
9941
|
-
};
|
|
9942
|
-
};
|
|
9943
|
-
/** @description Insufficient permissions */
|
|
9944
|
-
403: {
|
|
9945
|
-
headers: {
|
|
9946
|
-
[name: string]: unknown;
|
|
9947
|
-
};
|
|
9948
|
-
content: {
|
|
9949
|
-
"application/json": components["schemas"]["OpenAIApiError"];
|
|
9950
|
-
};
|
|
9951
|
-
};
|
|
9952
|
-
/** @description Toolset not found or not owned */
|
|
9953
|
-
404: {
|
|
9954
|
-
headers: {
|
|
9955
|
-
[name: string]: unknown;
|
|
9956
|
-
};
|
|
9957
|
-
content?: never;
|
|
9958
|
-
};
|
|
9959
|
-
/** @description Name already exists */
|
|
9960
|
-
409: {
|
|
9961
|
-
headers: {
|
|
9962
|
-
[name: string]: unknown;
|
|
9963
|
-
};
|
|
9964
|
-
content?: never;
|
|
9965
|
-
};
|
|
9966
|
-
/** @description Internal server error */
|
|
9967
|
-
500: {
|
|
9968
|
-
headers: {
|
|
9969
|
-
[name: string]: unknown;
|
|
9970
|
-
};
|
|
9971
|
-
content: {
|
|
9972
|
-
"application/json": components["schemas"]["OpenAIApiError"];
|
|
9973
|
-
};
|
|
9974
|
-
};
|
|
9975
|
-
};
|
|
9976
|
-
};
|
|
9977
|
-
deleteToolset: {
|
|
9978
|
-
parameters: {
|
|
9979
|
-
query?: never;
|
|
9980
|
-
header?: never;
|
|
9981
|
-
path: {
|
|
9982
|
-
/** @description Toolset instance UUID */
|
|
9983
|
-
id: string;
|
|
9984
|
-
};
|
|
9985
|
-
cookie?: never;
|
|
9986
|
-
};
|
|
9987
|
-
requestBody?: never;
|
|
9988
|
-
responses: {
|
|
9989
|
-
/** @description Toolset deleted */
|
|
9990
|
-
204: {
|
|
9991
|
-
headers: {
|
|
9992
|
-
[name: string]: unknown;
|
|
9993
|
-
};
|
|
9994
|
-
content?: never;
|
|
9995
|
-
};
|
|
9996
|
-
/** @description Invalid request parameters */
|
|
9997
|
-
400: {
|
|
9998
|
-
headers: {
|
|
9999
|
-
[name: string]: unknown;
|
|
10000
|
-
};
|
|
10001
|
-
content: {
|
|
10002
|
-
"application/json": components["schemas"]["OpenAIApiError"];
|
|
10003
|
-
};
|
|
10004
|
-
};
|
|
10005
|
-
/** @description Not authenticated */
|
|
10006
|
-
401: {
|
|
10007
|
-
headers: {
|
|
10008
|
-
[name: string]: unknown;
|
|
10009
|
-
};
|
|
10010
|
-
content: {
|
|
10011
|
-
"application/json": components["schemas"]["OpenAIApiError"];
|
|
10012
|
-
};
|
|
10013
|
-
};
|
|
10014
|
-
/** @description Insufficient permissions */
|
|
10015
|
-
403: {
|
|
10016
|
-
headers: {
|
|
10017
|
-
[name: string]: unknown;
|
|
10018
|
-
};
|
|
10019
|
-
content: {
|
|
10020
|
-
"application/json": components["schemas"]["OpenAIApiError"];
|
|
10021
|
-
};
|
|
10022
|
-
};
|
|
10023
|
-
/** @description Toolset not found or not owned */
|
|
10024
|
-
404: {
|
|
10025
|
-
headers: {
|
|
10026
|
-
[name: string]: unknown;
|
|
10027
|
-
};
|
|
10028
|
-
content?: never;
|
|
10029
|
-
};
|
|
10030
|
-
/** @description Internal server error */
|
|
10031
|
-
500: {
|
|
10032
|
-
headers: {
|
|
10033
|
-
[name: string]: unknown;
|
|
10034
|
-
};
|
|
10035
|
-
content: {
|
|
10036
|
-
"application/json": components["schemas"]["OpenAIApiError"];
|
|
10037
|
-
};
|
|
10038
|
-
};
|
|
10039
|
-
};
|
|
10040
|
-
};
|
|
10041
|
-
executeToolsetTool: {
|
|
10042
|
-
parameters: {
|
|
10043
|
-
query?: never;
|
|
10044
|
-
header?: never;
|
|
10045
|
-
path: {
|
|
10046
|
-
/** @description Toolset instance UUID */
|
|
10047
|
-
id: string;
|
|
10048
|
-
/** @description Tool name to execute */
|
|
10049
|
-
tool_name: string;
|
|
10050
|
-
};
|
|
10051
|
-
cookie?: never;
|
|
10052
|
-
};
|
|
10053
|
-
requestBody: {
|
|
10054
|
-
content: {
|
|
10055
|
-
"application/json": components["schemas"]["ExecuteToolsetRequest"];
|
|
10056
|
-
};
|
|
10057
|
-
};
|
|
10058
|
-
responses: {
|
|
10059
|
-
/** @description Tool execution result */
|
|
10060
|
-
200: {
|
|
10061
|
-
headers: {
|
|
10062
|
-
[name: string]: unknown;
|
|
10063
|
-
};
|
|
10064
|
-
content: {
|
|
10065
|
-
"application/json": components["schemas"]["ToolsetExecutionResponse"];
|
|
10066
|
-
};
|
|
10067
|
-
};
|
|
10068
|
-
/** @description Invalid request parameters */
|
|
10069
|
-
400: {
|
|
10070
|
-
headers: {
|
|
10071
|
-
[name: string]: unknown;
|
|
10072
|
-
};
|
|
10073
|
-
content: {
|
|
10074
|
-
"application/json": components["schemas"]["OpenAIApiError"];
|
|
10075
|
-
};
|
|
10076
|
-
};
|
|
10077
|
-
/** @description Not authenticated */
|
|
10078
|
-
401: {
|
|
10079
|
-
headers: {
|
|
10080
|
-
[name: string]: unknown;
|
|
10081
|
-
};
|
|
10082
|
-
content: {
|
|
10083
|
-
"application/json": components["schemas"]["OpenAIApiError"];
|
|
10084
|
-
};
|
|
10085
|
-
};
|
|
10086
|
-
/** @description Insufficient permissions */
|
|
10087
|
-
403: {
|
|
10088
|
-
headers: {
|
|
10089
|
-
[name: string]: unknown;
|
|
10090
|
-
};
|
|
10091
|
-
content: {
|
|
10092
|
-
"application/json": components["schemas"]["OpenAIApiError"];
|
|
10093
|
-
};
|
|
10094
|
-
};
|
|
10095
|
-
/** @description Toolset or method not found */
|
|
10096
|
-
404: {
|
|
10097
|
-
headers: {
|
|
10098
|
-
[name: string]: unknown;
|
|
10099
|
-
};
|
|
10100
|
-
content?: never;
|
|
10101
|
-
};
|
|
10102
|
-
/** @description Internal server error */
|
|
10103
|
-
500: {
|
|
10104
|
-
headers: {
|
|
10105
|
-
[name: string]: unknown;
|
|
10106
|
-
};
|
|
10107
|
-
content: {
|
|
10108
|
-
"application/json": components["schemas"]["OpenAIApiError"];
|
|
10109
|
-
};
|
|
10110
|
-
};
|
|
10111
|
-
};
|
|
10112
|
-
};
|
|
10113
8719
|
getCurrentUser: {
|
|
10114
8720
|
parameters: {
|
|
10115
8721
|
query?: never;
|