@orq-ai/node 4.14.0-rc.19 → 4.14.0-rc.20
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/jsr.json +1 -1
- package/lib/config.d.ts +3 -3
- package/lib/config.js +3 -3
- package/models/components/evaluatorresponsefunction.js +2 -2
- package/models/components/evaluatorresponsehttp.js +2 -2
- package/models/components/evaluatorresponsejsonschema.js +2 -2
- package/models/components/evaluatorresponsellm.js +2 -2
- package/models/components/evaluatorresponsepython.js +2 -2
- package/models/components/evaluatorresponseragas.js +2 -2
- package/models/components/evaluatorresponsetypescript.js +2 -2
- package/models/components/reasoningpart.js +1 -1
- package/models/operations/createagentrequest.d.ts +1 -1
- package/models/operations/createannotationqueue.js +1 -1
- package/models/operations/createdataset.d.ts +1 -1
- package/models/operations/createdataset.js +1 -1
- package/models/operations/createdatasetitem.js +5 -5
- package/models/operations/createdatasource.js +1 -1
- package/models/operations/createknowledge.d.ts +4 -4
- package/models/operations/creatememorystore.d.ts +1 -1
- package/models/operations/createprompt.d.ts +1 -1
- package/models/operations/createtool.d.ts +42 -297
- package/models/operations/createtool.d.ts.map +1 -1
- package/models/operations/createtool.js +35 -206
- package/models/operations/createtool.js.map +1 -1
- package/models/operations/getalltools.d.ts +21 -157
- package/models/operations/getalltools.d.ts.map +1 -1
- package/models/operations/getalltools.js +18 -123
- package/models/operations/getalltools.js.map +1 -1
- package/models/operations/geteval.js +16 -16
- package/models/operations/getoneknowledge.d.ts +2 -2
- package/models/operations/getv2humanevalsets.js +2 -2
- package/models/operations/getv2humanevalsetsid.js +2 -2
- package/models/operations/listagents.d.ts +1 -1
- package/models/operations/listannotationqueues.js +1 -1
- package/models/operations/listdatasetdatapoints.js +5 -5
- package/models/operations/listdatasets.js +1 -1
- package/models/operations/listdatasources.js +1 -1
- package/models/operations/listknowledgebases.d.ts +2 -2
- package/models/operations/patchv2humanevalsetsid.js +2 -2
- package/models/operations/postv2feedbackevaluation.js +4 -4
- package/models/operations/postv2humanevalsets.js +2 -2
- package/models/operations/retrieveagentrequest.d.ts +1 -1
- package/models/operations/retrieveannotationqueue.js +1 -1
- package/models/operations/retrievedatapoint.js +5 -5
- package/models/operations/retrievedataset.js +1 -1
- package/models/operations/retrievedatasource.js +1 -1
- package/models/operations/retrievetool.d.ts +20 -156
- package/models/operations/retrievetool.d.ts.map +1 -1
- package/models/operations/retrievetool.js +19 -125
- package/models/operations/retrievetool.js.map +1 -1
- package/models/operations/runagent.d.ts +1 -1
- package/models/operations/runagent.js +1 -1
- package/models/operations/streamrunagent.d.ts +1 -1
- package/models/operations/streamrunagent.js +1 -1
- package/models/operations/updateagent.d.ts +2 -2
- package/models/operations/updateannotationqueue.js +1 -1
- package/models/operations/updatedatapoint.js +5 -5
- package/models/operations/updatedataset.d.ts +1 -1
- package/models/operations/updatedataset.js +1 -1
- package/models/operations/updatedatasource.js +1 -1
- package/models/operations/updateknowledge.d.ts +4 -4
- package/models/operations/updateprompt.d.ts +1 -1
- package/models/operations/updatetool.d.ts +43 -355
- package/models/operations/updatetool.d.ts.map +1 -1
- package/models/operations/updatetool.js +35 -249
- package/models/operations/updatetool.js.map +1 -1
- package/package.json +7 -7
- package/src/lib/config.ts +3 -3
- package/src/models/components/evaluatorresponsefunction.ts +2 -2
- package/src/models/components/evaluatorresponsehttp.ts +2 -2
- package/src/models/components/evaluatorresponsejsonschema.ts +2 -2
- package/src/models/components/evaluatorresponsellm.ts +2 -2
- package/src/models/components/evaluatorresponsepython.ts +2 -2
- package/src/models/components/evaluatorresponseragas.ts +2 -2
- package/src/models/components/evaluatorresponsetypescript.ts +2 -2
- package/src/models/components/reasoningpart.ts +1 -1
- package/src/models/operations/createagentrequest.ts +1 -1
- package/src/models/operations/createannotationqueue.ts +1 -1
- package/src/models/operations/createdataset.ts +2 -2
- package/src/models/operations/createdatasetitem.ts +5 -5
- package/src/models/operations/createdatasource.ts +1 -1
- package/src/models/operations/createknowledge.ts +4 -4
- package/src/models/operations/creatememorystore.ts +1 -1
- package/src/models/operations/createprompt.ts +1 -1
- package/src/models/operations/createtool.ts +75 -550
- package/src/models/operations/getalltools.ts +41 -327
- package/src/models/operations/geteval.ts +16 -16
- package/src/models/operations/getoneknowledge.ts +2 -2
- package/src/models/operations/getv2humanevalsets.ts +2 -2
- package/src/models/operations/getv2humanevalsetsid.ts +2 -2
- package/src/models/operations/listagents.ts +1 -1
- package/src/models/operations/listannotationqueues.ts +1 -1
- package/src/models/operations/listdatasetdatapoints.ts +5 -5
- package/src/models/operations/listdatasets.ts +1 -1
- package/src/models/operations/listdatasources.ts +1 -1
- package/src/models/operations/listknowledgebases.ts +2 -2
- package/src/models/operations/patchv2humanevalsetsid.ts +2 -2
- package/src/models/operations/postv2feedbackevaluation.ts +4 -4
- package/src/models/operations/postv2humanevalsets.ts +2 -2
- package/src/models/operations/retrieveagentrequest.ts +1 -1
- package/src/models/operations/retrieveannotationqueue.ts +1 -1
- package/src/models/operations/retrievedatapoint.ts +5 -5
- package/src/models/operations/retrievedataset.ts +1 -1
- package/src/models/operations/retrievedatasource.ts +1 -1
- package/src/models/operations/retrievetool.ts +42 -336
- package/src/models/operations/runagent.ts +2 -2
- package/src/models/operations/streamrunagent.ts +2 -2
- package/src/models/operations/updateagent.ts +2 -2
- package/src/models/operations/updateannotationqueue.ts +1 -1
- package/src/models/operations/updatedatapoint.ts +5 -5
- package/src/models/operations/updatedataset.ts +2 -2
- package/src/models/operations/updatedatasource.ts +1 -1
- package/src/models/operations/updateknowledge.ts +4 -4
- package/src/models/operations/updateprompt.ts +1 -1
- package/src/models/operations/updatetool.ts +78 -674
|
@@ -5,7 +5,7 @@ import { SDKValidationError } from "../errors/sdkvalidationerror.js";
|
|
|
5
5
|
/**
|
|
6
6
|
* 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.
|
|
7
7
|
*/
|
|
8
|
-
export declare const
|
|
8
|
+
export declare const UpdateToolRequestBodyToolsRequest4Status: {
|
|
9
9
|
readonly Live: "live";
|
|
10
10
|
readonly Draft: "draft";
|
|
11
11
|
readonly Pending: "pending";
|
|
@@ -14,17 +14,17 @@ export declare const UpdateToolRequestBodyToolsRequest5Status: {
|
|
|
14
14
|
/**
|
|
15
15
|
* 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.
|
|
16
16
|
*/
|
|
17
|
-
export type
|
|
17
|
+
export type UpdateToolRequestBodyToolsRequest4Status = ClosedEnum<typeof UpdateToolRequestBodyToolsRequest4Status>;
|
|
18
18
|
/**
|
|
19
19
|
* The type must be "object"
|
|
20
20
|
*/
|
|
21
|
-
export declare const
|
|
21
|
+
export declare const UpdateToolRequestBodyToolsRequest4CodeToolType: {
|
|
22
22
|
readonly Object: "object";
|
|
23
23
|
};
|
|
24
24
|
/**
|
|
25
25
|
* The type must be "object"
|
|
26
26
|
*/
|
|
27
|
-
export type
|
|
27
|
+
export type UpdateToolRequestBodyToolsRequest4CodeToolType = ClosedEnum<typeof UpdateToolRequestBodyToolsRequest4CodeToolType>;
|
|
28
28
|
/**
|
|
29
29
|
* 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.
|
|
30
30
|
*/
|
|
@@ -32,7 +32,7 @@ export type UpdateToolRequestBodyToolsParameters = {
|
|
|
32
32
|
/**
|
|
33
33
|
* The type must be "object"
|
|
34
34
|
*/
|
|
35
|
-
type:
|
|
35
|
+
type: UpdateToolRequestBodyToolsRequest4CodeToolType;
|
|
36
36
|
/**
|
|
37
37
|
* The properties of the function parameters
|
|
38
38
|
*/
|
|
@@ -62,12 +62,12 @@ export type UpdateToolRequestBodyCodeTool = {
|
|
|
62
62
|
*/
|
|
63
63
|
code: string;
|
|
64
64
|
};
|
|
65
|
-
export declare const
|
|
65
|
+
export declare const UpdateToolRequestBodyToolsRequestVersionIncrement: {
|
|
66
66
|
readonly Major: "major";
|
|
67
67
|
readonly Minor: "minor";
|
|
68
68
|
readonly Patch: "patch";
|
|
69
69
|
};
|
|
70
|
-
export type
|
|
70
|
+
export type UpdateToolRequestBodyToolsRequestVersionIncrement = ClosedEnum<typeof UpdateToolRequestBodyToolsRequestVersionIncrement>;
|
|
71
71
|
/**
|
|
72
72
|
* Updates an existing code execution tool configuration.
|
|
73
73
|
*/
|
|
@@ -77,7 +77,7 @@ export type UpdateCodeExecutionTool = {
|
|
|
77
77
|
*
|
|
78
78
|
* @remarks
|
|
79
79
|
*
|
|
80
|
-
* With workspace-level API keys, use the format `project/folder/subfolder/...`. The first element
|
|
80
|
+
* With workspace-level API keys, use the format `project/folder/subfolder/...`. The first element must be the display name of an existing project, followed by nested folders (auto-created as needed). Example: `Default Project/agents`.
|
|
81
81
|
*
|
|
82
82
|
* With project-level API keys, the project is predetermined by the API key, so the path is relative to that project. Example: `agents`. For backward compatibility, a leading project name is ignored when it matches the scoped project.
|
|
83
83
|
*/
|
|
@@ -97,118 +97,9 @@ export type UpdateCodeExecutionTool = {
|
|
|
97
97
|
/**
|
|
98
98
|
* 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.
|
|
99
99
|
*/
|
|
100
|
-
status?:
|
|
100
|
+
status?: UpdateToolRequestBodyToolsRequest4Status | undefined;
|
|
101
101
|
type: "code";
|
|
102
102
|
codeTool?: UpdateToolRequestBodyCodeTool | undefined;
|
|
103
|
-
versionIncrement?: UpdateToolRequestBodyToolsRequest5VersionIncrement | undefined;
|
|
104
|
-
versionDescription?: string | undefined;
|
|
105
|
-
};
|
|
106
|
-
/**
|
|
107
|
-
* 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.
|
|
108
|
-
*/
|
|
109
|
-
export declare const UpdateToolRequestBodyToolsRequest4Status: {
|
|
110
|
-
readonly Live: "live";
|
|
111
|
-
readonly Draft: "draft";
|
|
112
|
-
readonly Pending: "pending";
|
|
113
|
-
readonly Published: "published";
|
|
114
|
-
};
|
|
115
|
-
/**
|
|
116
|
-
* 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.
|
|
117
|
-
*/
|
|
118
|
-
export type UpdateToolRequestBodyToolsRequest4Status = ClosedEnum<typeof UpdateToolRequestBodyToolsRequest4Status>;
|
|
119
|
-
export type UpdateToolRequestBodyHeaders = {
|
|
120
|
-
value: string;
|
|
121
|
-
encrypted?: boolean | undefined;
|
|
122
|
-
};
|
|
123
|
-
export declare const UpdateToolRequestBodyToolsRequest4McpType: {
|
|
124
|
-
readonly Object: "object";
|
|
125
|
-
};
|
|
126
|
-
export type UpdateToolRequestBodyToolsRequest4McpType = ClosedEnum<typeof UpdateToolRequestBodyToolsRequest4McpType>;
|
|
127
|
-
export type UpdateToolRequestBodyToolsSchema = {
|
|
128
|
-
type: UpdateToolRequestBodyToolsRequest4McpType;
|
|
129
|
-
properties?: {
|
|
130
|
-
[k: string]: any;
|
|
131
|
-
} | undefined;
|
|
132
|
-
required?: Array<string> | undefined;
|
|
133
|
-
};
|
|
134
|
-
export type RequestBodyTools = {
|
|
135
|
-
id?: string | undefined;
|
|
136
|
-
name: string;
|
|
137
|
-
description?: string | undefined;
|
|
138
|
-
schema: UpdateToolRequestBodyToolsSchema;
|
|
139
|
-
};
|
|
140
|
-
/**
|
|
141
|
-
* The connection type used by the MCP server
|
|
142
|
-
*/
|
|
143
|
-
export declare const UpdateToolRequestBodyConnectionType: {
|
|
144
|
-
readonly Http: "http";
|
|
145
|
-
readonly Sse: "sse";
|
|
146
|
-
};
|
|
147
|
-
/**
|
|
148
|
-
* The connection type used by the MCP server
|
|
149
|
-
*/
|
|
150
|
-
export type UpdateToolRequestBodyConnectionType = ClosedEnum<typeof UpdateToolRequestBodyConnectionType>;
|
|
151
|
-
export type UpdateToolRequestBodyMcp = {
|
|
152
|
-
/**
|
|
153
|
-
* The MCP server URL (cached for execution)
|
|
154
|
-
*/
|
|
155
|
-
serverUrl?: string | undefined;
|
|
156
|
-
/**
|
|
157
|
-
* HTTP headers for MCP server requests with encryption support
|
|
158
|
-
*/
|
|
159
|
-
headers?: {
|
|
160
|
-
[k: string]: UpdateToolRequestBodyHeaders;
|
|
161
|
-
} | undefined;
|
|
162
|
-
/**
|
|
163
|
-
* Array of tools available from the MCP server
|
|
164
|
-
*/
|
|
165
|
-
tools?: Array<RequestBodyTools> | undefined;
|
|
166
|
-
/**
|
|
167
|
-
* The connection type used by the MCP server
|
|
168
|
-
*/
|
|
169
|
-
connectionType?: UpdateToolRequestBodyConnectionType | undefined;
|
|
170
|
-
};
|
|
171
|
-
export declare const UpdateToolRequestBodyToolsRequestVersionIncrement: {
|
|
172
|
-
readonly Major: "major";
|
|
173
|
-
readonly Minor: "minor";
|
|
174
|
-
readonly Patch: "patch";
|
|
175
|
-
};
|
|
176
|
-
export type UpdateToolRequestBodyToolsRequestVersionIncrement = ClosedEnum<typeof UpdateToolRequestBodyToolsRequestVersionIncrement>;
|
|
177
|
-
/**
|
|
178
|
-
* Updates an existing MCP tool configuration.
|
|
179
|
-
*/
|
|
180
|
-
export type UpdateMCPTool = {
|
|
181
|
-
/**
|
|
182
|
-
* Entity storage path.
|
|
183
|
-
*
|
|
184
|
-
* @remarks
|
|
185
|
-
*
|
|
186
|
-
* With workspace-level API keys, use the format `project/folder/subfolder/...`. The first element identifies the project, followed by nested folders (auto-created as needed). Example: `Default/agents`.
|
|
187
|
-
*
|
|
188
|
-
* With project-level API keys, the project is predetermined by the API key, so the path is relative to that project. Example: `agents`. For backward compatibility, a leading project name is ignored when it matches the scoped project.
|
|
189
|
-
*/
|
|
190
|
-
path?: string | undefined;
|
|
191
|
-
/**
|
|
192
|
-
* Unique key of the tool as it will be displayed in the UI
|
|
193
|
-
*/
|
|
194
|
-
key?: string | undefined;
|
|
195
|
-
/**
|
|
196
|
-
* The name of the tool as it will be displayed in the UI. This is optional and if not provided, the `key` will be used.
|
|
197
|
-
*/
|
|
198
|
-
displayName?: string | undefined;
|
|
199
|
-
/**
|
|
200
|
-
* A description of the tool, used by the model to choose when and how to call the tool. We do recommend using the `description` field as accurate as possible to give enough context to the model to make the right decision.
|
|
201
|
-
*/
|
|
202
|
-
description?: string | undefined;
|
|
203
|
-
/**
|
|
204
|
-
* 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.
|
|
205
|
-
*/
|
|
206
|
-
status?: UpdateToolRequestBodyToolsRequest4Status | undefined;
|
|
207
|
-
type: "mcp";
|
|
208
|
-
mcp?: UpdateToolRequestBodyMcp | undefined;
|
|
209
|
-
discoveryVariables?: {
|
|
210
|
-
[k: string]: string;
|
|
211
|
-
} | undefined;
|
|
212
103
|
versionIncrement?: UpdateToolRequestBodyToolsRequestVersionIncrement | undefined;
|
|
213
104
|
versionDescription?: string | undefined;
|
|
214
105
|
};
|
|
@@ -242,7 +133,7 @@ export type UpdateToolHeaders2 = {
|
|
|
242
133
|
value: string;
|
|
243
134
|
encrypted?: boolean | undefined;
|
|
244
135
|
};
|
|
245
|
-
export type
|
|
136
|
+
export type UpdateToolRequestBodyHeaders = UpdateToolHeaders2 | string;
|
|
246
137
|
/**
|
|
247
138
|
* The blueprint for the HTTP request. The `arguments` field will be used to replace the placeholders in the `url`, `headers`, `body`, and `arguments` fields.
|
|
248
139
|
*/
|
|
@@ -333,7 +224,7 @@ export type UpdateHTTPTool = {
|
|
|
333
224
|
*
|
|
334
225
|
* @remarks
|
|
335
226
|
*
|
|
336
|
-
* With workspace-level API keys, use the format `project/folder/subfolder/...`. The first element
|
|
227
|
+
* With workspace-level API keys, use the format `project/folder/subfolder/...`. The first element must be the display name of an existing project, followed by nested folders (auto-created as needed). Example: `Default Project/agents`.
|
|
337
228
|
*
|
|
338
229
|
* With project-level API keys, the project is predetermined by the API key, so the path is relative to that project. Example: `agents`. For backward compatibility, a leading project name is ignored when it matches the scoped project.
|
|
339
230
|
*/
|
|
@@ -427,7 +318,7 @@ export type UpdateJSONSchemaTool = {
|
|
|
427
318
|
*
|
|
428
319
|
* @remarks
|
|
429
320
|
*
|
|
430
|
-
* With workspace-level API keys, use the format `project/folder/subfolder/...`. The first element
|
|
321
|
+
* With workspace-level API keys, use the format `project/folder/subfolder/...`. The first element must be the display name of an existing project, followed by nested folders (auto-created as needed). Example: `Default Project/agents`.
|
|
431
322
|
*
|
|
432
323
|
* With project-level API keys, the project is predetermined by the API key, so the path is relative to that project. Example: `agents`. For backward compatibility, a leading project name is ignored when it matches the scoped project.
|
|
433
324
|
*/
|
|
@@ -531,7 +422,7 @@ export type UpdateFunctionTool = {
|
|
|
531
422
|
*
|
|
532
423
|
* @remarks
|
|
533
424
|
*
|
|
534
|
-
* With workspace-level API keys, use the format `project/folder/subfolder/...`. The first element
|
|
425
|
+
* With workspace-level API keys, use the format `project/folder/subfolder/...`. The first element must be the display name of an existing project, followed by nested folders (auto-created as needed). Example: `Default Project/agents`.
|
|
535
426
|
*
|
|
536
427
|
* With project-level API keys, the project is predetermined by the API key, so the path is relative to that project. Example: `agents`. For backward compatibility, a leading project name is ignored when it matches the scoped project.
|
|
537
428
|
*/
|
|
@@ -560,18 +451,18 @@ export type UpdateFunctionTool = {
|
|
|
560
451
|
/**
|
|
561
452
|
* The tool to update
|
|
562
453
|
*/
|
|
563
|
-
export type UpdateToolRequestBody = UpdateFunctionTool | UpdateJSONSchemaTool | UpdateHTTPTool |
|
|
454
|
+
export type UpdateToolRequestBody = UpdateFunctionTool | UpdateJSONSchemaTool | UpdateHTTPTool | UpdateCodeExecutionTool;
|
|
564
455
|
export type UpdateToolRequest = {
|
|
565
456
|
toolId: string;
|
|
566
457
|
/**
|
|
567
458
|
* The tool to update
|
|
568
459
|
*/
|
|
569
|
-
requestBody?: UpdateFunctionTool | UpdateJSONSchemaTool | UpdateHTTPTool |
|
|
460
|
+
requestBody?: UpdateFunctionTool | UpdateJSONSchemaTool | UpdateHTTPTool | UpdateCodeExecutionTool | undefined;
|
|
570
461
|
};
|
|
571
462
|
/**
|
|
572
463
|
* 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.
|
|
573
464
|
*/
|
|
574
|
-
export declare const
|
|
465
|
+
export declare const UpdateToolResponseBodyToolsResponse200Status: {
|
|
575
466
|
readonly Live: "live";
|
|
576
467
|
readonly Draft: "draft";
|
|
577
468
|
readonly Pending: "pending";
|
|
@@ -580,17 +471,17 @@ export declare const UpdateToolResponseBodyToolsResponse200ApplicationJSONStatus
|
|
|
580
471
|
/**
|
|
581
472
|
* 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.
|
|
582
473
|
*/
|
|
583
|
-
export type
|
|
474
|
+
export type UpdateToolResponseBodyToolsResponse200Status = ClosedEnum<typeof UpdateToolResponseBodyToolsResponse200Status>;
|
|
584
475
|
/**
|
|
585
476
|
* The type must be "object"
|
|
586
477
|
*/
|
|
587
|
-
export declare const
|
|
478
|
+
export declare const UpdateToolResponseBodyToolsResponse200ApplicationJson4Type: {
|
|
588
479
|
readonly Object: "object";
|
|
589
480
|
};
|
|
590
481
|
/**
|
|
591
482
|
* The type must be "object"
|
|
592
483
|
*/
|
|
593
|
-
export type
|
|
484
|
+
export type UpdateToolResponseBodyToolsResponse200ApplicationJson4Type = ClosedEnum<typeof UpdateToolResponseBodyToolsResponse200ApplicationJson4Type>;
|
|
594
485
|
/**
|
|
595
486
|
* 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.
|
|
596
487
|
*/
|
|
@@ -598,7 +489,7 @@ export type UpdateToolResponseBodyToolsParameters = {
|
|
|
598
489
|
/**
|
|
599
490
|
* The type must be "object"
|
|
600
491
|
*/
|
|
601
|
-
type:
|
|
492
|
+
type: UpdateToolResponseBodyToolsResponse200ApplicationJson4Type;
|
|
602
493
|
/**
|
|
603
494
|
* The properties of the function parameters
|
|
604
495
|
*/
|
|
@@ -638,7 +529,7 @@ export type UpdateToolResponseBodyCodeExecutionTool = {
|
|
|
638
529
|
*
|
|
639
530
|
* @remarks
|
|
640
531
|
*
|
|
641
|
-
* With workspace-level API keys, use the format `project/folder/subfolder/...`. The first element
|
|
532
|
+
* With workspace-level API keys, use the format `project/folder/subfolder/...`. The first element must be the display name of an existing project, followed by nested folders (auto-created as needed). Example: `Default Project/agents`.
|
|
642
533
|
*
|
|
643
534
|
* With project-level API keys, the project is predetermined by the API key, so the path is relative to that project. Example: `agents`. For backward compatibility, a leading project name is ignored when it matches the scoped project.
|
|
644
535
|
*/
|
|
@@ -670,125 +561,10 @@ export type UpdateToolResponseBodyCodeExecutionTool = {
|
|
|
670
561
|
/**
|
|
671
562
|
* 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.
|
|
672
563
|
*/
|
|
673
|
-
status:
|
|
564
|
+
status: UpdateToolResponseBodyToolsResponse200Status;
|
|
674
565
|
type: "code";
|
|
675
566
|
codeTool: UpdateToolResponseBodyCodeTool;
|
|
676
567
|
};
|
|
677
|
-
/**
|
|
678
|
-
* 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.
|
|
679
|
-
*/
|
|
680
|
-
export declare const UpdateToolResponseBodyToolsResponse200Status: {
|
|
681
|
-
readonly Live: "live";
|
|
682
|
-
readonly Draft: "draft";
|
|
683
|
-
readonly Pending: "pending";
|
|
684
|
-
readonly Published: "published";
|
|
685
|
-
};
|
|
686
|
-
/**
|
|
687
|
-
* 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.
|
|
688
|
-
*/
|
|
689
|
-
export type UpdateToolResponseBodyToolsResponse200Status = ClosedEnum<typeof UpdateToolResponseBodyToolsResponse200Status>;
|
|
690
|
-
export type UpdateToolResponseBodyHeaders = {
|
|
691
|
-
value: string;
|
|
692
|
-
encrypted: boolean;
|
|
693
|
-
};
|
|
694
|
-
export declare const UpdateToolResponseBodyToolsResponse200ApplicationJson4Type: {
|
|
695
|
-
readonly Object: "object";
|
|
696
|
-
};
|
|
697
|
-
export type UpdateToolResponseBodyToolsResponse200ApplicationJson4Type = ClosedEnum<typeof UpdateToolResponseBodyToolsResponse200ApplicationJson4Type>;
|
|
698
|
-
export type UpdateToolResponseBodyToolsSchema = {
|
|
699
|
-
type: UpdateToolResponseBodyToolsResponse200ApplicationJson4Type;
|
|
700
|
-
properties?: {
|
|
701
|
-
[k: string]: any;
|
|
702
|
-
} | undefined;
|
|
703
|
-
required?: Array<string> | undefined;
|
|
704
|
-
};
|
|
705
|
-
export type UpdateToolResponseBodyTools = {
|
|
706
|
-
id: string;
|
|
707
|
-
name: string;
|
|
708
|
-
description?: string | undefined;
|
|
709
|
-
schema: UpdateToolResponseBodyToolsSchema;
|
|
710
|
-
};
|
|
711
|
-
/**
|
|
712
|
-
* The connection type used by the MCP server
|
|
713
|
-
*/
|
|
714
|
-
export declare const UpdateToolResponseBodyConnectionType: {
|
|
715
|
-
readonly Http: "http";
|
|
716
|
-
readonly Sse: "sse";
|
|
717
|
-
};
|
|
718
|
-
/**
|
|
719
|
-
* The connection type used by the MCP server
|
|
720
|
-
*/
|
|
721
|
-
export type UpdateToolResponseBodyConnectionType = ClosedEnum<typeof UpdateToolResponseBodyConnectionType>;
|
|
722
|
-
export type UpdateToolResponseBodyMcp = {
|
|
723
|
-
/**
|
|
724
|
-
* The MCP server URL (cached for execution)
|
|
725
|
-
*/
|
|
726
|
-
serverUrl: string;
|
|
727
|
-
/**
|
|
728
|
-
* HTTP headers for MCP server requests with encryption support
|
|
729
|
-
*/
|
|
730
|
-
headers?: {
|
|
731
|
-
[k: string]: UpdateToolResponseBodyHeaders;
|
|
732
|
-
} | undefined;
|
|
733
|
-
/**
|
|
734
|
-
* Array of tools available from the MCP server
|
|
735
|
-
*/
|
|
736
|
-
tools: Array<UpdateToolResponseBodyTools>;
|
|
737
|
-
/**
|
|
738
|
-
* The connection type used by the MCP server
|
|
739
|
-
*/
|
|
740
|
-
connectionType: UpdateToolResponseBodyConnectionType;
|
|
741
|
-
/**
|
|
742
|
-
* Names of template variables detected in server_url and headers. Used by the FE to prompt for one-time values on sync/refresh.
|
|
743
|
-
*/
|
|
744
|
-
templateVariables?: Array<string> | null | undefined;
|
|
745
|
-
};
|
|
746
|
-
/**
|
|
747
|
-
* A tool from a Model Context Protocol (MCP) server that provides standardized access to external capabilities.
|
|
748
|
-
*/
|
|
749
|
-
export type UpdateToolResponseBodyMCPTool = {
|
|
750
|
-
id: string;
|
|
751
|
-
/**
|
|
752
|
-
* Entity storage path.
|
|
753
|
-
*
|
|
754
|
-
* @remarks
|
|
755
|
-
*
|
|
756
|
-
* With workspace-level API keys, use the format `project/folder/subfolder/...`. The first element identifies the project, followed by nested folders (auto-created as needed). Example: `Default/agents`.
|
|
757
|
-
*
|
|
758
|
-
* With project-level API keys, the project is predetermined by the API key, so the path is relative to that project. Example: `agents`. For backward compatibility, a leading project name is ignored when it matches the scoped project.
|
|
759
|
-
*/
|
|
760
|
-
path: string;
|
|
761
|
-
/**
|
|
762
|
-
* Unique key of the tool as it will be displayed in the UI
|
|
763
|
-
*/
|
|
764
|
-
key: string;
|
|
765
|
-
/**
|
|
766
|
-
* The name of the tool as it will be displayed in the UI. This is optional and if not provided, the `key` will be used.
|
|
767
|
-
*/
|
|
768
|
-
displayName?: string | undefined;
|
|
769
|
-
/**
|
|
770
|
-
* A description of the tool, used by the model to choose when and how to call the tool. We do recommend using the `description` field as accurate as possible to give enough context to the model to make the right decision.
|
|
771
|
-
*/
|
|
772
|
-
description: string;
|
|
773
|
-
/**
|
|
774
|
-
* The id of the user that created the tool
|
|
775
|
-
*/
|
|
776
|
-
createdById?: string | null | undefined;
|
|
777
|
-
/**
|
|
778
|
-
* The id of the user that last updated the tool
|
|
779
|
-
*/
|
|
780
|
-
updatedById?: string | null | undefined;
|
|
781
|
-
projectId: string;
|
|
782
|
-
workspaceId: string;
|
|
783
|
-
created: string;
|
|
784
|
-
updated: string;
|
|
785
|
-
/**
|
|
786
|
-
* 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.
|
|
787
|
-
*/
|
|
788
|
-
status: UpdateToolResponseBodyToolsResponse200Status;
|
|
789
|
-
type: "mcp";
|
|
790
|
-
mcp: UpdateToolResponseBodyMcp;
|
|
791
|
-
};
|
|
792
568
|
/**
|
|
793
569
|
* 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.
|
|
794
570
|
*/
|
|
@@ -819,7 +595,7 @@ export type UpdateToolHeadersTools2 = {
|
|
|
819
595
|
value: string;
|
|
820
596
|
encrypted: boolean;
|
|
821
597
|
};
|
|
822
|
-
export type
|
|
598
|
+
export type UpdateToolResponseBodyHeaders = UpdateToolHeadersTools2 | string;
|
|
823
599
|
/**
|
|
824
600
|
* The blueprint for the HTTP request. The `arguments` field will be used to replace the placeholders in the `url`, `headers`, `body`, and `arguments` fields.
|
|
825
601
|
*/
|
|
@@ -852,7 +628,7 @@ export type UpdateToolResponseBodyBlueprint = {
|
|
|
852
628
|
/**
|
|
853
629
|
* The type of the argument.
|
|
854
630
|
*/
|
|
855
|
-
export declare const
|
|
631
|
+
export declare const UpdateToolResponseBodyToolsResponse200ApplicationJSONType: {
|
|
856
632
|
readonly String: "string";
|
|
857
633
|
readonly Number: "number";
|
|
858
634
|
readonly Boolean: "boolean";
|
|
@@ -860,7 +636,7 @@ export declare const UpdateToolResponseBodyToolsResponse200ApplicationJson3Type:
|
|
|
860
636
|
/**
|
|
861
637
|
* The type of the argument.
|
|
862
638
|
*/
|
|
863
|
-
export type
|
|
639
|
+
export type UpdateToolResponseBodyToolsResponse200ApplicationJSONType = ClosedEnum<typeof UpdateToolResponseBodyToolsResponse200ApplicationJSONType>;
|
|
864
640
|
/**
|
|
865
641
|
* The default value of the argument.
|
|
866
642
|
*/
|
|
@@ -869,7 +645,7 @@ export type UpdateToolResponseBodyArguments = {
|
|
|
869
645
|
/**
|
|
870
646
|
* The type of the argument.
|
|
871
647
|
*/
|
|
872
|
-
type:
|
|
648
|
+
type: UpdateToolResponseBodyToolsResponse200ApplicationJSONType;
|
|
873
649
|
/**
|
|
874
650
|
* A description of the argument.
|
|
875
651
|
*/
|
|
@@ -905,7 +681,7 @@ export type UpdateToolResponseBodyHTTPTool = {
|
|
|
905
681
|
*
|
|
906
682
|
* @remarks
|
|
907
683
|
*
|
|
908
|
-
* With workspace-level API keys, use the format `project/folder/subfolder/...`. The first element
|
|
684
|
+
* With workspace-level API keys, use the format `project/folder/subfolder/...`. The first element must be the display name of an existing project, followed by nested folders (auto-created as needed). Example: `Default Project/agents`.
|
|
909
685
|
*
|
|
910
686
|
* With project-level API keys, the project is predetermined by the API key, so the path is relative to that project. Example: `agents`. For backward compatibility, a leading project name is ignored when it matches the scoped project.
|
|
911
687
|
*/
|
|
@@ -1004,7 +780,7 @@ export type UpdateToolResponseBodyJSONSchemaTool = {
|
|
|
1004
780
|
*
|
|
1005
781
|
* @remarks
|
|
1006
782
|
*
|
|
1007
|
-
* With workspace-level API keys, use the format `project/folder/subfolder/...`. The first element
|
|
783
|
+
* With workspace-level API keys, use the format `project/folder/subfolder/...`. The first element must be the display name of an existing project, followed by nested folders (auto-created as needed). Example: `Default Project/agents`.
|
|
1008
784
|
*
|
|
1009
785
|
* With project-level API keys, the project is predetermined by the API key, so the path is relative to that project. Example: `agents`. For backward compatibility, a leading project name is ignored when it matches the scoped project.
|
|
1010
786
|
*/
|
|
@@ -1113,7 +889,7 @@ export type UpdateToolResponseBodyFunctionTool = {
|
|
|
1113
889
|
*
|
|
1114
890
|
* @remarks
|
|
1115
891
|
*
|
|
1116
|
-
* With workspace-level API keys, use the format `project/folder/subfolder/...`. The first element
|
|
892
|
+
* With workspace-level API keys, use the format `project/folder/subfolder/...`. The first element must be the display name of an existing project, followed by nested folders (auto-created as needed). Example: `Default Project/agents`.
|
|
1117
893
|
*
|
|
1118
894
|
* With project-level API keys, the project is predetermined by the API key, so the path is relative to that project. Example: `agents`. For backward compatibility, a leading project name is ignored when it matches the scoped project.
|
|
1119
895
|
*/
|
|
@@ -1152,11 +928,11 @@ export type UpdateToolResponseBodyFunctionTool = {
|
|
|
1152
928
|
/**
|
|
1153
929
|
* Successfully updated the tool.
|
|
1154
930
|
*/
|
|
1155
|
-
export type UpdateToolResponseBody = UpdateToolResponseBodyFunctionTool | UpdateToolResponseBodyJSONSchemaTool | UpdateToolResponseBodyHTTPTool |
|
|
931
|
+
export type UpdateToolResponseBody = UpdateToolResponseBodyFunctionTool | UpdateToolResponseBodyJSONSchemaTool | UpdateToolResponseBodyHTTPTool | UpdateToolResponseBodyCodeExecutionTool;
|
|
1156
932
|
/** @internal */
|
|
1157
|
-
export declare const
|
|
933
|
+
export declare const UpdateToolRequestBodyToolsRequest4Status$outboundSchema: z.ZodNativeEnum<typeof UpdateToolRequestBodyToolsRequest4Status>;
|
|
1158
934
|
/** @internal */
|
|
1159
|
-
export declare const
|
|
935
|
+
export declare const UpdateToolRequestBodyToolsRequest4CodeToolType$outboundSchema: z.ZodNativeEnum<typeof UpdateToolRequestBodyToolsRequest4CodeToolType>;
|
|
1160
936
|
/** @internal */
|
|
1161
937
|
export type UpdateToolRequestBodyToolsParameters$Outbound = {
|
|
1162
938
|
type: string;
|
|
@@ -1181,7 +957,7 @@ export type UpdateToolRequestBodyCodeTool$Outbound = {
|
|
|
1181
957
|
export declare const UpdateToolRequestBodyCodeTool$outboundSchema: z.ZodType<UpdateToolRequestBodyCodeTool$Outbound, z.ZodTypeDef, UpdateToolRequestBodyCodeTool>;
|
|
1182
958
|
export declare function updateToolRequestBodyCodeToolToJSON(updateToolRequestBodyCodeTool: UpdateToolRequestBodyCodeTool): string;
|
|
1183
959
|
/** @internal */
|
|
1184
|
-
export declare const
|
|
960
|
+
export declare const UpdateToolRequestBodyToolsRequestVersionIncrement$outboundSchema: z.ZodNativeEnum<typeof UpdateToolRequestBodyToolsRequestVersionIncrement>;
|
|
1185
961
|
/** @internal */
|
|
1186
962
|
export type UpdateCodeExecutionTool$Outbound = {
|
|
1187
963
|
path?: string | undefined;
|
|
@@ -1198,73 +974,6 @@ export type UpdateCodeExecutionTool$Outbound = {
|
|
|
1198
974
|
export declare const UpdateCodeExecutionTool$outboundSchema: z.ZodType<UpdateCodeExecutionTool$Outbound, z.ZodTypeDef, UpdateCodeExecutionTool>;
|
|
1199
975
|
export declare function updateCodeExecutionToolToJSON(updateCodeExecutionTool: UpdateCodeExecutionTool): string;
|
|
1200
976
|
/** @internal */
|
|
1201
|
-
export declare const UpdateToolRequestBodyToolsRequest4Status$outboundSchema: z.ZodNativeEnum<typeof UpdateToolRequestBodyToolsRequest4Status>;
|
|
1202
|
-
/** @internal */
|
|
1203
|
-
export type UpdateToolRequestBodyHeaders$Outbound = {
|
|
1204
|
-
value: string;
|
|
1205
|
-
encrypted: boolean;
|
|
1206
|
-
};
|
|
1207
|
-
/** @internal */
|
|
1208
|
-
export declare const UpdateToolRequestBodyHeaders$outboundSchema: z.ZodType<UpdateToolRequestBodyHeaders$Outbound, z.ZodTypeDef, UpdateToolRequestBodyHeaders>;
|
|
1209
|
-
export declare function updateToolRequestBodyHeadersToJSON(updateToolRequestBodyHeaders: UpdateToolRequestBodyHeaders): string;
|
|
1210
|
-
/** @internal */
|
|
1211
|
-
export declare const UpdateToolRequestBodyToolsRequest4McpType$outboundSchema: z.ZodNativeEnum<typeof UpdateToolRequestBodyToolsRequest4McpType>;
|
|
1212
|
-
/** @internal */
|
|
1213
|
-
export type UpdateToolRequestBodyToolsSchema$Outbound = {
|
|
1214
|
-
type: string;
|
|
1215
|
-
properties?: {
|
|
1216
|
-
[k: string]: any;
|
|
1217
|
-
} | undefined;
|
|
1218
|
-
required?: Array<string> | undefined;
|
|
1219
|
-
};
|
|
1220
|
-
/** @internal */
|
|
1221
|
-
export declare const UpdateToolRequestBodyToolsSchema$outboundSchema: z.ZodType<UpdateToolRequestBodyToolsSchema$Outbound, z.ZodTypeDef, UpdateToolRequestBodyToolsSchema>;
|
|
1222
|
-
export declare function updateToolRequestBodyToolsSchemaToJSON(updateToolRequestBodyToolsSchema: UpdateToolRequestBodyToolsSchema): string;
|
|
1223
|
-
/** @internal */
|
|
1224
|
-
export type RequestBodyTools$Outbound = {
|
|
1225
|
-
id: string;
|
|
1226
|
-
name: string;
|
|
1227
|
-
description?: string | undefined;
|
|
1228
|
-
schema: UpdateToolRequestBodyToolsSchema$Outbound;
|
|
1229
|
-
};
|
|
1230
|
-
/** @internal */
|
|
1231
|
-
export declare const RequestBodyTools$outboundSchema: z.ZodType<RequestBodyTools$Outbound, z.ZodTypeDef, RequestBodyTools>;
|
|
1232
|
-
export declare function requestBodyToolsToJSON(requestBodyTools: RequestBodyTools): string;
|
|
1233
|
-
/** @internal */
|
|
1234
|
-
export declare const UpdateToolRequestBodyConnectionType$outboundSchema: z.ZodNativeEnum<typeof UpdateToolRequestBodyConnectionType>;
|
|
1235
|
-
/** @internal */
|
|
1236
|
-
export type UpdateToolRequestBodyMcp$Outbound = {
|
|
1237
|
-
server_url?: string | undefined;
|
|
1238
|
-
headers?: {
|
|
1239
|
-
[k: string]: UpdateToolRequestBodyHeaders$Outbound;
|
|
1240
|
-
} | undefined;
|
|
1241
|
-
tools?: Array<RequestBodyTools$Outbound> | undefined;
|
|
1242
|
-
connection_type?: string | undefined;
|
|
1243
|
-
};
|
|
1244
|
-
/** @internal */
|
|
1245
|
-
export declare const UpdateToolRequestBodyMcp$outboundSchema: z.ZodType<UpdateToolRequestBodyMcp$Outbound, z.ZodTypeDef, UpdateToolRequestBodyMcp>;
|
|
1246
|
-
export declare function updateToolRequestBodyMcpToJSON(updateToolRequestBodyMcp: UpdateToolRequestBodyMcp): string;
|
|
1247
|
-
/** @internal */
|
|
1248
|
-
export declare const UpdateToolRequestBodyToolsRequestVersionIncrement$outboundSchema: z.ZodNativeEnum<typeof UpdateToolRequestBodyToolsRequestVersionIncrement>;
|
|
1249
|
-
/** @internal */
|
|
1250
|
-
export type UpdateMCPTool$Outbound = {
|
|
1251
|
-
path?: string | undefined;
|
|
1252
|
-
key?: string | undefined;
|
|
1253
|
-
display_name?: string | undefined;
|
|
1254
|
-
description?: string | undefined;
|
|
1255
|
-
status: string;
|
|
1256
|
-
type: "mcp";
|
|
1257
|
-
mcp?: UpdateToolRequestBodyMcp$Outbound | undefined;
|
|
1258
|
-
discovery_variables?: {
|
|
1259
|
-
[k: string]: string;
|
|
1260
|
-
} | undefined;
|
|
1261
|
-
versionIncrement?: string | undefined;
|
|
1262
|
-
versionDescription?: string | undefined;
|
|
1263
|
-
};
|
|
1264
|
-
/** @internal */
|
|
1265
|
-
export declare const UpdateMCPTool$outboundSchema: z.ZodType<UpdateMCPTool$Outbound, z.ZodTypeDef, UpdateMCPTool>;
|
|
1266
|
-
export declare function updateMCPToolToJSON(updateMCPTool: UpdateMCPTool): string;
|
|
1267
|
-
/** @internal */
|
|
1268
977
|
export declare const UpdateToolRequestBodyToolsRequestStatus$outboundSchema: z.ZodNativeEnum<typeof UpdateToolRequestBodyToolsRequestStatus>;
|
|
1269
978
|
/** @internal */
|
|
1270
979
|
export declare const UpdateToolRequestBodyMethod$outboundSchema: z.ZodNativeEnum<typeof UpdateToolRequestBodyMethod>;
|
|
@@ -1277,10 +986,10 @@ export type UpdateToolHeaders2$Outbound = {
|
|
|
1277
986
|
export declare const UpdateToolHeaders2$outboundSchema: z.ZodType<UpdateToolHeaders2$Outbound, z.ZodTypeDef, UpdateToolHeaders2>;
|
|
1278
987
|
export declare function updateToolHeaders2ToJSON(updateToolHeaders2: UpdateToolHeaders2): string;
|
|
1279
988
|
/** @internal */
|
|
1280
|
-
export type
|
|
989
|
+
export type UpdateToolRequestBodyHeaders$Outbound = UpdateToolHeaders2$Outbound | string;
|
|
1281
990
|
/** @internal */
|
|
1282
|
-
export declare const
|
|
1283
|
-
export declare function
|
|
991
|
+
export declare const UpdateToolRequestBodyHeaders$outboundSchema: z.ZodType<UpdateToolRequestBodyHeaders$Outbound, z.ZodTypeDef, UpdateToolRequestBodyHeaders>;
|
|
992
|
+
export declare function updateToolRequestBodyHeadersToJSON(updateToolRequestBodyHeaders: UpdateToolRequestBodyHeaders): string;
|
|
1284
993
|
/** @internal */
|
|
1285
994
|
export type UpdateToolRequestBodyBlueprint$Outbound = {
|
|
1286
995
|
url: string;
|
|
@@ -1425,22 +1134,22 @@ export type UpdateFunctionTool$Outbound = {
|
|
|
1425
1134
|
export declare const UpdateFunctionTool$outboundSchema: z.ZodType<UpdateFunctionTool$Outbound, z.ZodTypeDef, UpdateFunctionTool>;
|
|
1426
1135
|
export declare function updateFunctionToolToJSON(updateFunctionTool: UpdateFunctionTool): string;
|
|
1427
1136
|
/** @internal */
|
|
1428
|
-
export type UpdateToolRequestBody$Outbound = UpdateFunctionTool$Outbound | UpdateJSONSchemaTool$Outbound | UpdateHTTPTool$Outbound |
|
|
1137
|
+
export type UpdateToolRequestBody$Outbound = UpdateFunctionTool$Outbound | UpdateJSONSchemaTool$Outbound | UpdateHTTPTool$Outbound | UpdateCodeExecutionTool$Outbound;
|
|
1429
1138
|
/** @internal */
|
|
1430
1139
|
export declare const UpdateToolRequestBody$outboundSchema: z.ZodType<UpdateToolRequestBody$Outbound, z.ZodTypeDef, UpdateToolRequestBody>;
|
|
1431
1140
|
export declare function updateToolRequestBodyToJSON(updateToolRequestBody: UpdateToolRequestBody): string;
|
|
1432
1141
|
/** @internal */
|
|
1433
1142
|
export type UpdateToolRequest$Outbound = {
|
|
1434
1143
|
tool_id: string;
|
|
1435
|
-
RequestBody?: UpdateFunctionTool$Outbound | UpdateJSONSchemaTool$Outbound | UpdateHTTPTool$Outbound |
|
|
1144
|
+
RequestBody?: UpdateFunctionTool$Outbound | UpdateJSONSchemaTool$Outbound | UpdateHTTPTool$Outbound | UpdateCodeExecutionTool$Outbound | undefined;
|
|
1436
1145
|
};
|
|
1437
1146
|
/** @internal */
|
|
1438
1147
|
export declare const UpdateToolRequest$outboundSchema: z.ZodType<UpdateToolRequest$Outbound, z.ZodTypeDef, UpdateToolRequest>;
|
|
1439
1148
|
export declare function updateToolRequestToJSON(updateToolRequest: UpdateToolRequest): string;
|
|
1440
1149
|
/** @internal */
|
|
1441
|
-
export declare const
|
|
1150
|
+
export declare const UpdateToolResponseBodyToolsResponse200Status$inboundSchema: z.ZodNativeEnum<typeof UpdateToolResponseBodyToolsResponse200Status>;
|
|
1442
1151
|
/** @internal */
|
|
1443
|
-
export declare const
|
|
1152
|
+
export declare const UpdateToolResponseBodyToolsResponse200ApplicationJson4Type$inboundSchema: z.ZodNativeEnum<typeof UpdateToolResponseBodyToolsResponse200ApplicationJson4Type>;
|
|
1444
1153
|
/** @internal */
|
|
1445
1154
|
export declare const UpdateToolResponseBodyToolsParameters$inboundSchema: z.ZodType<UpdateToolResponseBodyToolsParameters, z.ZodTypeDef, unknown>;
|
|
1446
1155
|
export declare function updateToolResponseBodyToolsParametersFromJSON(jsonString: string): SafeParseResult<UpdateToolResponseBodyToolsParameters, SDKValidationError>;
|
|
@@ -1453,27 +1162,6 @@ export declare function updateToolResponseBodyCodeToolFromJSON(jsonString: strin
|
|
|
1453
1162
|
export declare const UpdateToolResponseBodyCodeExecutionTool$inboundSchema: z.ZodType<UpdateToolResponseBodyCodeExecutionTool, z.ZodTypeDef, unknown>;
|
|
1454
1163
|
export declare function updateToolResponseBodyCodeExecutionToolFromJSON(jsonString: string): SafeParseResult<UpdateToolResponseBodyCodeExecutionTool, SDKValidationError>;
|
|
1455
1164
|
/** @internal */
|
|
1456
|
-
export declare const UpdateToolResponseBodyToolsResponse200Status$inboundSchema: z.ZodNativeEnum<typeof UpdateToolResponseBodyToolsResponse200Status>;
|
|
1457
|
-
/** @internal */
|
|
1458
|
-
export declare const UpdateToolResponseBodyHeaders$inboundSchema: z.ZodType<UpdateToolResponseBodyHeaders, z.ZodTypeDef, unknown>;
|
|
1459
|
-
export declare function updateToolResponseBodyHeadersFromJSON(jsonString: string): SafeParseResult<UpdateToolResponseBodyHeaders, SDKValidationError>;
|
|
1460
|
-
/** @internal */
|
|
1461
|
-
export declare const UpdateToolResponseBodyToolsResponse200ApplicationJson4Type$inboundSchema: z.ZodNativeEnum<typeof UpdateToolResponseBodyToolsResponse200ApplicationJson4Type>;
|
|
1462
|
-
/** @internal */
|
|
1463
|
-
export declare const UpdateToolResponseBodyToolsSchema$inboundSchema: z.ZodType<UpdateToolResponseBodyToolsSchema, z.ZodTypeDef, unknown>;
|
|
1464
|
-
export declare function updateToolResponseBodyToolsSchemaFromJSON(jsonString: string): SafeParseResult<UpdateToolResponseBodyToolsSchema, SDKValidationError>;
|
|
1465
|
-
/** @internal */
|
|
1466
|
-
export declare const UpdateToolResponseBodyTools$inboundSchema: z.ZodType<UpdateToolResponseBodyTools, z.ZodTypeDef, unknown>;
|
|
1467
|
-
export declare function updateToolResponseBodyToolsFromJSON(jsonString: string): SafeParseResult<UpdateToolResponseBodyTools, SDKValidationError>;
|
|
1468
|
-
/** @internal */
|
|
1469
|
-
export declare const UpdateToolResponseBodyConnectionType$inboundSchema: z.ZodNativeEnum<typeof UpdateToolResponseBodyConnectionType>;
|
|
1470
|
-
/** @internal */
|
|
1471
|
-
export declare const UpdateToolResponseBodyMcp$inboundSchema: z.ZodType<UpdateToolResponseBodyMcp, z.ZodTypeDef, unknown>;
|
|
1472
|
-
export declare function updateToolResponseBodyMcpFromJSON(jsonString: string): SafeParseResult<UpdateToolResponseBodyMcp, SDKValidationError>;
|
|
1473
|
-
/** @internal */
|
|
1474
|
-
export declare const UpdateToolResponseBodyMCPTool$inboundSchema: z.ZodType<UpdateToolResponseBodyMCPTool, z.ZodTypeDef, unknown>;
|
|
1475
|
-
export declare function updateToolResponseBodyMCPToolFromJSON(jsonString: string): SafeParseResult<UpdateToolResponseBodyMCPTool, SDKValidationError>;
|
|
1476
|
-
/** @internal */
|
|
1477
1165
|
export declare const UpdateToolResponseBodyToolsResponseStatus$inboundSchema: z.ZodNativeEnum<typeof UpdateToolResponseBodyToolsResponseStatus>;
|
|
1478
1166
|
/** @internal */
|
|
1479
1167
|
export declare const UpdateToolResponseBodyMethod$inboundSchema: z.ZodNativeEnum<typeof UpdateToolResponseBodyMethod>;
|
|
@@ -1481,13 +1169,13 @@ export declare const UpdateToolResponseBodyMethod$inboundSchema: z.ZodNativeEnum
|
|
|
1481
1169
|
export declare const UpdateToolHeadersTools2$inboundSchema: z.ZodType<UpdateToolHeadersTools2, z.ZodTypeDef, unknown>;
|
|
1482
1170
|
export declare function updateToolHeadersTools2FromJSON(jsonString: string): SafeParseResult<UpdateToolHeadersTools2, SDKValidationError>;
|
|
1483
1171
|
/** @internal */
|
|
1484
|
-
export declare const
|
|
1485
|
-
export declare function
|
|
1172
|
+
export declare const UpdateToolResponseBodyHeaders$inboundSchema: z.ZodType<UpdateToolResponseBodyHeaders, z.ZodTypeDef, unknown>;
|
|
1173
|
+
export declare function updateToolResponseBodyHeadersFromJSON(jsonString: string): SafeParseResult<UpdateToolResponseBodyHeaders, SDKValidationError>;
|
|
1486
1174
|
/** @internal */
|
|
1487
1175
|
export declare const UpdateToolResponseBodyBlueprint$inboundSchema: z.ZodType<UpdateToolResponseBodyBlueprint, z.ZodTypeDef, unknown>;
|
|
1488
1176
|
export declare function updateToolResponseBodyBlueprintFromJSON(jsonString: string): SafeParseResult<UpdateToolResponseBodyBlueprint, SDKValidationError>;
|
|
1489
1177
|
/** @internal */
|
|
1490
|
-
export declare const
|
|
1178
|
+
export declare const UpdateToolResponseBodyToolsResponse200ApplicationJSONType$inboundSchema: z.ZodNativeEnum<typeof UpdateToolResponseBodyToolsResponse200ApplicationJSONType>;
|
|
1491
1179
|
/** @internal */
|
|
1492
1180
|
export declare const UpdateToolResponseBodyDefaultValue$inboundSchema: z.ZodType<UpdateToolResponseBodyDefaultValue, z.ZodTypeDef, unknown>;
|
|
1493
1181
|
export declare function updateToolResponseBodyDefaultValueFromJSON(jsonString: string): SafeParseResult<UpdateToolResponseBodyDefaultValue, SDKValidationError>;
|