@orq-ai/node 4.0.0-rc.30 → 4.0.0-rc.31
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/README.md +24 -22
- package/bin/mcp-server.js +2116 -596
- package/bin/mcp-server.js.map +50 -47
- package/docs/sdks/tools/README.md +93 -12
- package/examples/package-lock.json +1 -1
- package/funcs/toolsCreate.d.ts +2 -1
- package/funcs/toolsCreate.d.ts.map +1 -1
- package/funcs/toolsCreate.js +6 -2
- package/funcs/toolsCreate.js.map +1 -1
- package/funcs/toolsSync.d.ts +18 -0
- package/funcs/toolsSync.d.ts.map +1 -0
- package/funcs/toolsSync.js +123 -0
- package/funcs/toolsSync.js.map +1 -0
- package/jsr.json +1 -1
- package/lib/config.d.ts +3 -3
- package/lib/config.js +3 -3
- package/mcp-server/mcp-server.js +1 -1
- package/mcp-server/server.d.ts.map +1 -1
- package/mcp-server/server.js +3 -1
- package/mcp-server/server.js.map +1 -1
- package/mcp-server/tools/toolsSync.d.ts +8 -0
- package/mcp-server/tools/toolsSync.d.ts.map +1 -0
- package/mcp-server/tools/toolsSync.js +64 -0
- package/mcp-server/tools/toolsSync.js.map +1 -0
- package/models/operations/createagent.d.ts +53 -24
- package/models/operations/createagent.d.ts.map +1 -1
- package/models/operations/createagent.js +51 -25
- package/models/operations/createagent.js.map +1 -1
- package/models/operations/createbudget.js +2 -2
- package/models/operations/createcontact.js +2 -2
- package/models/operations/createdataset.js +2 -2
- package/models/operations/createdatasetitem.js +8 -8
- package/models/operations/createdatasource.js +2 -2
- package/models/operations/createeval.js +28 -28
- package/models/operations/createtool.d.ts +373 -144
- package/models/operations/createtool.d.ts.map +1 -1
- package/models/operations/createtool.js +332 -133
- package/models/operations/createtool.js.map +1 -1
- package/models/operations/deploymentgetconfig.d.ts +8 -8
- package/models/operations/deploymentgetconfig.d.ts.map +1 -1
- package/models/operations/deploymentgetconfig.js +13 -12
- package/models/operations/deploymentgetconfig.js.map +1 -1
- package/models/operations/duplicateagent.d.ts +0 -19
- package/models/operations/duplicateagent.d.ts.map +1 -1
- package/models/operations/duplicateagent.js +3 -21
- package/models/operations/duplicateagent.js.map +1 -1
- package/models/operations/duplicatetool.d.ts +189 -49
- package/models/operations/duplicatetool.d.ts.map +1 -1
- package/models/operations/duplicatetool.js +172 -44
- package/models/operations/duplicatetool.js.map +1 -1
- package/models/operations/fileget.js +2 -2
- package/models/operations/filelist.js +2 -2
- package/models/operations/fileupload.js +2 -2
- package/models/operations/getagent.d.ts +0 -19
- package/models/operations/getagent.d.ts.map +1 -1
- package/models/operations/getagent.js +3 -20
- package/models/operations/getagent.js.map +1 -1
- package/models/operations/getalltools.d.ts +194 -54
- package/models/operations/getalltools.d.ts.map +1 -1
- package/models/operations/getalltools.js +176 -51
- package/models/operations/getalltools.js.map +1 -1
- package/models/operations/getbudget.js +2 -2
- package/models/operations/getevals.js +28 -28
- package/models/operations/index.d.ts +1 -0
- package/models/operations/index.d.ts.map +1 -1
- package/models/operations/index.js +1 -0
- package/models/operations/index.js.map +1 -1
- package/models/operations/listagents.d.ts +0 -19
- package/models/operations/listagents.d.ts.map +1 -1
- package/models/operations/listagents.js +3 -22
- package/models/operations/listagents.js.map +1 -1
- package/models/operations/listbudgets.js +2 -2
- package/models/operations/listcontacts.js +2 -2
- package/models/operations/listdatasetdatapoints.js +8 -8
- package/models/operations/listdatasets.js +2 -2
- package/models/operations/listdatasources.js +2 -2
- package/models/operations/retrievecontact.js +2 -2
- package/models/operations/retrievedatapoint.js +8 -8
- package/models/operations/retrievedataset.js +2 -2
- package/models/operations/retrievedatasource.js +2 -2
- package/models/operations/retrievetool.d.ts +189 -49
- package/models/operations/retrievetool.d.ts.map +1 -1
- package/models/operations/retrievetool.js +172 -44
- package/models/operations/retrievetool.js.map +1 -1
- package/models/operations/runagent.d.ts +279 -23
- package/models/operations/runagent.d.ts.map +1 -1
- package/models/operations/runagent.js +274 -15
- package/models/operations/runagent.js.map +1 -1
- package/models/operations/streamrunagent.d.ts +282 -26
- package/models/operations/streamrunagent.d.ts.map +1 -1
- package/models/operations/streamrunagent.js +268 -22
- package/models/operations/streamrunagent.js.map +1 -1
- package/models/operations/syncmcptool.d.ts +1113 -0
- package/models/operations/syncmcptool.d.ts.map +1 -0
- package/models/operations/syncmcptool.js +1070 -0
- package/models/operations/syncmcptool.js.map +1 -0
- package/models/operations/updateagent.d.ts +53 -43
- package/models/operations/updateagent.d.ts.map +1 -1
- package/models/operations/updateagent.js +52 -43
- package/models/operations/updateagent.js.map +1 -1
- package/models/operations/updatebudget.js +2 -2
- package/models/operations/updatecontact.js +2 -2
- package/models/operations/updatedatapoint.js +8 -8
- package/models/operations/updatedataset.js +2 -2
- package/models/operations/updatedatasource.js +2 -2
- package/models/operations/updateeval.js +28 -28
- package/models/operations/updatetool.d.ts +394 -114
- package/models/operations/updatetool.d.ts.map +1 -1
- package/models/operations/updatetool.js +356 -95
- package/models/operations/updatetool.js.map +1 -1
- package/package.json +1 -1
- package/sdk/tools.d.ts +7 -0
- package/sdk/tools.d.ts.map +1 -1
- package/sdk/tools.js +10 -0
- package/sdk/tools.js.map +1 -1
- package/src/funcs/toolsCreate.ts +11 -2
- package/src/funcs/toolsSync.ts +176 -0
- package/src/lib/config.ts +3 -3
- package/src/mcp-server/mcp-server.ts +1 -1
- package/src/mcp-server/server.ts +3 -1
- package/src/mcp-server/tools/toolsSync.ts +37 -0
- package/src/models/operations/createagent.ts +114 -40
- package/src/models/operations/createbudget.ts +2 -2
- package/src/models/operations/createcontact.ts +2 -2
- package/src/models/operations/createdataset.ts +2 -2
- package/src/models/operations/createdatasetitem.ts +8 -8
- package/src/models/operations/createdatasource.ts +2 -2
- package/src/models/operations/createeval.ts +28 -28
- package/src/models/operations/createtool.ts +873 -277
- package/src/models/operations/deploymentgetconfig.ts +29 -20
- package/src/models/operations/duplicateagent.ts +0 -37
- package/src/models/operations/duplicatetool.ts +466 -87
- package/src/models/operations/fileget.ts +2 -2
- package/src/models/operations/filelist.ts +2 -2
- package/src/models/operations/fileupload.ts +2 -2
- package/src/models/operations/getagent.ts +0 -38
- package/src/models/operations/getalltools.ts +447 -96
- package/src/models/operations/getbudget.ts +2 -2
- package/src/models/operations/getevals.ts +28 -28
- package/src/models/operations/index.ts +1 -0
- package/src/models/operations/listagents.ts +0 -37
- package/src/models/operations/listbudgets.ts +2 -2
- package/src/models/operations/listcontacts.ts +2 -2
- package/src/models/operations/listdatasetdatapoints.ts +8 -8
- package/src/models/operations/listdatasets.ts +2 -2
- package/src/models/operations/listdatasources.ts +2 -2
- package/src/models/operations/retrievecontact.ts +2 -2
- package/src/models/operations/retrievedatapoint.ts +8 -8
- package/src/models/operations/retrievedataset.ts +2 -2
- package/src/models/operations/retrievedatasource.ts +2 -2
- package/src/models/operations/retrievetool.ts +466 -85
- package/src/models/operations/runagent.ts +656 -25
- package/src/models/operations/streamrunagent.ts +749 -34
- package/src/models/operations/syncmcptool.ts +2599 -0
- package/src/models/operations/updateagent.ts +121 -77
- package/src/models/operations/updatebudget.ts +2 -2
- package/src/models/operations/updatecontact.ts +2 -2
- package/src/models/operations/updatedatapoint.ts +8 -8
- package/src/models/operations/updatedataset.ts +2 -2
- package/src/models/operations/updatedatasource.ts +2 -2
- package/src/models/operations/updateeval.ts +28 -28
- package/src/models/operations/updatetool.ts +910 -190
- package/src/sdk/tools.ts +18 -0
|
@@ -19,6 +19,38 @@ export declare const UpdateToolRequestBodyToolsRequest5Type: {
|
|
|
19
19
|
readonly Code: "code";
|
|
20
20
|
};
|
|
21
21
|
export type UpdateToolRequestBodyToolsRequest5Type = ClosedEnum<typeof UpdateToolRequestBodyToolsRequest5Type>;
|
|
22
|
+
/**
|
|
23
|
+
* The type must be "object"
|
|
24
|
+
*/
|
|
25
|
+
export declare const UpdateToolRequestBodyToolsRequest5CodeToolType: {
|
|
26
|
+
readonly Object: "object";
|
|
27
|
+
};
|
|
28
|
+
/**
|
|
29
|
+
* The type must be "object"
|
|
30
|
+
*/
|
|
31
|
+
export type UpdateToolRequestBodyToolsRequest5CodeToolType = ClosedEnum<typeof UpdateToolRequestBodyToolsRequest5CodeToolType>;
|
|
32
|
+
/**
|
|
33
|
+
* The parameters the functions accepts, described as a JSON Schema object. See the `OpenAI` [guide](https://platform.openai.com/docs/guides/function-calling) for examples, and the [JSON Schema reference](https://json-schema.org/understanding-json-schema/) for documentation about the format.
|
|
34
|
+
*/
|
|
35
|
+
export type UpdateToolRequestBodyToolsParameters = {
|
|
36
|
+
/**
|
|
37
|
+
* The type must be "object"
|
|
38
|
+
*/
|
|
39
|
+
type: UpdateToolRequestBodyToolsRequest5CodeToolType;
|
|
40
|
+
/**
|
|
41
|
+
* The properties of the function parameters
|
|
42
|
+
*/
|
|
43
|
+
properties: {
|
|
44
|
+
[k: string]: any;
|
|
45
|
+
};
|
|
46
|
+
/**
|
|
47
|
+
* Array of required parameter names
|
|
48
|
+
*/
|
|
49
|
+
required: Array<string>;
|
|
50
|
+
additionalProperties?: {
|
|
51
|
+
[k: string]: any;
|
|
52
|
+
} | undefined;
|
|
53
|
+
};
|
|
22
54
|
export declare const UpdateToolRequestBodyLanguage: {
|
|
23
55
|
readonly Python: "python";
|
|
24
56
|
};
|
|
@@ -27,9 +59,7 @@ export type UpdateToolRequestBodyCodeTool = {
|
|
|
27
59
|
/**
|
|
28
60
|
* The parameters the functions accepts, described as a JSON Schema object. See the `OpenAI` [guide](https://platform.openai.com/docs/guides/function-calling) for examples, and the [JSON Schema reference](https://json-schema.org/understanding-json-schema/) for documentation about the format.
|
|
29
61
|
*/
|
|
30
|
-
parameters?:
|
|
31
|
-
[k: string]: any;
|
|
32
|
-
} | undefined;
|
|
62
|
+
parameters?: UpdateToolRequestBodyToolsParameters | undefined;
|
|
33
63
|
language: UpdateToolRequestBodyLanguage;
|
|
34
64
|
/**
|
|
35
65
|
* The code to execute.
|
|
@@ -90,54 +120,48 @@ export declare const UpdateToolRequestBodyToolsRequest4McpType: {
|
|
|
90
120
|
readonly Object: "object";
|
|
91
121
|
};
|
|
92
122
|
export type UpdateToolRequestBodyToolsRequest4McpType = ClosedEnum<typeof UpdateToolRequestBodyToolsRequest4McpType>;
|
|
93
|
-
|
|
94
|
-
* The original MCP tool input schema for LLM conversion
|
|
95
|
-
*/
|
|
96
|
-
export type RequestBodyInputSchema = {
|
|
123
|
+
export type UpdateToolRequestBodyToolsSchema = {
|
|
97
124
|
type: UpdateToolRequestBodyToolsRequest4McpType;
|
|
98
125
|
properties?: {
|
|
99
126
|
[k: string]: any;
|
|
100
127
|
} | undefined;
|
|
101
128
|
required?: Array<string> | undefined;
|
|
102
129
|
};
|
|
130
|
+
export type RequestBodyTools = {
|
|
131
|
+
name: string;
|
|
132
|
+
description?: string | undefined;
|
|
133
|
+
schema: UpdateToolRequestBodyToolsSchema;
|
|
134
|
+
};
|
|
103
135
|
/**
|
|
104
136
|
* The connection type used by the MCP server
|
|
105
137
|
*/
|
|
106
|
-
export declare const
|
|
138
|
+
export declare const UpdateToolRequestBodyConnectionType: {
|
|
107
139
|
readonly Http: "http";
|
|
108
140
|
readonly Sse: "sse";
|
|
109
141
|
};
|
|
110
142
|
/**
|
|
111
143
|
* The connection type used by the MCP server
|
|
112
144
|
*/
|
|
113
|
-
export type
|
|
114
|
-
export type
|
|
115
|
-
/**
|
|
116
|
-
* The ID of the MCP server this tool belongs to
|
|
117
|
-
*/
|
|
118
|
-
serverId: string;
|
|
119
|
-
/**
|
|
120
|
-
* The original tool name from the MCP server
|
|
121
|
-
*/
|
|
122
|
-
toolName: string;
|
|
145
|
+
export type UpdateToolRequestBodyConnectionType = ClosedEnum<typeof UpdateToolRequestBodyConnectionType>;
|
|
146
|
+
export type UpdateToolRequestBodyMcp = {
|
|
123
147
|
/**
|
|
124
148
|
* The MCP server URL (cached for execution)
|
|
125
149
|
*/
|
|
126
|
-
serverUrl
|
|
150
|
+
serverUrl?: string | undefined;
|
|
127
151
|
/**
|
|
128
|
-
* HTTP headers for MCP server requests
|
|
152
|
+
* HTTP headers for MCP server requests with encryption support
|
|
129
153
|
*/
|
|
130
154
|
headers?: {
|
|
131
155
|
[k: string]: UpdateToolRequestBodyHeaders;
|
|
132
156
|
} | undefined;
|
|
133
157
|
/**
|
|
134
|
-
*
|
|
158
|
+
* Array of tools available from the MCP server
|
|
135
159
|
*/
|
|
136
|
-
|
|
160
|
+
tools?: Array<RequestBodyTools> | undefined;
|
|
137
161
|
/**
|
|
138
162
|
* The connection type used by the MCP server
|
|
139
163
|
*/
|
|
140
|
-
connectionType
|
|
164
|
+
connectionType?: UpdateToolRequestBodyConnectionType | undefined;
|
|
141
165
|
};
|
|
142
166
|
/**
|
|
143
167
|
* Updates an existing MCP tool configuration.
|
|
@@ -170,7 +194,7 @@ export type UpdateMCPTool = {
|
|
|
170
194
|
*/
|
|
171
195
|
status?: UpdateToolRequestBodyToolsRequest4Status | undefined;
|
|
172
196
|
type: UpdateToolRequestBodyToolsRequest4Type;
|
|
173
|
-
mcp?:
|
|
197
|
+
mcp?: UpdateToolRequestBodyMcp | undefined;
|
|
174
198
|
};
|
|
175
199
|
/**
|
|
176
200
|
* The status of the tool. `Live` is the latest version of the tool. `Draft` is a version that is not yet published. `Pending` is a version that is pending approval. `Published` is a version that was live and has been replaced by a new version.
|
|
@@ -202,10 +226,11 @@ export declare const UpdateToolRequestBodyMethod: {
|
|
|
202
226
|
* The HTTP method to use.
|
|
203
227
|
*/
|
|
204
228
|
export type UpdateToolRequestBodyMethod = ClosedEnum<typeof UpdateToolRequestBodyMethod>;
|
|
205
|
-
export type
|
|
229
|
+
export type UpdateToolHeaders2 = {
|
|
206
230
|
value: string;
|
|
207
231
|
encrypted?: boolean | undefined;
|
|
208
232
|
};
|
|
233
|
+
export type UpdateToolRequestBodyToolsHeaders = UpdateToolHeaders2 | string;
|
|
209
234
|
/**
|
|
210
235
|
* The blueprint for the HTTP request. The `arguments` field will be used to replace the placeholders in the `url`, `headers`, `body`, and `arguments` fields.
|
|
211
236
|
*/
|
|
@@ -219,10 +244,10 @@ export type UpdateToolRequestBodyBlueprint = {
|
|
|
219
244
|
*/
|
|
220
245
|
method: UpdateToolRequestBodyMethod;
|
|
221
246
|
/**
|
|
222
|
-
* The headers to send with the request.
|
|
247
|
+
* The headers to send with the request. Can be a string value or an object with value and encrypted properties.
|
|
223
248
|
*/
|
|
224
249
|
headers?: {
|
|
225
|
-
[k: string]:
|
|
250
|
+
[k: string]: UpdateToolHeaders2 | string;
|
|
226
251
|
} | undefined;
|
|
227
252
|
/**
|
|
228
253
|
* The body to send with the request.
|
|
@@ -327,6 +352,28 @@ export declare const UpdateToolRequestBodyToolsType: {
|
|
|
327
352
|
readonly JsonSchema: "json_schema";
|
|
328
353
|
};
|
|
329
354
|
export type UpdateToolRequestBodyToolsType = ClosedEnum<typeof UpdateToolRequestBodyToolsType>;
|
|
355
|
+
/**
|
|
356
|
+
* The schema for the response format, described as a JSON Schema object. See the [JSON Schema reference](https://json-schema.org/understanding-json-schema/) for documentation about the format.
|
|
357
|
+
*/
|
|
358
|
+
export type UpdateToolRequestBodySchema = {
|
|
359
|
+
/**
|
|
360
|
+
* The JSON Schema type
|
|
361
|
+
*/
|
|
362
|
+
type: string;
|
|
363
|
+
/**
|
|
364
|
+
* The properties of the JSON Schema object
|
|
365
|
+
*/
|
|
366
|
+
properties: {
|
|
367
|
+
[k: string]: any;
|
|
368
|
+
};
|
|
369
|
+
/**
|
|
370
|
+
* Array of required property names
|
|
371
|
+
*/
|
|
372
|
+
required: Array<string>;
|
|
373
|
+
additionalProperties?: {
|
|
374
|
+
[k: string]: any;
|
|
375
|
+
} | undefined;
|
|
376
|
+
};
|
|
330
377
|
export type UpdateToolRequestBodyJsonSchema = {
|
|
331
378
|
/**
|
|
332
379
|
* The name of the response format. Must be a-z, A-Z, 0-9, or contain underscores and dashes, with a maximum length of 64.
|
|
@@ -335,13 +382,11 @@ export type UpdateToolRequestBodyJsonSchema = {
|
|
|
335
382
|
/**
|
|
336
383
|
* A description of what the response format is for. This will be shown to the user.
|
|
337
384
|
*/
|
|
338
|
-
description
|
|
385
|
+
description: string;
|
|
339
386
|
/**
|
|
340
387
|
* The schema for the response format, described as a JSON Schema object. See the [JSON Schema reference](https://json-schema.org/understanding-json-schema/) for documentation about the format.
|
|
341
388
|
*/
|
|
342
|
-
schema:
|
|
343
|
-
[k: string]: any;
|
|
344
|
-
};
|
|
389
|
+
schema: UpdateToolRequestBodySchema;
|
|
345
390
|
/**
|
|
346
391
|
* Whether to enable strict schema adherence when generating the output. If set to true, the model will always follow the exact schema defined in the `schema` field. Only a subset of JSON Schema is supported when `strict` is `true`. Only compatible with `OpenAI` models.
|
|
347
392
|
*/
|
|
@@ -397,6 +442,38 @@ export declare const UpdateToolRequestBodyType: {
|
|
|
397
442
|
readonly Function: "function";
|
|
398
443
|
};
|
|
399
444
|
export type UpdateToolRequestBodyType = ClosedEnum<typeof UpdateToolRequestBodyType>;
|
|
445
|
+
/**
|
|
446
|
+
* The type must be "object"
|
|
447
|
+
*/
|
|
448
|
+
export declare const UpdateToolRequestBodyToolsRequest1Type: {
|
|
449
|
+
readonly Object: "object";
|
|
450
|
+
};
|
|
451
|
+
/**
|
|
452
|
+
* The type must be "object"
|
|
453
|
+
*/
|
|
454
|
+
export type UpdateToolRequestBodyToolsRequest1Type = ClosedEnum<typeof UpdateToolRequestBodyToolsRequest1Type>;
|
|
455
|
+
/**
|
|
456
|
+
* The parameters the functions accepts, described as a JSON Schema object. See the `OpenAI` [guide](https://platform.openai.com/docs/guides/function-calling) for examples, and the [JSON Schema reference](https://json-schema.org/understanding-json-schema/) for documentation about the format.
|
|
457
|
+
*/
|
|
458
|
+
export type UpdateToolRequestBodyParameters = {
|
|
459
|
+
/**
|
|
460
|
+
* The type must be "object"
|
|
461
|
+
*/
|
|
462
|
+
type: UpdateToolRequestBodyToolsRequest1Type;
|
|
463
|
+
/**
|
|
464
|
+
* The properties of the function parameters
|
|
465
|
+
*/
|
|
466
|
+
properties: {
|
|
467
|
+
[k: string]: any;
|
|
468
|
+
};
|
|
469
|
+
/**
|
|
470
|
+
* Array of required parameter names
|
|
471
|
+
*/
|
|
472
|
+
required: Array<string>;
|
|
473
|
+
additionalProperties?: {
|
|
474
|
+
[k: string]: any;
|
|
475
|
+
} | undefined;
|
|
476
|
+
};
|
|
400
477
|
export type UpdateToolRequestBodyFunction = {
|
|
401
478
|
/**
|
|
402
479
|
* The name of the function to be called. Must be a-z, A-Z, 0-9, or contain underscores and dashes, with a maximum length of 64.
|
|
@@ -413,9 +490,7 @@ export type UpdateToolRequestBodyFunction = {
|
|
|
413
490
|
/**
|
|
414
491
|
* The parameters the functions accepts, described as a JSON Schema object. See the `OpenAI` [guide](https://platform.openai.com/docs/guides/function-calling) for examples, and the [JSON Schema reference](https://json-schema.org/understanding-json-schema/) for documentation about the format.
|
|
415
492
|
*/
|
|
416
|
-
parameters?:
|
|
417
|
-
[k: string]: any;
|
|
418
|
-
} | undefined;
|
|
493
|
+
parameters?: UpdateToolRequestBodyParameters | undefined;
|
|
419
494
|
};
|
|
420
495
|
/**
|
|
421
496
|
* Updates an existing function tool configuration.
|
|
@@ -478,6 +553,38 @@ export declare const UpdateToolResponseBodyToolsResponse200ApplicationJSONType:
|
|
|
478
553
|
readonly Code: "code";
|
|
479
554
|
};
|
|
480
555
|
export type UpdateToolResponseBodyToolsResponse200ApplicationJSONType = ClosedEnum<typeof UpdateToolResponseBodyToolsResponse200ApplicationJSONType>;
|
|
556
|
+
/**
|
|
557
|
+
* The type must be "object"
|
|
558
|
+
*/
|
|
559
|
+
export declare const UpdateToolResponseBodyToolsResponse200ApplicationJson5Type: {
|
|
560
|
+
readonly Object: "object";
|
|
561
|
+
};
|
|
562
|
+
/**
|
|
563
|
+
* The type must be "object"
|
|
564
|
+
*/
|
|
565
|
+
export type UpdateToolResponseBodyToolsResponse200ApplicationJson5Type = ClosedEnum<typeof UpdateToolResponseBodyToolsResponse200ApplicationJson5Type>;
|
|
566
|
+
/**
|
|
567
|
+
* The parameters the functions accepts, described as a JSON Schema object. See the `OpenAI` [guide](https://platform.openai.com/docs/guides/function-calling) for examples, and the [JSON Schema reference](https://json-schema.org/understanding-json-schema/) for documentation about the format.
|
|
568
|
+
*/
|
|
569
|
+
export type UpdateToolResponseBodyToolsParameters = {
|
|
570
|
+
/**
|
|
571
|
+
* The type must be "object"
|
|
572
|
+
*/
|
|
573
|
+
type: UpdateToolResponseBodyToolsResponse200ApplicationJson5Type;
|
|
574
|
+
/**
|
|
575
|
+
* The properties of the function parameters
|
|
576
|
+
*/
|
|
577
|
+
properties: {
|
|
578
|
+
[k: string]: any;
|
|
579
|
+
};
|
|
580
|
+
/**
|
|
581
|
+
* Array of required parameter names
|
|
582
|
+
*/
|
|
583
|
+
required: Array<string>;
|
|
584
|
+
additionalProperties?: {
|
|
585
|
+
[k: string]: any;
|
|
586
|
+
} | undefined;
|
|
587
|
+
};
|
|
481
588
|
export declare const UpdateToolResponseBodyLanguage: {
|
|
482
589
|
readonly Python: "python";
|
|
483
590
|
};
|
|
@@ -486,9 +593,7 @@ export type UpdateToolResponseBodyCodeTool = {
|
|
|
486
593
|
/**
|
|
487
594
|
* The parameters the functions accepts, described as a JSON Schema object. See the `OpenAI` [guide](https://platform.openai.com/docs/guides/function-calling) for examples, and the [JSON Schema reference](https://json-schema.org/understanding-json-schema/) for documentation about the format.
|
|
488
595
|
*/
|
|
489
|
-
parameters?:
|
|
490
|
-
[k: string]: any;
|
|
491
|
-
} | undefined;
|
|
596
|
+
parameters?: UpdateToolResponseBodyToolsParameters | undefined;
|
|
492
597
|
language: UpdateToolResponseBodyLanguage;
|
|
493
598
|
/**
|
|
494
599
|
* The code to execute.
|
|
@@ -564,16 +669,18 @@ export declare const UpdateToolResponseBodyToolsResponse200ApplicationJson4Type:
|
|
|
564
669
|
readonly Object: "object";
|
|
565
670
|
};
|
|
566
671
|
export type UpdateToolResponseBodyToolsResponse200ApplicationJson4Type = ClosedEnum<typeof UpdateToolResponseBodyToolsResponse200ApplicationJson4Type>;
|
|
567
|
-
|
|
568
|
-
* The original MCP tool input schema for LLM conversion
|
|
569
|
-
*/
|
|
570
|
-
export type UpdateToolResponseBodyInputSchema = {
|
|
672
|
+
export type UpdateToolResponseBodyToolsSchema = {
|
|
571
673
|
type: UpdateToolResponseBodyToolsResponse200ApplicationJson4Type;
|
|
572
674
|
properties?: {
|
|
573
675
|
[k: string]: any;
|
|
574
676
|
} | undefined;
|
|
575
677
|
required?: Array<string> | undefined;
|
|
576
678
|
};
|
|
679
|
+
export type UpdateToolResponseBodyTools = {
|
|
680
|
+
name: string;
|
|
681
|
+
description?: string | undefined;
|
|
682
|
+
schema: UpdateToolResponseBodyToolsSchema;
|
|
683
|
+
};
|
|
577
684
|
/**
|
|
578
685
|
* The connection type used by the MCP server
|
|
579
686
|
*/
|
|
@@ -586,28 +693,20 @@ export declare const UpdateToolResponseBodyConnectionType: {
|
|
|
586
693
|
*/
|
|
587
694
|
export type UpdateToolResponseBodyConnectionType = ClosedEnum<typeof UpdateToolResponseBodyConnectionType>;
|
|
588
695
|
export type UpdateToolResponseBodyMcp = {
|
|
589
|
-
/**
|
|
590
|
-
* The ID of the MCP server this tool belongs to
|
|
591
|
-
*/
|
|
592
|
-
serverId: string;
|
|
593
|
-
/**
|
|
594
|
-
* The original tool name from the MCP server
|
|
595
|
-
*/
|
|
596
|
-
toolName: string;
|
|
597
696
|
/**
|
|
598
697
|
* The MCP server URL (cached for execution)
|
|
599
698
|
*/
|
|
600
699
|
serverUrl: string;
|
|
601
700
|
/**
|
|
602
|
-
* HTTP headers for MCP server requests
|
|
701
|
+
* HTTP headers for MCP server requests with encryption support
|
|
603
702
|
*/
|
|
604
703
|
headers?: {
|
|
605
704
|
[k: string]: UpdateToolResponseBodyHeaders;
|
|
606
705
|
} | undefined;
|
|
607
706
|
/**
|
|
608
|
-
*
|
|
707
|
+
* Array of tools available from the MCP server
|
|
609
708
|
*/
|
|
610
|
-
|
|
709
|
+
tools: Array<UpdateToolResponseBodyTools>;
|
|
611
710
|
/**
|
|
612
711
|
* The connection type used by the MCP server
|
|
613
712
|
*/
|
|
@@ -687,10 +786,11 @@ export declare const UpdateToolResponseBodyMethod: {
|
|
|
687
786
|
* The HTTP method to use.
|
|
688
787
|
*/
|
|
689
788
|
export type UpdateToolResponseBodyMethod = ClosedEnum<typeof UpdateToolResponseBodyMethod>;
|
|
690
|
-
export type
|
|
789
|
+
export type UpdateToolHeadersTools2 = {
|
|
691
790
|
value: string;
|
|
692
791
|
encrypted?: boolean | undefined;
|
|
693
792
|
};
|
|
793
|
+
export type UpdateToolResponseBodyToolsHeaders = UpdateToolHeadersTools2 | string;
|
|
694
794
|
/**
|
|
695
795
|
* The blueprint for the HTTP request. The `arguments` field will be used to replace the placeholders in the `url`, `headers`, `body`, and `arguments` fields.
|
|
696
796
|
*/
|
|
@@ -704,10 +804,10 @@ export type UpdateToolResponseBodyBlueprint = {
|
|
|
704
804
|
*/
|
|
705
805
|
method: UpdateToolResponseBodyMethod;
|
|
706
806
|
/**
|
|
707
|
-
* The headers to send with the request.
|
|
807
|
+
* The headers to send with the request. Can be a string value or an object with value and encrypted properties.
|
|
708
808
|
*/
|
|
709
809
|
headers?: {
|
|
710
|
-
[k: string]:
|
|
810
|
+
[k: string]: UpdateToolHeadersTools2 | string;
|
|
711
811
|
} | undefined;
|
|
712
812
|
/**
|
|
713
813
|
* The body to send with the request.
|
|
@@ -823,6 +923,28 @@ export declare const UpdateToolResponseBodyToolsType: {
|
|
|
823
923
|
readonly JsonSchema: "json_schema";
|
|
824
924
|
};
|
|
825
925
|
export type UpdateToolResponseBodyToolsType = ClosedEnum<typeof UpdateToolResponseBodyToolsType>;
|
|
926
|
+
/**
|
|
927
|
+
* The schema for the response format, described as a JSON Schema object. See the [JSON Schema reference](https://json-schema.org/understanding-json-schema/) for documentation about the format.
|
|
928
|
+
*/
|
|
929
|
+
export type UpdateToolResponseBodySchema = {
|
|
930
|
+
/**
|
|
931
|
+
* The JSON Schema type
|
|
932
|
+
*/
|
|
933
|
+
type: string;
|
|
934
|
+
/**
|
|
935
|
+
* The properties of the JSON Schema object
|
|
936
|
+
*/
|
|
937
|
+
properties: {
|
|
938
|
+
[k: string]: any;
|
|
939
|
+
};
|
|
940
|
+
/**
|
|
941
|
+
* Array of required property names
|
|
942
|
+
*/
|
|
943
|
+
required: Array<string>;
|
|
944
|
+
additionalProperties?: {
|
|
945
|
+
[k: string]: any;
|
|
946
|
+
} | undefined;
|
|
947
|
+
};
|
|
826
948
|
export type UpdateToolResponseBodyJsonSchema = {
|
|
827
949
|
/**
|
|
828
950
|
* The name of the response format. Must be a-z, A-Z, 0-9, or contain underscores and dashes, with a maximum length of 64.
|
|
@@ -831,13 +953,11 @@ export type UpdateToolResponseBodyJsonSchema = {
|
|
|
831
953
|
/**
|
|
832
954
|
* A description of what the response format is for. This will be shown to the user.
|
|
833
955
|
*/
|
|
834
|
-
description
|
|
956
|
+
description: string;
|
|
835
957
|
/**
|
|
836
958
|
* The schema for the response format, described as a JSON Schema object. See the [JSON Schema reference](https://json-schema.org/understanding-json-schema/) for documentation about the format.
|
|
837
959
|
*/
|
|
838
|
-
schema:
|
|
839
|
-
[k: string]: any;
|
|
840
|
-
};
|
|
960
|
+
schema: UpdateToolResponseBodySchema;
|
|
841
961
|
/**
|
|
842
962
|
* Whether to enable strict schema adherence when generating the output. If set to true, the model will always follow the exact schema defined in the `schema` field. Only a subset of JSON Schema is supported when `strict` is `true`. Only compatible with `OpenAI` models.
|
|
843
963
|
*/
|
|
@@ -904,6 +1024,38 @@ export declare const UpdateToolResponseBodyType: {
|
|
|
904
1024
|
readonly Function: "function";
|
|
905
1025
|
};
|
|
906
1026
|
export type UpdateToolResponseBodyType = ClosedEnum<typeof UpdateToolResponseBodyType>;
|
|
1027
|
+
/**
|
|
1028
|
+
* The type must be "object"
|
|
1029
|
+
*/
|
|
1030
|
+
export declare const UpdateToolResponseBodyToolsResponse200ApplicationJson1Type: {
|
|
1031
|
+
readonly Object: "object";
|
|
1032
|
+
};
|
|
1033
|
+
/**
|
|
1034
|
+
* The type must be "object"
|
|
1035
|
+
*/
|
|
1036
|
+
export type UpdateToolResponseBodyToolsResponse200ApplicationJson1Type = ClosedEnum<typeof UpdateToolResponseBodyToolsResponse200ApplicationJson1Type>;
|
|
1037
|
+
/**
|
|
1038
|
+
* The parameters the functions accepts, described as a JSON Schema object. See the `OpenAI` [guide](https://platform.openai.com/docs/guides/function-calling) for examples, and the [JSON Schema reference](https://json-schema.org/understanding-json-schema/) for documentation about the format.
|
|
1039
|
+
*/
|
|
1040
|
+
export type UpdateToolResponseBodyParameters = {
|
|
1041
|
+
/**
|
|
1042
|
+
* The type must be "object"
|
|
1043
|
+
*/
|
|
1044
|
+
type: UpdateToolResponseBodyToolsResponse200ApplicationJson1Type;
|
|
1045
|
+
/**
|
|
1046
|
+
* The properties of the function parameters
|
|
1047
|
+
*/
|
|
1048
|
+
properties: {
|
|
1049
|
+
[k: string]: any;
|
|
1050
|
+
};
|
|
1051
|
+
/**
|
|
1052
|
+
* Array of required parameter names
|
|
1053
|
+
*/
|
|
1054
|
+
required: Array<string>;
|
|
1055
|
+
additionalProperties?: {
|
|
1056
|
+
[k: string]: any;
|
|
1057
|
+
} | undefined;
|
|
1058
|
+
};
|
|
907
1059
|
export type UpdateToolResponseBodyFunction = {
|
|
908
1060
|
/**
|
|
909
1061
|
* The name of the function to be called. Must be a-z, A-Z, 0-9, or contain underscores and dashes, with a maximum length of 64.
|
|
@@ -920,9 +1072,7 @@ export type UpdateToolResponseBodyFunction = {
|
|
|
920
1072
|
/**
|
|
921
1073
|
* The parameters the functions accepts, described as a JSON Schema object. See the `OpenAI` [guide](https://platform.openai.com/docs/guides/function-calling) for examples, and the [JSON Schema reference](https://json-schema.org/understanding-json-schema/) for documentation about the format.
|
|
922
1074
|
*/
|
|
923
|
-
parameters?:
|
|
924
|
-
[k: string]: any;
|
|
925
|
-
} | undefined;
|
|
1075
|
+
parameters?: UpdateToolResponseBodyParameters | undefined;
|
|
926
1076
|
};
|
|
927
1077
|
export type UpdateToolResponseBody1 = {
|
|
928
1078
|
id?: string | undefined;
|
|
@@ -981,6 +1131,25 @@ export declare const UpdateToolRequestBodyToolsRequest5Type$inboundSchema: z.Zod
|
|
|
981
1131
|
/** @internal */
|
|
982
1132
|
export declare const UpdateToolRequestBodyToolsRequest5Type$outboundSchema: z.ZodNativeEnum<typeof UpdateToolRequestBodyToolsRequest5Type>;
|
|
983
1133
|
/** @internal */
|
|
1134
|
+
export declare const UpdateToolRequestBodyToolsRequest5CodeToolType$inboundSchema: z.ZodNativeEnum<typeof UpdateToolRequestBodyToolsRequest5CodeToolType>;
|
|
1135
|
+
/** @internal */
|
|
1136
|
+
export declare const UpdateToolRequestBodyToolsRequest5CodeToolType$outboundSchema: z.ZodNativeEnum<typeof UpdateToolRequestBodyToolsRequest5CodeToolType>;
|
|
1137
|
+
/** @internal */
|
|
1138
|
+
export declare const UpdateToolRequestBodyToolsParameters$inboundSchema: z.ZodType<UpdateToolRequestBodyToolsParameters, z.ZodTypeDef, unknown>;
|
|
1139
|
+
/** @internal */
|
|
1140
|
+
export type UpdateToolRequestBodyToolsParameters$Outbound = {
|
|
1141
|
+
type: string;
|
|
1142
|
+
properties: {
|
|
1143
|
+
[k: string]: any;
|
|
1144
|
+
};
|
|
1145
|
+
required: Array<string>;
|
|
1146
|
+
[additionalProperties: string]: unknown;
|
|
1147
|
+
};
|
|
1148
|
+
/** @internal */
|
|
1149
|
+
export declare const UpdateToolRequestBodyToolsParameters$outboundSchema: z.ZodType<UpdateToolRequestBodyToolsParameters$Outbound, z.ZodTypeDef, UpdateToolRequestBodyToolsParameters>;
|
|
1150
|
+
export declare function updateToolRequestBodyToolsParametersToJSON(updateToolRequestBodyToolsParameters: UpdateToolRequestBodyToolsParameters): string;
|
|
1151
|
+
export declare function updateToolRequestBodyToolsParametersFromJSON(jsonString: string): SafeParseResult<UpdateToolRequestBodyToolsParameters, SDKValidationError>;
|
|
1152
|
+
/** @internal */
|
|
984
1153
|
export declare const UpdateToolRequestBodyLanguage$inboundSchema: z.ZodNativeEnum<typeof UpdateToolRequestBodyLanguage>;
|
|
985
1154
|
/** @internal */
|
|
986
1155
|
export declare const UpdateToolRequestBodyLanguage$outboundSchema: z.ZodNativeEnum<typeof UpdateToolRequestBodyLanguage>;
|
|
@@ -988,9 +1157,7 @@ export declare const UpdateToolRequestBodyLanguage$outboundSchema: z.ZodNativeEn
|
|
|
988
1157
|
export declare const UpdateToolRequestBodyCodeTool$inboundSchema: z.ZodType<UpdateToolRequestBodyCodeTool, z.ZodTypeDef, unknown>;
|
|
989
1158
|
/** @internal */
|
|
990
1159
|
export type UpdateToolRequestBodyCodeTool$Outbound = {
|
|
991
|
-
parameters?:
|
|
992
|
-
[k: string]: any;
|
|
993
|
-
} | undefined;
|
|
1160
|
+
parameters?: UpdateToolRequestBodyToolsParameters$Outbound | undefined;
|
|
994
1161
|
language: string;
|
|
995
1162
|
code: string;
|
|
996
1163
|
};
|
|
@@ -1037,9 +1204,9 @@ export declare const UpdateToolRequestBodyToolsRequest4McpType$inboundSchema: z.
|
|
|
1037
1204
|
/** @internal */
|
|
1038
1205
|
export declare const UpdateToolRequestBodyToolsRequest4McpType$outboundSchema: z.ZodNativeEnum<typeof UpdateToolRequestBodyToolsRequest4McpType>;
|
|
1039
1206
|
/** @internal */
|
|
1040
|
-
export declare const
|
|
1207
|
+
export declare const UpdateToolRequestBodyToolsSchema$inboundSchema: z.ZodType<UpdateToolRequestBodyToolsSchema, z.ZodTypeDef, unknown>;
|
|
1041
1208
|
/** @internal */
|
|
1042
|
-
export type
|
|
1209
|
+
export type UpdateToolRequestBodyToolsSchema$Outbound = {
|
|
1043
1210
|
type: string;
|
|
1044
1211
|
properties?: {
|
|
1045
1212
|
[k: string]: any;
|
|
@@ -1047,30 +1214,40 @@ export type RequestBodyInputSchema$Outbound = {
|
|
|
1047
1214
|
required?: Array<string> | undefined;
|
|
1048
1215
|
};
|
|
1049
1216
|
/** @internal */
|
|
1050
|
-
export declare const
|
|
1051
|
-
export declare function
|
|
1052
|
-
export declare function
|
|
1217
|
+
export declare const UpdateToolRequestBodyToolsSchema$outboundSchema: z.ZodType<UpdateToolRequestBodyToolsSchema$Outbound, z.ZodTypeDef, UpdateToolRequestBodyToolsSchema>;
|
|
1218
|
+
export declare function updateToolRequestBodyToolsSchemaToJSON(updateToolRequestBodyToolsSchema: UpdateToolRequestBodyToolsSchema): string;
|
|
1219
|
+
export declare function updateToolRequestBodyToolsSchemaFromJSON(jsonString: string): SafeParseResult<UpdateToolRequestBodyToolsSchema, SDKValidationError>;
|
|
1220
|
+
/** @internal */
|
|
1221
|
+
export declare const RequestBodyTools$inboundSchema: z.ZodType<RequestBodyTools, z.ZodTypeDef, unknown>;
|
|
1222
|
+
/** @internal */
|
|
1223
|
+
export type RequestBodyTools$Outbound = {
|
|
1224
|
+
name: string;
|
|
1225
|
+
description?: string | undefined;
|
|
1226
|
+
schema: UpdateToolRequestBodyToolsSchema$Outbound;
|
|
1227
|
+
};
|
|
1228
|
+
/** @internal */
|
|
1229
|
+
export declare const RequestBodyTools$outboundSchema: z.ZodType<RequestBodyTools$Outbound, z.ZodTypeDef, RequestBodyTools>;
|
|
1230
|
+
export declare function requestBodyToolsToJSON(requestBodyTools: RequestBodyTools): string;
|
|
1231
|
+
export declare function requestBodyToolsFromJSON(jsonString: string): SafeParseResult<RequestBodyTools, SDKValidationError>;
|
|
1053
1232
|
/** @internal */
|
|
1054
|
-
export declare const
|
|
1233
|
+
export declare const UpdateToolRequestBodyConnectionType$inboundSchema: z.ZodNativeEnum<typeof UpdateToolRequestBodyConnectionType>;
|
|
1055
1234
|
/** @internal */
|
|
1056
|
-
export declare const
|
|
1235
|
+
export declare const UpdateToolRequestBodyConnectionType$outboundSchema: z.ZodNativeEnum<typeof UpdateToolRequestBodyConnectionType>;
|
|
1057
1236
|
/** @internal */
|
|
1058
|
-
export declare const
|
|
1237
|
+
export declare const UpdateToolRequestBodyMcp$inboundSchema: z.ZodType<UpdateToolRequestBodyMcp, z.ZodTypeDef, unknown>;
|
|
1059
1238
|
/** @internal */
|
|
1060
|
-
export type
|
|
1061
|
-
|
|
1062
|
-
tool_name: string;
|
|
1063
|
-
server_url: string;
|
|
1239
|
+
export type UpdateToolRequestBodyMcp$Outbound = {
|
|
1240
|
+
server_url?: string | undefined;
|
|
1064
1241
|
headers?: {
|
|
1065
1242
|
[k: string]: UpdateToolRequestBodyHeaders$Outbound;
|
|
1066
1243
|
} | undefined;
|
|
1067
|
-
|
|
1068
|
-
connection_type
|
|
1244
|
+
tools?: Array<RequestBodyTools$Outbound> | undefined;
|
|
1245
|
+
connection_type?: string | undefined;
|
|
1069
1246
|
};
|
|
1070
1247
|
/** @internal */
|
|
1071
|
-
export declare const
|
|
1072
|
-
export declare function
|
|
1073
|
-
export declare function
|
|
1248
|
+
export declare const UpdateToolRequestBodyMcp$outboundSchema: z.ZodType<UpdateToolRequestBodyMcp$Outbound, z.ZodTypeDef, UpdateToolRequestBodyMcp>;
|
|
1249
|
+
export declare function updateToolRequestBodyMcpToJSON(updateToolRequestBodyMcp: UpdateToolRequestBodyMcp): string;
|
|
1250
|
+
export declare function updateToolRequestBodyMcpFromJSON(jsonString: string): SafeParseResult<UpdateToolRequestBodyMcp, SDKValidationError>;
|
|
1074
1251
|
/** @internal */
|
|
1075
1252
|
export declare const UpdateMCPTool$inboundSchema: z.ZodType<UpdateMCPTool, z.ZodTypeDef, unknown>;
|
|
1076
1253
|
/** @internal */
|
|
@@ -1081,7 +1258,7 @@ export type UpdateMCPTool$Outbound = {
|
|
|
1081
1258
|
description?: string | undefined;
|
|
1082
1259
|
status: string;
|
|
1083
1260
|
type: string;
|
|
1084
|
-
mcp?:
|
|
1261
|
+
mcp?: UpdateToolRequestBodyMcp$Outbound | undefined;
|
|
1085
1262
|
};
|
|
1086
1263
|
/** @internal */
|
|
1087
1264
|
export declare const UpdateMCPTool$outboundSchema: z.ZodType<UpdateMCPTool$Outbound, z.ZodTypeDef, UpdateMCPTool>;
|
|
@@ -1100,13 +1277,21 @@ export declare const UpdateToolRequestBodyMethod$inboundSchema: z.ZodNativeEnum<
|
|
|
1100
1277
|
/** @internal */
|
|
1101
1278
|
export declare const UpdateToolRequestBodyMethod$outboundSchema: z.ZodNativeEnum<typeof UpdateToolRequestBodyMethod>;
|
|
1102
1279
|
/** @internal */
|
|
1103
|
-
export declare const
|
|
1280
|
+
export declare const UpdateToolHeaders2$inboundSchema: z.ZodType<UpdateToolHeaders2, z.ZodTypeDef, unknown>;
|
|
1104
1281
|
/** @internal */
|
|
1105
|
-
export type
|
|
1282
|
+
export type UpdateToolHeaders2$Outbound = {
|
|
1106
1283
|
value: string;
|
|
1107
1284
|
encrypted: boolean;
|
|
1108
1285
|
};
|
|
1109
1286
|
/** @internal */
|
|
1287
|
+
export declare const UpdateToolHeaders2$outboundSchema: z.ZodType<UpdateToolHeaders2$Outbound, z.ZodTypeDef, UpdateToolHeaders2>;
|
|
1288
|
+
export declare function updateToolHeaders2ToJSON(updateToolHeaders2: UpdateToolHeaders2): string;
|
|
1289
|
+
export declare function updateToolHeaders2FromJSON(jsonString: string): SafeParseResult<UpdateToolHeaders2, SDKValidationError>;
|
|
1290
|
+
/** @internal */
|
|
1291
|
+
export declare const UpdateToolRequestBodyToolsHeaders$inboundSchema: z.ZodType<UpdateToolRequestBodyToolsHeaders, z.ZodTypeDef, unknown>;
|
|
1292
|
+
/** @internal */
|
|
1293
|
+
export type UpdateToolRequestBodyToolsHeaders$Outbound = UpdateToolHeaders2$Outbound | string;
|
|
1294
|
+
/** @internal */
|
|
1110
1295
|
export declare const UpdateToolRequestBodyToolsHeaders$outboundSchema: z.ZodType<UpdateToolRequestBodyToolsHeaders$Outbound, z.ZodTypeDef, UpdateToolRequestBodyToolsHeaders>;
|
|
1111
1296
|
export declare function updateToolRequestBodyToolsHeadersToJSON(updateToolRequestBodyToolsHeaders: UpdateToolRequestBodyToolsHeaders): string;
|
|
1112
1297
|
export declare function updateToolRequestBodyToolsHeadersFromJSON(jsonString: string): SafeParseResult<UpdateToolRequestBodyToolsHeaders, SDKValidationError>;
|
|
@@ -1117,7 +1302,7 @@ export type UpdateToolRequestBodyBlueprint$Outbound = {
|
|
|
1117
1302
|
url: string;
|
|
1118
1303
|
method: string;
|
|
1119
1304
|
headers?: {
|
|
1120
|
-
[k: string]:
|
|
1305
|
+
[k: string]: UpdateToolHeaders2$Outbound | string;
|
|
1121
1306
|
} | undefined;
|
|
1122
1307
|
body?: {
|
|
1123
1308
|
[k: string]: any;
|
|
@@ -1190,14 +1375,27 @@ export declare const UpdateToolRequestBodyToolsType$inboundSchema: z.ZodNativeEn
|
|
|
1190
1375
|
/** @internal */
|
|
1191
1376
|
export declare const UpdateToolRequestBodyToolsType$outboundSchema: z.ZodNativeEnum<typeof UpdateToolRequestBodyToolsType>;
|
|
1192
1377
|
/** @internal */
|
|
1378
|
+
export declare const UpdateToolRequestBodySchema$inboundSchema: z.ZodType<UpdateToolRequestBodySchema, z.ZodTypeDef, unknown>;
|
|
1379
|
+
/** @internal */
|
|
1380
|
+
export type UpdateToolRequestBodySchema$Outbound = {
|
|
1381
|
+
type: string;
|
|
1382
|
+
properties: {
|
|
1383
|
+
[k: string]: any;
|
|
1384
|
+
};
|
|
1385
|
+
required: Array<string>;
|
|
1386
|
+
[additionalProperties: string]: unknown;
|
|
1387
|
+
};
|
|
1388
|
+
/** @internal */
|
|
1389
|
+
export declare const UpdateToolRequestBodySchema$outboundSchema: z.ZodType<UpdateToolRequestBodySchema$Outbound, z.ZodTypeDef, UpdateToolRequestBodySchema>;
|
|
1390
|
+
export declare function updateToolRequestBodySchemaToJSON(updateToolRequestBodySchema: UpdateToolRequestBodySchema): string;
|
|
1391
|
+
export declare function updateToolRequestBodySchemaFromJSON(jsonString: string): SafeParseResult<UpdateToolRequestBodySchema, SDKValidationError>;
|
|
1392
|
+
/** @internal */
|
|
1193
1393
|
export declare const UpdateToolRequestBodyJsonSchema$inboundSchema: z.ZodType<UpdateToolRequestBodyJsonSchema, z.ZodTypeDef, unknown>;
|
|
1194
1394
|
/** @internal */
|
|
1195
1395
|
export type UpdateToolRequestBodyJsonSchema$Outbound = {
|
|
1196
1396
|
name: string;
|
|
1197
|
-
description
|
|
1198
|
-
schema:
|
|
1199
|
-
[k: string]: any;
|
|
1200
|
-
};
|
|
1397
|
+
description: string;
|
|
1398
|
+
schema: UpdateToolRequestBodySchema$Outbound;
|
|
1201
1399
|
strict?: boolean | undefined;
|
|
1202
1400
|
};
|
|
1203
1401
|
/** @internal */
|
|
@@ -1229,15 +1427,32 @@ export declare const UpdateToolRequestBodyType$inboundSchema: z.ZodNativeEnum<ty
|
|
|
1229
1427
|
/** @internal */
|
|
1230
1428
|
export declare const UpdateToolRequestBodyType$outboundSchema: z.ZodNativeEnum<typeof UpdateToolRequestBodyType>;
|
|
1231
1429
|
/** @internal */
|
|
1430
|
+
export declare const UpdateToolRequestBodyToolsRequest1Type$inboundSchema: z.ZodNativeEnum<typeof UpdateToolRequestBodyToolsRequest1Type>;
|
|
1431
|
+
/** @internal */
|
|
1432
|
+
export declare const UpdateToolRequestBodyToolsRequest1Type$outboundSchema: z.ZodNativeEnum<typeof UpdateToolRequestBodyToolsRequest1Type>;
|
|
1433
|
+
/** @internal */
|
|
1434
|
+
export declare const UpdateToolRequestBodyParameters$inboundSchema: z.ZodType<UpdateToolRequestBodyParameters, z.ZodTypeDef, unknown>;
|
|
1435
|
+
/** @internal */
|
|
1436
|
+
export type UpdateToolRequestBodyParameters$Outbound = {
|
|
1437
|
+
type: string;
|
|
1438
|
+
properties: {
|
|
1439
|
+
[k: string]: any;
|
|
1440
|
+
};
|
|
1441
|
+
required: Array<string>;
|
|
1442
|
+
[additionalProperties: string]: unknown;
|
|
1443
|
+
};
|
|
1444
|
+
/** @internal */
|
|
1445
|
+
export declare const UpdateToolRequestBodyParameters$outboundSchema: z.ZodType<UpdateToolRequestBodyParameters$Outbound, z.ZodTypeDef, UpdateToolRequestBodyParameters>;
|
|
1446
|
+
export declare function updateToolRequestBodyParametersToJSON(updateToolRequestBodyParameters: UpdateToolRequestBodyParameters): string;
|
|
1447
|
+
export declare function updateToolRequestBodyParametersFromJSON(jsonString: string): SafeParseResult<UpdateToolRequestBodyParameters, SDKValidationError>;
|
|
1448
|
+
/** @internal */
|
|
1232
1449
|
export declare const UpdateToolRequestBodyFunction$inboundSchema: z.ZodType<UpdateToolRequestBodyFunction, z.ZodTypeDef, unknown>;
|
|
1233
1450
|
/** @internal */
|
|
1234
1451
|
export type UpdateToolRequestBodyFunction$Outbound = {
|
|
1235
1452
|
name: string;
|
|
1236
1453
|
description?: string | undefined;
|
|
1237
1454
|
strict?: boolean | undefined;
|
|
1238
|
-
parameters?:
|
|
1239
|
-
[k: string]: any;
|
|
1240
|
-
} | undefined;
|
|
1455
|
+
parameters?: UpdateToolRequestBodyParameters$Outbound | undefined;
|
|
1241
1456
|
};
|
|
1242
1457
|
/** @internal */
|
|
1243
1458
|
export declare const UpdateToolRequestBodyFunction$outboundSchema: z.ZodType<UpdateToolRequestBodyFunction$Outbound, z.ZodTypeDef, UpdateToolRequestBodyFunction>;
|
|
@@ -1287,6 +1502,25 @@ export declare const UpdateToolResponseBodyToolsResponse200ApplicationJSONType$i
|
|
|
1287
1502
|
/** @internal */
|
|
1288
1503
|
export declare const UpdateToolResponseBodyToolsResponse200ApplicationJSONType$outboundSchema: z.ZodNativeEnum<typeof UpdateToolResponseBodyToolsResponse200ApplicationJSONType>;
|
|
1289
1504
|
/** @internal */
|
|
1505
|
+
export declare const UpdateToolResponseBodyToolsResponse200ApplicationJson5Type$inboundSchema: z.ZodNativeEnum<typeof UpdateToolResponseBodyToolsResponse200ApplicationJson5Type>;
|
|
1506
|
+
/** @internal */
|
|
1507
|
+
export declare const UpdateToolResponseBodyToolsResponse200ApplicationJson5Type$outboundSchema: z.ZodNativeEnum<typeof UpdateToolResponseBodyToolsResponse200ApplicationJson5Type>;
|
|
1508
|
+
/** @internal */
|
|
1509
|
+
export declare const UpdateToolResponseBodyToolsParameters$inboundSchema: z.ZodType<UpdateToolResponseBodyToolsParameters, z.ZodTypeDef, unknown>;
|
|
1510
|
+
/** @internal */
|
|
1511
|
+
export type UpdateToolResponseBodyToolsParameters$Outbound = {
|
|
1512
|
+
type: string;
|
|
1513
|
+
properties: {
|
|
1514
|
+
[k: string]: any;
|
|
1515
|
+
};
|
|
1516
|
+
required: Array<string>;
|
|
1517
|
+
[additionalProperties: string]: unknown;
|
|
1518
|
+
};
|
|
1519
|
+
/** @internal */
|
|
1520
|
+
export declare const UpdateToolResponseBodyToolsParameters$outboundSchema: z.ZodType<UpdateToolResponseBodyToolsParameters$Outbound, z.ZodTypeDef, UpdateToolResponseBodyToolsParameters>;
|
|
1521
|
+
export declare function updateToolResponseBodyToolsParametersToJSON(updateToolResponseBodyToolsParameters: UpdateToolResponseBodyToolsParameters): string;
|
|
1522
|
+
export declare function updateToolResponseBodyToolsParametersFromJSON(jsonString: string): SafeParseResult<UpdateToolResponseBodyToolsParameters, SDKValidationError>;
|
|
1523
|
+
/** @internal */
|
|
1290
1524
|
export declare const UpdateToolResponseBodyLanguage$inboundSchema: z.ZodNativeEnum<typeof UpdateToolResponseBodyLanguage>;
|
|
1291
1525
|
/** @internal */
|
|
1292
1526
|
export declare const UpdateToolResponseBodyLanguage$outboundSchema: z.ZodNativeEnum<typeof UpdateToolResponseBodyLanguage>;
|
|
@@ -1294,9 +1528,7 @@ export declare const UpdateToolResponseBodyLanguage$outboundSchema: z.ZodNativeE
|
|
|
1294
1528
|
export declare const UpdateToolResponseBodyCodeTool$inboundSchema: z.ZodType<UpdateToolResponseBodyCodeTool, z.ZodTypeDef, unknown>;
|
|
1295
1529
|
/** @internal */
|
|
1296
1530
|
export type UpdateToolResponseBodyCodeTool$Outbound = {
|
|
1297
|
-
parameters?:
|
|
1298
|
-
[k: string]: any;
|
|
1299
|
-
} | undefined;
|
|
1531
|
+
parameters?: UpdateToolResponseBodyToolsParameters$Outbound | undefined;
|
|
1300
1532
|
language: string;
|
|
1301
1533
|
code: string;
|
|
1302
1534
|
};
|
|
@@ -1352,9 +1584,9 @@ export declare const UpdateToolResponseBodyToolsResponse200ApplicationJson4Type$
|
|
|
1352
1584
|
/** @internal */
|
|
1353
1585
|
export declare const UpdateToolResponseBodyToolsResponse200ApplicationJson4Type$outboundSchema: z.ZodNativeEnum<typeof UpdateToolResponseBodyToolsResponse200ApplicationJson4Type>;
|
|
1354
1586
|
/** @internal */
|
|
1355
|
-
export declare const
|
|
1587
|
+
export declare const UpdateToolResponseBodyToolsSchema$inboundSchema: z.ZodType<UpdateToolResponseBodyToolsSchema, z.ZodTypeDef, unknown>;
|
|
1356
1588
|
/** @internal */
|
|
1357
|
-
export type
|
|
1589
|
+
export type UpdateToolResponseBodyToolsSchema$Outbound = {
|
|
1358
1590
|
type: string;
|
|
1359
1591
|
properties?: {
|
|
1360
1592
|
[k: string]: any;
|
|
@@ -1362,9 +1594,21 @@ export type UpdateToolResponseBodyInputSchema$Outbound = {
|
|
|
1362
1594
|
required?: Array<string> | undefined;
|
|
1363
1595
|
};
|
|
1364
1596
|
/** @internal */
|
|
1365
|
-
export declare const
|
|
1366
|
-
export declare function
|
|
1367
|
-
export declare function
|
|
1597
|
+
export declare const UpdateToolResponseBodyToolsSchema$outboundSchema: z.ZodType<UpdateToolResponseBodyToolsSchema$Outbound, z.ZodTypeDef, UpdateToolResponseBodyToolsSchema>;
|
|
1598
|
+
export declare function updateToolResponseBodyToolsSchemaToJSON(updateToolResponseBodyToolsSchema: UpdateToolResponseBodyToolsSchema): string;
|
|
1599
|
+
export declare function updateToolResponseBodyToolsSchemaFromJSON(jsonString: string): SafeParseResult<UpdateToolResponseBodyToolsSchema, SDKValidationError>;
|
|
1600
|
+
/** @internal */
|
|
1601
|
+
export declare const UpdateToolResponseBodyTools$inboundSchema: z.ZodType<UpdateToolResponseBodyTools, z.ZodTypeDef, unknown>;
|
|
1602
|
+
/** @internal */
|
|
1603
|
+
export type UpdateToolResponseBodyTools$Outbound = {
|
|
1604
|
+
name: string;
|
|
1605
|
+
description?: string | undefined;
|
|
1606
|
+
schema: UpdateToolResponseBodyToolsSchema$Outbound;
|
|
1607
|
+
};
|
|
1608
|
+
/** @internal */
|
|
1609
|
+
export declare const UpdateToolResponseBodyTools$outboundSchema: z.ZodType<UpdateToolResponseBodyTools$Outbound, z.ZodTypeDef, UpdateToolResponseBodyTools>;
|
|
1610
|
+
export declare function updateToolResponseBodyToolsToJSON(updateToolResponseBodyTools: UpdateToolResponseBodyTools): string;
|
|
1611
|
+
export declare function updateToolResponseBodyToolsFromJSON(jsonString: string): SafeParseResult<UpdateToolResponseBodyTools, SDKValidationError>;
|
|
1368
1612
|
/** @internal */
|
|
1369
1613
|
export declare const UpdateToolResponseBodyConnectionType$inboundSchema: z.ZodNativeEnum<typeof UpdateToolResponseBodyConnectionType>;
|
|
1370
1614
|
/** @internal */
|
|
@@ -1373,13 +1617,11 @@ export declare const UpdateToolResponseBodyConnectionType$outboundSchema: z.ZodN
|
|
|
1373
1617
|
export declare const UpdateToolResponseBodyMcp$inboundSchema: z.ZodType<UpdateToolResponseBodyMcp, z.ZodTypeDef, unknown>;
|
|
1374
1618
|
/** @internal */
|
|
1375
1619
|
export type UpdateToolResponseBodyMcp$Outbound = {
|
|
1376
|
-
server_id: string;
|
|
1377
|
-
tool_name: string;
|
|
1378
1620
|
server_url: string;
|
|
1379
1621
|
headers?: {
|
|
1380
1622
|
[k: string]: UpdateToolResponseBodyHeaders$Outbound;
|
|
1381
1623
|
} | undefined;
|
|
1382
|
-
|
|
1624
|
+
tools: Array<UpdateToolResponseBodyTools$Outbound>;
|
|
1383
1625
|
connection_type: string;
|
|
1384
1626
|
};
|
|
1385
1627
|
/** @internal */
|
|
@@ -1423,13 +1665,21 @@ export declare const UpdateToolResponseBodyMethod$inboundSchema: z.ZodNativeEnum
|
|
|
1423
1665
|
/** @internal */
|
|
1424
1666
|
export declare const UpdateToolResponseBodyMethod$outboundSchema: z.ZodNativeEnum<typeof UpdateToolResponseBodyMethod>;
|
|
1425
1667
|
/** @internal */
|
|
1426
|
-
export declare const
|
|
1668
|
+
export declare const UpdateToolHeadersTools2$inboundSchema: z.ZodType<UpdateToolHeadersTools2, z.ZodTypeDef, unknown>;
|
|
1427
1669
|
/** @internal */
|
|
1428
|
-
export type
|
|
1670
|
+
export type UpdateToolHeadersTools2$Outbound = {
|
|
1429
1671
|
value: string;
|
|
1430
1672
|
encrypted: boolean;
|
|
1431
1673
|
};
|
|
1432
1674
|
/** @internal */
|
|
1675
|
+
export declare const UpdateToolHeadersTools2$outboundSchema: z.ZodType<UpdateToolHeadersTools2$Outbound, z.ZodTypeDef, UpdateToolHeadersTools2>;
|
|
1676
|
+
export declare function updateToolHeadersTools2ToJSON(updateToolHeadersTools2: UpdateToolHeadersTools2): string;
|
|
1677
|
+
export declare function updateToolHeadersTools2FromJSON(jsonString: string): SafeParseResult<UpdateToolHeadersTools2, SDKValidationError>;
|
|
1678
|
+
/** @internal */
|
|
1679
|
+
export declare const UpdateToolResponseBodyToolsHeaders$inboundSchema: z.ZodType<UpdateToolResponseBodyToolsHeaders, z.ZodTypeDef, unknown>;
|
|
1680
|
+
/** @internal */
|
|
1681
|
+
export type UpdateToolResponseBodyToolsHeaders$Outbound = UpdateToolHeadersTools2$Outbound | string;
|
|
1682
|
+
/** @internal */
|
|
1433
1683
|
export declare const UpdateToolResponseBodyToolsHeaders$outboundSchema: z.ZodType<UpdateToolResponseBodyToolsHeaders$Outbound, z.ZodTypeDef, UpdateToolResponseBodyToolsHeaders>;
|
|
1434
1684
|
export declare function updateToolResponseBodyToolsHeadersToJSON(updateToolResponseBodyToolsHeaders: UpdateToolResponseBodyToolsHeaders): string;
|
|
1435
1685
|
export declare function updateToolResponseBodyToolsHeadersFromJSON(jsonString: string): SafeParseResult<UpdateToolResponseBodyToolsHeaders, SDKValidationError>;
|
|
@@ -1440,7 +1690,7 @@ export type UpdateToolResponseBodyBlueprint$Outbound = {
|
|
|
1440
1690
|
url: string;
|
|
1441
1691
|
method: string;
|
|
1442
1692
|
headers?: {
|
|
1443
|
-
[k: string]:
|
|
1693
|
+
[k: string]: UpdateToolHeadersTools2$Outbound | string;
|
|
1444
1694
|
} | undefined;
|
|
1445
1695
|
body?: {
|
|
1446
1696
|
[k: string]: any;
|
|
@@ -1521,14 +1771,27 @@ export declare const UpdateToolResponseBodyToolsType$inboundSchema: z.ZodNativeE
|
|
|
1521
1771
|
/** @internal */
|
|
1522
1772
|
export declare const UpdateToolResponseBodyToolsType$outboundSchema: z.ZodNativeEnum<typeof UpdateToolResponseBodyToolsType>;
|
|
1523
1773
|
/** @internal */
|
|
1774
|
+
export declare const UpdateToolResponseBodySchema$inboundSchema: z.ZodType<UpdateToolResponseBodySchema, z.ZodTypeDef, unknown>;
|
|
1775
|
+
/** @internal */
|
|
1776
|
+
export type UpdateToolResponseBodySchema$Outbound = {
|
|
1777
|
+
type: string;
|
|
1778
|
+
properties: {
|
|
1779
|
+
[k: string]: any;
|
|
1780
|
+
};
|
|
1781
|
+
required: Array<string>;
|
|
1782
|
+
[additionalProperties: string]: unknown;
|
|
1783
|
+
};
|
|
1784
|
+
/** @internal */
|
|
1785
|
+
export declare const UpdateToolResponseBodySchema$outboundSchema: z.ZodType<UpdateToolResponseBodySchema$Outbound, z.ZodTypeDef, UpdateToolResponseBodySchema>;
|
|
1786
|
+
export declare function updateToolResponseBodySchemaToJSON(updateToolResponseBodySchema: UpdateToolResponseBodySchema): string;
|
|
1787
|
+
export declare function updateToolResponseBodySchemaFromJSON(jsonString: string): SafeParseResult<UpdateToolResponseBodySchema, SDKValidationError>;
|
|
1788
|
+
/** @internal */
|
|
1524
1789
|
export declare const UpdateToolResponseBodyJsonSchema$inboundSchema: z.ZodType<UpdateToolResponseBodyJsonSchema, z.ZodTypeDef, unknown>;
|
|
1525
1790
|
/** @internal */
|
|
1526
1791
|
export type UpdateToolResponseBodyJsonSchema$Outbound = {
|
|
1527
1792
|
name: string;
|
|
1528
|
-
description
|
|
1529
|
-
schema:
|
|
1530
|
-
[k: string]: any;
|
|
1531
|
-
};
|
|
1793
|
+
description: string;
|
|
1794
|
+
schema: UpdateToolResponseBodySchema$Outbound;
|
|
1532
1795
|
strict?: boolean | undefined;
|
|
1533
1796
|
};
|
|
1534
1797
|
/** @internal */
|
|
@@ -1568,15 +1831,32 @@ export declare const UpdateToolResponseBodyType$inboundSchema: z.ZodNativeEnum<t
|
|
|
1568
1831
|
/** @internal */
|
|
1569
1832
|
export declare const UpdateToolResponseBodyType$outboundSchema: z.ZodNativeEnum<typeof UpdateToolResponseBodyType>;
|
|
1570
1833
|
/** @internal */
|
|
1834
|
+
export declare const UpdateToolResponseBodyToolsResponse200ApplicationJson1Type$inboundSchema: z.ZodNativeEnum<typeof UpdateToolResponseBodyToolsResponse200ApplicationJson1Type>;
|
|
1835
|
+
/** @internal */
|
|
1836
|
+
export declare const UpdateToolResponseBodyToolsResponse200ApplicationJson1Type$outboundSchema: z.ZodNativeEnum<typeof UpdateToolResponseBodyToolsResponse200ApplicationJson1Type>;
|
|
1837
|
+
/** @internal */
|
|
1838
|
+
export declare const UpdateToolResponseBodyParameters$inboundSchema: z.ZodType<UpdateToolResponseBodyParameters, z.ZodTypeDef, unknown>;
|
|
1839
|
+
/** @internal */
|
|
1840
|
+
export type UpdateToolResponseBodyParameters$Outbound = {
|
|
1841
|
+
type: string;
|
|
1842
|
+
properties: {
|
|
1843
|
+
[k: string]: any;
|
|
1844
|
+
};
|
|
1845
|
+
required: Array<string>;
|
|
1846
|
+
[additionalProperties: string]: unknown;
|
|
1847
|
+
};
|
|
1848
|
+
/** @internal */
|
|
1849
|
+
export declare const UpdateToolResponseBodyParameters$outboundSchema: z.ZodType<UpdateToolResponseBodyParameters$Outbound, z.ZodTypeDef, UpdateToolResponseBodyParameters>;
|
|
1850
|
+
export declare function updateToolResponseBodyParametersToJSON(updateToolResponseBodyParameters: UpdateToolResponseBodyParameters): string;
|
|
1851
|
+
export declare function updateToolResponseBodyParametersFromJSON(jsonString: string): SafeParseResult<UpdateToolResponseBodyParameters, SDKValidationError>;
|
|
1852
|
+
/** @internal */
|
|
1571
1853
|
export declare const UpdateToolResponseBodyFunction$inboundSchema: z.ZodType<UpdateToolResponseBodyFunction, z.ZodTypeDef, unknown>;
|
|
1572
1854
|
/** @internal */
|
|
1573
1855
|
export type UpdateToolResponseBodyFunction$Outbound = {
|
|
1574
1856
|
name: string;
|
|
1575
1857
|
description?: string | undefined;
|
|
1576
1858
|
strict?: boolean | undefined;
|
|
1577
|
-
parameters?:
|
|
1578
|
-
[k: string]: any;
|
|
1579
|
-
} | undefined;
|
|
1859
|
+
parameters?: UpdateToolResponseBodyParameters$Outbound | undefined;
|
|
1580
1860
|
};
|
|
1581
1861
|
/** @internal */
|
|
1582
1862
|
export declare const UpdateToolResponseBodyFunction$outboundSchema: z.ZodType<UpdateToolResponseBodyFunction$Outbound, z.ZodTypeDef, UpdateToolResponseBodyFunction>;
|