@orq-ai/node 4.0.0-rc.51 → 4.0.0-rc.53
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 +3 -4
- package/bin/mcp-server.js +6167 -1952
- package/bin/mcp-server.js.map +55 -56
- package/docs/sdks/agents/README.md +120 -82
- package/examples/package-lock.json +1 -1
- package/funcs/agentsInvoke.d.ts +1 -1
- package/funcs/agentsInvoke.d.ts.map +1 -1
- package/funcs/agentsInvoke.js +1 -1
- package/funcs/agentsInvoke.js.map +1 -1
- package/funcs/agentsListTasks.d.ts +1 -1
- package/funcs/agentsListTasks.d.ts.map +1 -1
- package/funcs/agentsListTasks.js +1 -1
- package/funcs/agentsListTasks.js.map +1 -1
- package/funcs/agentsRetrieveTask.d.ts +1 -1
- package/funcs/agentsRetrieveTask.d.ts.map +1 -1
- package/funcs/agentsRetrieveTask.js +1 -1
- package/funcs/agentsRetrieveTask.js.map +1 -1
- package/funcs/agentsRun.d.ts +1 -1
- package/funcs/agentsRun.d.ts.map +1 -1
- package/funcs/agentsRun.js +1 -1
- package/funcs/agentsRun.js.map +1 -1
- package/funcs/agentsStream.js +2 -0
- package/funcs/agentsStream.js.map +1 -1
- package/funcs/agentsStreamRun.js +2 -0
- package/funcs/agentsStreamRun.js.map +1 -1
- package/jsr.json +1 -1
- package/lib/config.d.ts +2 -2
- package/lib/config.js +2 -2
- package/mcp-server/mcp-server.js +1 -1
- package/mcp-server/server.js +2 -2
- package/mcp-server/server.js.map +1 -1
- package/models/errors/index.d.ts +0 -1
- package/models/errors/index.d.ts.map +1 -1
- package/models/errors/index.js +0 -1
- package/models/errors/index.js.map +1 -1
- package/models/operations/createagent.d.ts +17 -7
- package/models/operations/createagent.d.ts.map +1 -1
- package/models/operations/createagent.js +12 -4
- 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.d.ts +70 -70
- package/models/operations/createeval.d.ts.map +1 -1
- package/models/operations/createeval.js +162 -169
- package/models/operations/createeval.js.map +1 -1
- package/models/operations/createtool.d.ts +25 -25
- package/models/operations/createtool.d.ts.map +1 -1
- package/models/operations/createtool.js +41 -41
- package/models/operations/createtool.js.map +1 -1
- package/models/operations/deploymentinvoke.d.ts +6 -6
- package/models/operations/deploymentinvoke.d.ts.map +1 -1
- package/models/operations/deploymentinvoke.js +9 -9
- package/models/operations/deploymentinvoke.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 +5 -0
- package/models/operations/getagent.d.ts.map +1 -1
- package/models/operations/getagent.js +4 -0
- package/models/operations/getagent.js.map +1 -1
- package/models/operations/getagenttask.d.ts +682 -108
- package/models/operations/getagenttask.d.ts.map +1 -1
- package/models/operations/getagenttask.js +635 -155
- package/models/operations/getagenttask.js.map +1 -1
- package/models/operations/getalltools.d.ts +34 -34
- package/models/operations/getalltools.d.ts.map +1 -1
- package/models/operations/getalltools.js +74 -79
- 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/invokeagent.d.ts +143 -123
- package/models/operations/invokeagent.d.ts.map +1 -1
- package/models/operations/invokeagent.js +143 -146
- package/models/operations/invokeagent.js.map +1 -1
- package/models/operations/listagents.d.ts +5 -0
- package/models/operations/listagents.d.ts.map +1 -1
- package/models/operations/listagents.js +4 -0
- package/models/operations/listagents.js.map +1 -1
- package/models/operations/listagenttasks.d.ts +680 -118
- package/models/operations/listagenttasks.d.ts.map +1 -1
- package/models/operations/listagenttasks.js +612 -144
- package/models/operations/listagenttasks.js.map +1 -1
- package/models/operations/listbudgets.js +2 -2
- package/models/operations/listchunks.d.ts +6 -6
- package/models/operations/listchunks.d.ts.map +1 -1
- package/models/operations/listchunks.js +9 -9
- package/models/operations/listchunks.js.map +1 -1
- 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.d.ts +6 -6
- package/models/operations/listdatasources.d.ts.map +1 -1
- package/models/operations/listdatasources.js +12 -11
- package/models/operations/listdatasources.js.map +1 -1
- 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.js +12 -12
- package/models/operations/runagent.d.ts +112 -98
- package/models/operations/runagent.d.ts.map +1 -1
- package/models/operations/runagent.js +120 -121
- package/models/operations/runagent.js.map +1 -1
- package/models/operations/streamagent.d.ts +2725 -167
- package/models/operations/streamagent.d.ts.map +1 -1
- package/models/operations/streamagent.js +2948 -17
- package/models/operations/streamagent.js.map +1 -1
- package/models/operations/streamrunagent.d.ts +3274 -722
- package/models/operations/streamrunagent.d.ts.map +1 -1
- package/models/operations/streamrunagent.js +2948 -24
- package/models/operations/streamrunagent.js.map +1 -1
- package/models/operations/updateagent.d.ts +28 -15
- package/models/operations/updateagent.d.ts.map +1 -1
- package/models/operations/updateagent.js +25 -15
- 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.js +14 -14
- package/package.json +1 -1
- package/sdk/agents.d.ts +10 -10
- package/sdk/agents.d.ts.map +1 -1
- package/sdk/agents.js +9 -9
- package/sdk/agents.js.map +1 -1
- package/src/funcs/agentsInvoke.ts +4 -4
- package/src/funcs/agentsListTasks.ts +4 -4
- package/src/funcs/agentsRetrieveTask.ts +8 -8
- package/src/funcs/agentsRun.ts +4 -4
- package/src/funcs/agentsStream.ts +1 -0
- package/src/funcs/agentsStreamRun.ts +1 -0
- package/src/lib/config.ts +2 -2
- package/src/mcp-server/mcp-server.ts +1 -1
- package/src/mcp-server/server.ts +2 -2
- package/src/models/errors/index.ts +0 -1
- package/src/models/operations/createagent.ts +31 -13
- 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 +368 -294
- package/src/models/operations/createtool.ts +76 -76
- package/src/models/operations/deploymentinvoke.ts +17 -24
- 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 +9 -0
- package/src/models/operations/getagenttask.ts +1873 -428
- package/src/models/operations/getalltools.ts +277 -231
- package/src/models/operations/getbudget.ts +2 -2
- package/src/models/operations/getevals.ts +28 -28
- package/src/models/operations/invokeagent.ts +319 -299
- package/src/models/operations/listagents.ts +9 -0
- package/src/models/operations/listagenttasks.ts +2029 -540
- package/src/models/operations/listbudgets.ts +2 -2
- package/src/models/operations/listchunks.ts +14 -14
- 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 +15 -22
- 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 +12 -12
- package/src/models/operations/runagent.ts +264 -220
- package/src/models/operations/streamagent.ts +7635 -414
- package/src/models/operations/streamrunagent.ts +10745 -3582
- package/src/models/operations/updateagent.ts +56 -31
- 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 +14 -14
- package/src/sdk/agents.ts +20 -20
- package/models/errors/getagenttask.d.ts +0 -29
- package/models/errors/getagenttask.d.ts.map +0 -1
- package/models/errors/getagenttask.js +0 -74
- package/models/errors/getagenttask.js.map +0 -1
- package/src/models/errors/getagenttask.ts +0 -67
|
@@ -15,7 +15,7 @@ import { SDKValidationError } from "../errors/sdkvalidationerror.js";
|
|
|
15
15
|
/**
|
|
16
16
|
* 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.
|
|
17
17
|
*/
|
|
18
|
-
export const
|
|
18
|
+
export const CreateToolRequestBodyToolsRequestStatus = {
|
|
19
19
|
Live: "live",
|
|
20
20
|
Draft: "draft",
|
|
21
21
|
Pending: "pending",
|
|
@@ -24,8 +24,8 @@ export const CreateToolRequestBodyToolsRequest5Status = {
|
|
|
24
24
|
/**
|
|
25
25
|
* 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.
|
|
26
26
|
*/
|
|
27
|
-
export type
|
|
28
|
-
typeof
|
|
27
|
+
export type CreateToolRequestBodyToolsRequestStatus = ClosedEnum<
|
|
28
|
+
typeof CreateToolRequestBodyToolsRequestStatus
|
|
29
29
|
>;
|
|
30
30
|
|
|
31
31
|
export const CreateToolRequestBodyToolsRequest5Type = {
|
|
@@ -113,7 +113,7 @@ export type RequestBodyCodeExecutionTool = {
|
|
|
113
113
|
/**
|
|
114
114
|
* 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.
|
|
115
115
|
*/
|
|
116
|
-
status?:
|
|
116
|
+
status?: CreateToolRequestBodyToolsRequestStatus | undefined;
|
|
117
117
|
type: CreateToolRequestBodyToolsRequest5Type;
|
|
118
118
|
codeTool: RequestBodyCodeTool;
|
|
119
119
|
};
|
|
@@ -121,7 +121,7 @@ export type RequestBodyCodeExecutionTool = {
|
|
|
121
121
|
/**
|
|
122
122
|
* 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.
|
|
123
123
|
*/
|
|
124
|
-
export const
|
|
124
|
+
export const CreateToolRequestBodyToolsStatus = {
|
|
125
125
|
Live: "live",
|
|
126
126
|
Draft: "draft",
|
|
127
127
|
Pending: "pending",
|
|
@@ -130,8 +130,8 @@ export const CreateToolRequestBodyToolsRequestStatus = {
|
|
|
130
130
|
/**
|
|
131
131
|
* 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.
|
|
132
132
|
*/
|
|
133
|
-
export type
|
|
134
|
-
typeof
|
|
133
|
+
export type CreateToolRequestBodyToolsStatus = ClosedEnum<
|
|
134
|
+
typeof CreateToolRequestBodyToolsStatus
|
|
135
135
|
>;
|
|
136
136
|
|
|
137
137
|
export const CreateToolRequestBodyToolsRequest4Type = {
|
|
@@ -204,7 +204,7 @@ export type RequestBodyMCPTool = {
|
|
|
204
204
|
/**
|
|
205
205
|
* 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.
|
|
206
206
|
*/
|
|
207
|
-
status?:
|
|
207
|
+
status?: CreateToolRequestBodyToolsStatus | undefined;
|
|
208
208
|
type: CreateToolRequestBodyToolsRequest4Type;
|
|
209
209
|
mcp: RequestBodyMcp;
|
|
210
210
|
};
|
|
@@ -212,7 +212,7 @@ export type RequestBodyMCPTool = {
|
|
|
212
212
|
/**
|
|
213
213
|
* 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.
|
|
214
214
|
*/
|
|
215
|
-
export const
|
|
215
|
+
export const CreateToolRequestBodyStatus = {
|
|
216
216
|
Live: "live",
|
|
217
217
|
Draft: "draft",
|
|
218
218
|
Pending: "pending",
|
|
@@ -221,8 +221,8 @@ export const CreateToolRequestBodyToolsStatus = {
|
|
|
221
221
|
/**
|
|
222
222
|
* 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.
|
|
223
223
|
*/
|
|
224
|
-
export type
|
|
225
|
-
typeof
|
|
224
|
+
export type CreateToolRequestBodyStatus = ClosedEnum<
|
|
225
|
+
typeof CreateToolRequestBodyStatus
|
|
226
226
|
>;
|
|
227
227
|
|
|
228
228
|
export const CreateToolRequestBodyToolsRequestType = {
|
|
@@ -356,7 +356,7 @@ export type RequestBodyHTTPTool = {
|
|
|
356
356
|
/**
|
|
357
357
|
* 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.
|
|
358
358
|
*/
|
|
359
|
-
status?:
|
|
359
|
+
status?: CreateToolRequestBodyStatus | undefined;
|
|
360
360
|
type: CreateToolRequestBodyToolsRequestType;
|
|
361
361
|
http: CreateToolRequestBodyHttp;
|
|
362
362
|
};
|
|
@@ -364,7 +364,7 @@ export type RequestBodyHTTPTool = {
|
|
|
364
364
|
/**
|
|
365
365
|
* 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.
|
|
366
366
|
*/
|
|
367
|
-
export const
|
|
367
|
+
export const RequestBodyStatus = {
|
|
368
368
|
Live: "live",
|
|
369
369
|
Draft: "draft",
|
|
370
370
|
Pending: "pending",
|
|
@@ -373,9 +373,7 @@ export const CreateToolRequestBodyStatus = {
|
|
|
373
373
|
/**
|
|
374
374
|
* 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.
|
|
375
375
|
*/
|
|
376
|
-
export type
|
|
377
|
-
typeof CreateToolRequestBodyStatus
|
|
378
|
-
>;
|
|
376
|
+
export type RequestBodyStatus = ClosedEnum<typeof RequestBodyStatus>;
|
|
379
377
|
|
|
380
378
|
export const CreateToolRequestBodyToolsType = {
|
|
381
379
|
JsonSchema: "json_schema",
|
|
@@ -451,7 +449,7 @@ export type JSONSchemaTool = {
|
|
|
451
449
|
/**
|
|
452
450
|
* 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.
|
|
453
451
|
*/
|
|
454
|
-
status?:
|
|
452
|
+
status?: RequestBodyStatus | undefined;
|
|
455
453
|
type: CreateToolRequestBodyToolsType;
|
|
456
454
|
jsonSchema: RequestBodyJsonSchema;
|
|
457
455
|
};
|
|
@@ -459,7 +457,7 @@ export type JSONSchemaTool = {
|
|
|
459
457
|
/**
|
|
460
458
|
* 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.
|
|
461
459
|
*/
|
|
462
|
-
export const
|
|
460
|
+
export const CreateToolRequestBodyToolsRequest1Status = {
|
|
463
461
|
Live: "live",
|
|
464
462
|
Draft: "draft",
|
|
465
463
|
Pending: "pending",
|
|
@@ -468,7 +466,9 @@ export const RequestBodyStatus = {
|
|
|
468
466
|
/**
|
|
469
467
|
* 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.
|
|
470
468
|
*/
|
|
471
|
-
export type
|
|
469
|
+
export type CreateToolRequestBodyToolsRequest1Status = ClosedEnum<
|
|
470
|
+
typeof CreateToolRequestBodyToolsRequest1Status
|
|
471
|
+
>;
|
|
472
472
|
|
|
473
473
|
export const CreateToolRequestBodyType = {
|
|
474
474
|
Function: "function",
|
|
@@ -557,7 +557,7 @@ export type RequestBodyFunctionTool = {
|
|
|
557
557
|
/**
|
|
558
558
|
* 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.
|
|
559
559
|
*/
|
|
560
|
-
status?:
|
|
560
|
+
status?: CreateToolRequestBodyToolsRequest1Status | undefined;
|
|
561
561
|
type: CreateToolRequestBodyType;
|
|
562
562
|
function: RequestBodyFunction;
|
|
563
563
|
};
|
|
@@ -1207,13 +1207,13 @@ export type CreateToolResponseBody =
|
|
|
1207
1207
|
| ResponseBody5;
|
|
1208
1208
|
|
|
1209
1209
|
/** @internal */
|
|
1210
|
-
export const
|
|
1211
|
-
z.ZodNativeEnum<typeof
|
|
1212
|
-
.nativeEnum(
|
|
1210
|
+
export const CreateToolRequestBodyToolsRequestStatus$inboundSchema:
|
|
1211
|
+
z.ZodNativeEnum<typeof CreateToolRequestBodyToolsRequestStatus> = z
|
|
1212
|
+
.nativeEnum(CreateToolRequestBodyToolsRequestStatus);
|
|
1213
1213
|
/** @internal */
|
|
1214
|
-
export const
|
|
1215
|
-
z.ZodNativeEnum<typeof
|
|
1216
|
-
|
|
1214
|
+
export const CreateToolRequestBodyToolsRequestStatus$outboundSchema:
|
|
1215
|
+
z.ZodNativeEnum<typeof CreateToolRequestBodyToolsRequestStatus> =
|
|
1216
|
+
CreateToolRequestBodyToolsRequestStatus$inboundSchema;
|
|
1217
1217
|
|
|
1218
1218
|
/** @internal */
|
|
1219
1219
|
export const CreateToolRequestBodyToolsRequest5Type$inboundSchema:
|
|
@@ -1360,9 +1360,7 @@ export const RequestBodyCodeExecutionTool$inboundSchema: z.ZodType<
|
|
|
1360
1360
|
key: z.string(),
|
|
1361
1361
|
display_name: z.string().optional(),
|
|
1362
1362
|
description: z.string(),
|
|
1363
|
-
status:
|
|
1364
|
-
"live",
|
|
1365
|
-
),
|
|
1363
|
+
status: CreateToolRequestBodyToolsRequestStatus$inboundSchema.default("live"),
|
|
1366
1364
|
type: CreateToolRequestBodyToolsRequest5Type$inboundSchema,
|
|
1367
1365
|
code_tool: z.lazy(() => RequestBodyCodeTool$inboundSchema),
|
|
1368
1366
|
}).transform((v) => {
|
|
@@ -1392,7 +1390,7 @@ export const RequestBodyCodeExecutionTool$outboundSchema: z.ZodType<
|
|
|
1392
1390
|
key: z.string(),
|
|
1393
1391
|
displayName: z.string().optional(),
|
|
1394
1392
|
description: z.string(),
|
|
1395
|
-
status:
|
|
1393
|
+
status: CreateToolRequestBodyToolsRequestStatus$outboundSchema.default(
|
|
1396
1394
|
"live",
|
|
1397
1395
|
),
|
|
1398
1396
|
type: CreateToolRequestBodyToolsRequest5Type$outboundSchema,
|
|
@@ -1424,13 +1422,13 @@ export function requestBodyCodeExecutionToolFromJSON(
|
|
|
1424
1422
|
}
|
|
1425
1423
|
|
|
1426
1424
|
/** @internal */
|
|
1427
|
-
export const
|
|
1428
|
-
|
|
1429
|
-
|
|
1425
|
+
export const CreateToolRequestBodyToolsStatus$inboundSchema: z.ZodNativeEnum<
|
|
1426
|
+
typeof CreateToolRequestBodyToolsStatus
|
|
1427
|
+
> = z.nativeEnum(CreateToolRequestBodyToolsStatus);
|
|
1430
1428
|
/** @internal */
|
|
1431
|
-
export const
|
|
1432
|
-
|
|
1433
|
-
|
|
1429
|
+
export const CreateToolRequestBodyToolsStatus$outboundSchema: z.ZodNativeEnum<
|
|
1430
|
+
typeof CreateToolRequestBodyToolsStatus
|
|
1431
|
+
> = CreateToolRequestBodyToolsStatus$inboundSchema;
|
|
1434
1432
|
|
|
1435
1433
|
/** @internal */
|
|
1436
1434
|
export const CreateToolRequestBodyToolsRequest4Type$inboundSchema:
|
|
@@ -1554,7 +1552,7 @@ export const RequestBodyMCPTool$inboundSchema: z.ZodType<
|
|
|
1554
1552
|
key: z.string(),
|
|
1555
1553
|
display_name: z.string().optional(),
|
|
1556
1554
|
description: z.string(),
|
|
1557
|
-
status:
|
|
1555
|
+
status: CreateToolRequestBodyToolsStatus$inboundSchema.default("live"),
|
|
1558
1556
|
type: CreateToolRequestBodyToolsRequest4Type$inboundSchema,
|
|
1559
1557
|
mcp: z.lazy(() => RequestBodyMcp$inboundSchema),
|
|
1560
1558
|
}).transform((v) => {
|
|
@@ -1583,9 +1581,7 @@ export const RequestBodyMCPTool$outboundSchema: z.ZodType<
|
|
|
1583
1581
|
key: z.string(),
|
|
1584
1582
|
displayName: z.string().optional(),
|
|
1585
1583
|
description: z.string(),
|
|
1586
|
-
status:
|
|
1587
|
-
"live",
|
|
1588
|
-
),
|
|
1584
|
+
status: CreateToolRequestBodyToolsStatus$outboundSchema.default("live"),
|
|
1589
1585
|
type: CreateToolRequestBodyToolsRequest4Type$outboundSchema,
|
|
1590
1586
|
mcp: z.lazy(() => RequestBodyMcp$outboundSchema),
|
|
1591
1587
|
}).transform((v) => {
|
|
@@ -1612,13 +1608,13 @@ export function requestBodyMCPToolFromJSON(
|
|
|
1612
1608
|
}
|
|
1613
1609
|
|
|
1614
1610
|
/** @internal */
|
|
1615
|
-
export const
|
|
1616
|
-
typeof
|
|
1617
|
-
> = z.nativeEnum(
|
|
1611
|
+
export const CreateToolRequestBodyStatus$inboundSchema: z.ZodNativeEnum<
|
|
1612
|
+
typeof CreateToolRequestBodyStatus
|
|
1613
|
+
> = z.nativeEnum(CreateToolRequestBodyStatus);
|
|
1618
1614
|
/** @internal */
|
|
1619
|
-
export const
|
|
1620
|
-
typeof
|
|
1621
|
-
> =
|
|
1615
|
+
export const CreateToolRequestBodyStatus$outboundSchema: z.ZodNativeEnum<
|
|
1616
|
+
typeof CreateToolRequestBodyStatus
|
|
1617
|
+
> = CreateToolRequestBodyStatus$inboundSchema;
|
|
1622
1618
|
|
|
1623
1619
|
/** @internal */
|
|
1624
1620
|
export const CreateToolRequestBodyToolsRequestType$inboundSchema:
|
|
@@ -1925,7 +1921,7 @@ export const RequestBodyHTTPTool$inboundSchema: z.ZodType<
|
|
|
1925
1921
|
key: z.string(),
|
|
1926
1922
|
display_name: z.string().optional(),
|
|
1927
1923
|
description: z.string(),
|
|
1928
|
-
status:
|
|
1924
|
+
status: CreateToolRequestBodyStatus$inboundSchema.default("live"),
|
|
1929
1925
|
type: CreateToolRequestBodyToolsRequestType$inboundSchema,
|
|
1930
1926
|
http: z.lazy(() => CreateToolRequestBodyHttp$inboundSchema),
|
|
1931
1927
|
}).transform((v) => {
|
|
@@ -1954,7 +1950,7 @@ export const RequestBodyHTTPTool$outboundSchema: z.ZodType<
|
|
|
1954
1950
|
key: z.string(),
|
|
1955
1951
|
displayName: z.string().optional(),
|
|
1956
1952
|
description: z.string(),
|
|
1957
|
-
status:
|
|
1953
|
+
status: CreateToolRequestBodyStatus$outboundSchema.default("live"),
|
|
1958
1954
|
type: CreateToolRequestBodyToolsRequestType$outboundSchema,
|
|
1959
1955
|
http: z.lazy(() => CreateToolRequestBodyHttp$outboundSchema),
|
|
1960
1956
|
}).transform((v) => {
|
|
@@ -1981,13 +1977,13 @@ export function requestBodyHTTPToolFromJSON(
|
|
|
1981
1977
|
}
|
|
1982
1978
|
|
|
1983
1979
|
/** @internal */
|
|
1984
|
-
export const
|
|
1985
|
-
typeof
|
|
1986
|
-
> = z.nativeEnum(
|
|
1980
|
+
export const RequestBodyStatus$inboundSchema: z.ZodNativeEnum<
|
|
1981
|
+
typeof RequestBodyStatus
|
|
1982
|
+
> = z.nativeEnum(RequestBodyStatus);
|
|
1987
1983
|
/** @internal */
|
|
1988
|
-
export const
|
|
1989
|
-
typeof
|
|
1990
|
-
> =
|
|
1984
|
+
export const RequestBodyStatus$outboundSchema: z.ZodNativeEnum<
|
|
1985
|
+
typeof RequestBodyStatus
|
|
1986
|
+
> = RequestBodyStatus$inboundSchema;
|
|
1991
1987
|
|
|
1992
1988
|
/** @internal */
|
|
1993
1989
|
export const CreateToolRequestBodyToolsType$inboundSchema: z.ZodNativeEnum<
|
|
@@ -2114,7 +2110,7 @@ export const JSONSchemaTool$inboundSchema: z.ZodType<
|
|
|
2114
2110
|
key: z.string(),
|
|
2115
2111
|
display_name: z.string().optional(),
|
|
2116
2112
|
description: z.string(),
|
|
2117
|
-
status:
|
|
2113
|
+
status: RequestBodyStatus$inboundSchema.default("live"),
|
|
2118
2114
|
type: CreateToolRequestBodyToolsType$inboundSchema,
|
|
2119
2115
|
json_schema: z.lazy(() => RequestBodyJsonSchema$inboundSchema),
|
|
2120
2116
|
}).transform((v) => {
|
|
@@ -2144,7 +2140,7 @@ export const JSONSchemaTool$outboundSchema: z.ZodType<
|
|
|
2144
2140
|
key: z.string(),
|
|
2145
2141
|
displayName: z.string().optional(),
|
|
2146
2142
|
description: z.string(),
|
|
2147
|
-
status:
|
|
2143
|
+
status: RequestBodyStatus$outboundSchema.default("live"),
|
|
2148
2144
|
type: CreateToolRequestBodyToolsType$outboundSchema,
|
|
2149
2145
|
jsonSchema: z.lazy(() => RequestBodyJsonSchema$outboundSchema),
|
|
2150
2146
|
}).transform((v) => {
|
|
@@ -2168,13 +2164,13 @@ export function jsonSchemaToolFromJSON(
|
|
|
2168
2164
|
}
|
|
2169
2165
|
|
|
2170
2166
|
/** @internal */
|
|
2171
|
-
export const
|
|
2172
|
-
typeof
|
|
2173
|
-
|
|
2167
|
+
export const CreateToolRequestBodyToolsRequest1Status$inboundSchema:
|
|
2168
|
+
z.ZodNativeEnum<typeof CreateToolRequestBodyToolsRequest1Status> = z
|
|
2169
|
+
.nativeEnum(CreateToolRequestBodyToolsRequest1Status);
|
|
2174
2170
|
/** @internal */
|
|
2175
|
-
export const
|
|
2176
|
-
typeof
|
|
2177
|
-
|
|
2171
|
+
export const CreateToolRequestBodyToolsRequest1Status$outboundSchema:
|
|
2172
|
+
z.ZodNativeEnum<typeof CreateToolRequestBodyToolsRequest1Status> =
|
|
2173
|
+
CreateToolRequestBodyToolsRequest1Status$inboundSchema;
|
|
2178
2174
|
|
|
2179
2175
|
/** @internal */
|
|
2180
2176
|
export const CreateToolRequestBodyType$inboundSchema: z.ZodNativeEnum<
|
|
@@ -2311,7 +2307,9 @@ export const RequestBodyFunctionTool$inboundSchema: z.ZodType<
|
|
|
2311
2307
|
key: z.string(),
|
|
2312
2308
|
display_name: z.string().optional(),
|
|
2313
2309
|
description: z.string(),
|
|
2314
|
-
status:
|
|
2310
|
+
status: CreateToolRequestBodyToolsRequest1Status$inboundSchema.default(
|
|
2311
|
+
"live",
|
|
2312
|
+
),
|
|
2315
2313
|
type: CreateToolRequestBodyType$inboundSchema,
|
|
2316
2314
|
function: z.lazy(() => RequestBodyFunction$inboundSchema),
|
|
2317
2315
|
}).transform((v) => {
|
|
@@ -2340,7 +2338,9 @@ export const RequestBodyFunctionTool$outboundSchema: z.ZodType<
|
|
|
2340
2338
|
key: z.string(),
|
|
2341
2339
|
displayName: z.string().optional(),
|
|
2342
2340
|
description: z.string(),
|
|
2343
|
-
status:
|
|
2341
|
+
status: CreateToolRequestBodyToolsRequest1Status$outboundSchema.default(
|
|
2342
|
+
"live",
|
|
2343
|
+
),
|
|
2344
2344
|
type: CreateToolRequestBodyType$outboundSchema,
|
|
2345
2345
|
function: z.lazy(() => RequestBodyFunction$outboundSchema),
|
|
2346
2346
|
}).transform((v) => {
|
|
@@ -2571,7 +2571,7 @@ export const ResponseBody5$inboundSchema: z.ZodType<
|
|
|
2571
2571
|
z.ZodTypeDef,
|
|
2572
2572
|
unknown
|
|
2573
2573
|
> = z.object({
|
|
2574
|
-
_id: z.string().default("
|
|
2574
|
+
_id: z.string().default("tool_01KAG5HRAENFTM82GE01AWY7ME"),
|
|
2575
2575
|
path: z.string(),
|
|
2576
2576
|
key: z.string(),
|
|
2577
2577
|
display_name: z.string().optional(),
|
|
@@ -2625,7 +2625,7 @@ export const ResponseBody5$outboundSchema: z.ZodType<
|
|
|
2625
2625
|
z.ZodTypeDef,
|
|
2626
2626
|
ResponseBody5
|
|
2627
2627
|
> = z.object({
|
|
2628
|
-
id: z.string().default("
|
|
2628
|
+
id: z.string().default("tool_01KAG5HRAENFTM82GE01AWY7ME"),
|
|
2629
2629
|
path: z.string(),
|
|
2630
2630
|
key: z.string(),
|
|
2631
2631
|
displayName: z.string().optional(),
|
|
@@ -2795,7 +2795,7 @@ export const ResponseBodyTools$inboundSchema: z.ZodType<
|
|
|
2795
2795
|
z.ZodTypeDef,
|
|
2796
2796
|
unknown
|
|
2797
2797
|
> = z.object({
|
|
2798
|
-
id: z.string().default("
|
|
2798
|
+
id: z.string().default("01KAG5HRAAYQPZAM003Q1VJCWT"),
|
|
2799
2799
|
name: z.string(),
|
|
2800
2800
|
description: z.string().optional(),
|
|
2801
2801
|
schema: z.lazy(() => CreateToolResponseBodySchema$inboundSchema),
|
|
@@ -2814,7 +2814,7 @@ export const ResponseBodyTools$outboundSchema: z.ZodType<
|
|
|
2814
2814
|
z.ZodTypeDef,
|
|
2815
2815
|
ResponseBodyTools
|
|
2816
2816
|
> = z.object({
|
|
2817
|
-
id: z.string().default("
|
|
2817
|
+
id: z.string().default("01KAG5HRAAYQPZAM003Q1VJCWT"),
|
|
2818
2818
|
name: z.string(),
|
|
2819
2819
|
description: z.string().optional(),
|
|
2820
2820
|
schema: z.lazy(() => CreateToolResponseBodySchema$outboundSchema),
|
|
@@ -2909,7 +2909,7 @@ export const ResponseBody4$inboundSchema: z.ZodType<
|
|
|
2909
2909
|
z.ZodTypeDef,
|
|
2910
2910
|
unknown
|
|
2911
2911
|
> = z.object({
|
|
2912
|
-
_id: z.string().default("
|
|
2912
|
+
_id: z.string().default("tool_01KAG5HRA8QVKHMQHKF2EH229B"),
|
|
2913
2913
|
path: z.string(),
|
|
2914
2914
|
key: z.string(),
|
|
2915
2915
|
display_name: z.string().optional(),
|
|
@@ -2962,7 +2962,7 @@ export const ResponseBody4$outboundSchema: z.ZodType<
|
|
|
2962
2962
|
z.ZodTypeDef,
|
|
2963
2963
|
ResponseBody4
|
|
2964
2964
|
> = z.object({
|
|
2965
|
-
id: z.string().default("
|
|
2965
|
+
id: z.string().default("tool_01KAG5HRA8QVKHMQHKF2EH229B"),
|
|
2966
2966
|
path: z.string(),
|
|
2967
2967
|
key: z.string(),
|
|
2968
2968
|
displayName: z.string().optional(),
|
|
@@ -3318,7 +3318,7 @@ export const ResponseBody3$inboundSchema: z.ZodType<
|
|
|
3318
3318
|
z.ZodTypeDef,
|
|
3319
3319
|
unknown
|
|
3320
3320
|
> = z.object({
|
|
3321
|
-
_id: z.string().default("
|
|
3321
|
+
_id: z.string().default("tool_01KAG5HRA459P8D8CZ89Z81WHY"),
|
|
3322
3322
|
path: z.string(),
|
|
3323
3323
|
key: z.string(),
|
|
3324
3324
|
display_name: z.string().optional(),
|
|
@@ -3369,7 +3369,7 @@ export const ResponseBody3$outboundSchema: z.ZodType<
|
|
|
3369
3369
|
z.ZodTypeDef,
|
|
3370
3370
|
ResponseBody3
|
|
3371
3371
|
> = z.object({
|
|
3372
|
-
id: z.string().default("
|
|
3372
|
+
id: z.string().default("tool_01KAG5HRA459P8D8CZ89Z81WHY"),
|
|
3373
3373
|
path: z.string(),
|
|
3374
3374
|
key: z.string(),
|
|
3375
3375
|
displayName: z.string().optional(),
|
|
@@ -3539,7 +3539,7 @@ export const ResponseBody2$inboundSchema: z.ZodType<
|
|
|
3539
3539
|
z.ZodTypeDef,
|
|
3540
3540
|
unknown
|
|
3541
3541
|
> = z.object({
|
|
3542
|
-
_id: z.string().default("
|
|
3542
|
+
_id: z.string().default("tool_01KAG5HRA22WZGSGX56C12M5K0"),
|
|
3543
3543
|
path: z.string(),
|
|
3544
3544
|
key: z.string(),
|
|
3545
3545
|
display_name: z.string().optional(),
|
|
@@ -3591,7 +3591,7 @@ export const ResponseBody2$outboundSchema: z.ZodType<
|
|
|
3591
3591
|
z.ZodTypeDef,
|
|
3592
3592
|
ResponseBody2
|
|
3593
3593
|
> = z.object({
|
|
3594
|
-
id: z.string().default("
|
|
3594
|
+
id: z.string().default("tool_01KAG5HRA22WZGSGX56C12M5K0"),
|
|
3595
3595
|
path: z.string(),
|
|
3596
3596
|
key: z.string(),
|
|
3597
3597
|
displayName: z.string().optional(),
|
|
@@ -3777,7 +3777,7 @@ export const ResponseBody1$inboundSchema: z.ZodType<
|
|
|
3777
3777
|
z.ZodTypeDef,
|
|
3778
3778
|
unknown
|
|
3779
3779
|
> = z.object({
|
|
3780
|
-
_id: z.string().default("
|
|
3780
|
+
_id: z.string().default("tool_01KAG5HRA00AXPVY1A96W3970T"),
|
|
3781
3781
|
path: z.string(),
|
|
3782
3782
|
key: z.string(),
|
|
3783
3783
|
display_name: z.string().optional(),
|
|
@@ -3828,7 +3828,7 @@ export const ResponseBody1$outboundSchema: z.ZodType<
|
|
|
3828
3828
|
z.ZodTypeDef,
|
|
3829
3829
|
ResponseBody1
|
|
3830
3830
|
> = z.object({
|
|
3831
|
-
id: z.string().default("
|
|
3831
|
+
id: z.string().default("tool_01KAG5HRA00AXPVY1A96W3970T"),
|
|
3832
3832
|
path: z.string(),
|
|
3833
3833
|
key: z.string(),
|
|
3834
3834
|
displayName: z.string().optional(),
|
|
@@ -250,7 +250,7 @@ export type Message1 = {
|
|
|
250
250
|
redactedReasoning?: string | undefined;
|
|
251
251
|
};
|
|
252
252
|
|
|
253
|
-
export type
|
|
253
|
+
export type Message = Message1 | Message2 | Message3;
|
|
254
254
|
|
|
255
255
|
export type DeploymentInvokeChoices = {
|
|
256
256
|
index: number;
|
|
@@ -793,46 +793,39 @@ export function message1FromJSON(
|
|
|
793
793
|
}
|
|
794
794
|
|
|
795
795
|
/** @internal */
|
|
796
|
-
export const
|
|
797
|
-
|
|
798
|
-
|
|
799
|
-
|
|
800
|
-
|
|
801
|
-
|
|
802
|
-
z.lazy(() => Message2$inboundSchema),
|
|
803
|
-
z.lazy(() => Message3$inboundSchema),
|
|
804
|
-
]);
|
|
796
|
+
export const Message$inboundSchema: z.ZodType<Message, z.ZodTypeDef, unknown> =
|
|
797
|
+
z.union([
|
|
798
|
+
z.lazy(() => Message1$inboundSchema),
|
|
799
|
+
z.lazy(() => Message2$inboundSchema),
|
|
800
|
+
z.lazy(() => Message3$inboundSchema),
|
|
801
|
+
]);
|
|
805
802
|
/** @internal */
|
|
806
|
-
export type
|
|
803
|
+
export type Message$Outbound =
|
|
807
804
|
| Message1$Outbound
|
|
808
805
|
| Message2$Outbound
|
|
809
806
|
| Message3$Outbound;
|
|
810
807
|
|
|
811
808
|
/** @internal */
|
|
812
|
-
export const
|
|
813
|
-
|
|
809
|
+
export const Message$outboundSchema: z.ZodType<
|
|
810
|
+
Message$Outbound,
|
|
814
811
|
z.ZodTypeDef,
|
|
815
|
-
|
|
812
|
+
Message
|
|
816
813
|
> = z.union([
|
|
817
814
|
z.lazy(() => Message1$outboundSchema),
|
|
818
815
|
z.lazy(() => Message2$outboundSchema),
|
|
819
816
|
z.lazy(() => Message3$outboundSchema),
|
|
820
817
|
]);
|
|
821
818
|
|
|
822
|
-
export function
|
|
823
|
-
|
|
824
|
-
): string {
|
|
825
|
-
return JSON.stringify(
|
|
826
|
-
DeploymentInvokeMessage$outboundSchema.parse(deploymentInvokeMessage),
|
|
827
|
-
);
|
|
819
|
+
export function messageToJSON(message: Message): string {
|
|
820
|
+
return JSON.stringify(Message$outboundSchema.parse(message));
|
|
828
821
|
}
|
|
829
|
-
export function
|
|
822
|
+
export function messageFromJSON(
|
|
830
823
|
jsonString: string,
|
|
831
|
-
): SafeParseResult<
|
|
824
|
+
): SafeParseResult<Message, SDKValidationError> {
|
|
832
825
|
return safeParse(
|
|
833
826
|
jsonString,
|
|
834
|
-
(x) =>
|
|
835
|
-
`Failed to parse '
|
|
827
|
+
(x) => Message$inboundSchema.parse(JSON.parse(x)),
|
|
828
|
+
`Failed to parse 'Message' from JSON`,
|
|
836
829
|
);
|
|
837
830
|
}
|
|
838
831
|
|
|
@@ -119,7 +119,7 @@ export const FileGetResponseBody$inboundSchema: z.ZodType<
|
|
|
119
119
|
file_name: z.string(),
|
|
120
120
|
workspace_id: z.string(),
|
|
121
121
|
created: z.string().datetime({ offset: true }).default(
|
|
122
|
-
"2025-11-
|
|
122
|
+
"2025-11-20T08:19:20.486Z",
|
|
123
123
|
).transform(v => new Date(v)),
|
|
124
124
|
}).transform((v) => {
|
|
125
125
|
return remap$(v, {
|
|
@@ -152,7 +152,7 @@ export const FileGetResponseBody$outboundSchema: z.ZodType<
|
|
|
152
152
|
bytes: z.number(),
|
|
153
153
|
fileName: z.string(),
|
|
154
154
|
workspaceId: z.string(),
|
|
155
|
-
created: z.date().default(() => new Date("2025-11-
|
|
155
|
+
created: z.date().default(() => new Date("2025-11-20T08:19:20.486Z"))
|
|
156
156
|
.transform(v => v.toISOString()),
|
|
157
157
|
}).transform((v) => {
|
|
158
158
|
return remap$(v, {
|
|
@@ -157,7 +157,7 @@ export const FileListData$inboundSchema: z.ZodType<
|
|
|
157
157
|
file_name: z.string(),
|
|
158
158
|
workspace_id: z.string(),
|
|
159
159
|
created: z.string().datetime({ offset: true }).default(
|
|
160
|
-
"2025-11-
|
|
160
|
+
"2025-11-20T08:19:20.486Z",
|
|
161
161
|
).transform(v => new Date(v)),
|
|
162
162
|
}).transform((v) => {
|
|
163
163
|
return remap$(v, {
|
|
@@ -190,7 +190,7 @@ export const FileListData$outboundSchema: z.ZodType<
|
|
|
190
190
|
bytes: z.number(),
|
|
191
191
|
fileName: z.string(),
|
|
192
192
|
workspaceId: z.string(),
|
|
193
|
-
created: z.date().default(() => new Date("2025-11-
|
|
193
|
+
created: z.date().default(() => new Date("2025-11-20T08:19:20.486Z"))
|
|
194
194
|
.transform(v => v.toISOString()),
|
|
195
195
|
}).transform((v) => {
|
|
196
196
|
return remap$(v, {
|
|
@@ -196,7 +196,7 @@ export const FileUploadResponseBody$inboundSchema: z.ZodType<
|
|
|
196
196
|
file_name: z.string(),
|
|
197
197
|
workspace_id: z.string(),
|
|
198
198
|
created: z.string().datetime({ offset: true }).default(
|
|
199
|
-
"2025-11-
|
|
199
|
+
"2025-11-20T08:19:20.486Z",
|
|
200
200
|
).transform(v => new Date(v)),
|
|
201
201
|
}).transform((v) => {
|
|
202
202
|
return remap$(v, {
|
|
@@ -229,7 +229,7 @@ export const FileUploadResponseBody$outboundSchema: z.ZodType<
|
|
|
229
229
|
bytes: z.number(),
|
|
230
230
|
fileName: z.string(),
|
|
231
231
|
workspaceId: z.string(),
|
|
232
|
-
created: z.date().default(() => new Date("2025-11-
|
|
232
|
+
created: z.date().default(() => new Date("2025-11-20T08:19:20.486Z"))
|
|
233
233
|
.transform(v => v.toISOString()),
|
|
234
234
|
}).transform((v) => {
|
|
235
235
|
return remap$(v, {
|
|
@@ -76,6 +76,10 @@ export type GetAgentTools = {
|
|
|
76
76
|
*/
|
|
77
77
|
description?: string | undefined;
|
|
78
78
|
requiresApproval?: boolean | undefined;
|
|
79
|
+
/**
|
|
80
|
+
* Nested tool ID for MCP tools (identifies specific tool within MCP server)
|
|
81
|
+
*/
|
|
82
|
+
toolId?: string | undefined;
|
|
79
83
|
conditions?: Array<GetAgentConditions> | undefined;
|
|
80
84
|
/**
|
|
81
85
|
* Tool execution timeout in seconds (default: 2 minutes, max: 10 minutes)
|
|
@@ -1073,6 +1077,7 @@ export const GetAgentTools$inboundSchema: z.ZodType<
|
|
|
1073
1077
|
display_name: z.string().optional(),
|
|
1074
1078
|
description: z.string().optional(),
|
|
1075
1079
|
requires_approval: z.boolean().default(false),
|
|
1080
|
+
tool_id: z.string().optional(),
|
|
1076
1081
|
conditions: z.array(z.lazy(() => GetAgentConditions$inboundSchema))
|
|
1077
1082
|
.optional(),
|
|
1078
1083
|
timeout: z.number().default(120),
|
|
@@ -1081,6 +1086,7 @@ export const GetAgentTools$inboundSchema: z.ZodType<
|
|
|
1081
1086
|
"action_type": "actionType",
|
|
1082
1087
|
"display_name": "displayName",
|
|
1083
1088
|
"requires_approval": "requiresApproval",
|
|
1089
|
+
"tool_id": "toolId",
|
|
1084
1090
|
});
|
|
1085
1091
|
});
|
|
1086
1092
|
/** @internal */
|
|
@@ -1091,6 +1097,7 @@ export type GetAgentTools$Outbound = {
|
|
|
1091
1097
|
display_name?: string | undefined;
|
|
1092
1098
|
description?: string | undefined;
|
|
1093
1099
|
requires_approval: boolean;
|
|
1100
|
+
tool_id?: string | undefined;
|
|
1094
1101
|
conditions?: Array<GetAgentConditions$Outbound> | undefined;
|
|
1095
1102
|
timeout: number;
|
|
1096
1103
|
};
|
|
@@ -1107,6 +1114,7 @@ export const GetAgentTools$outboundSchema: z.ZodType<
|
|
|
1107
1114
|
displayName: z.string().optional(),
|
|
1108
1115
|
description: z.string().optional(),
|
|
1109
1116
|
requiresApproval: z.boolean().default(false),
|
|
1117
|
+
toolId: z.string().optional(),
|
|
1110
1118
|
conditions: z.array(z.lazy(() => GetAgentConditions$outboundSchema))
|
|
1111
1119
|
.optional(),
|
|
1112
1120
|
timeout: z.number().default(120),
|
|
@@ -1115,6 +1123,7 @@ export const GetAgentTools$outboundSchema: z.ZodType<
|
|
|
1115
1123
|
actionType: "action_type",
|
|
1116
1124
|
displayName: "display_name",
|
|
1117
1125
|
requiresApproval: "requires_approval",
|
|
1126
|
+
toolId: "tool_id",
|
|
1118
1127
|
});
|
|
1119
1128
|
});
|
|
1120
1129
|
|