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