@slashfi/agents-sdk 0.40.1 → 0.41.1
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/adk-error.d.ts +35 -0
- package/dist/adk-error.d.ts.map +1 -0
- package/dist/adk-error.js +68 -0
- package/dist/adk-error.js.map +1 -0
- package/dist/adk-tools.d.ts +31 -0
- package/dist/adk-tools.d.ts.map +1 -0
- package/dist/adk-tools.js +140 -0
- package/dist/adk-tools.js.map +1 -0
- package/dist/adk.js +114 -9
- package/dist/adk.js.map +1 -1
- package/dist/call-agent-schema.d.ts +96 -96
- package/dist/cjs/adk-error.js +75 -0
- package/dist/cjs/adk-error.js.map +1 -0
- package/dist/cjs/adk-tools.js +143 -0
- package/dist/cjs/adk-tools.js.map +1 -0
- package/dist/cjs/config-store.js +149 -53
- package/dist/cjs/config-store.js.map +1 -1
- package/dist/cjs/define-config.js.map +1 -1
- package/dist/cjs/index.js +8 -1
- package/dist/cjs/index.js.map +1 -1
- package/dist/cjs/registry-consumer.js +1 -0
- package/dist/cjs/registry-consumer.js.map +1 -1
- package/dist/config-store.d.ts +46 -7
- package/dist/config-store.d.ts.map +1 -1
- package/dist/config-store.js +149 -53
- package/dist/config-store.js.map +1 -1
- package/dist/define-config.d.ts +17 -0
- package/dist/define-config.d.ts.map +1 -1
- package/dist/define-config.js.map +1 -1
- package/dist/index.d.ts +5 -2
- package/dist/index.d.ts.map +1 -1
- package/dist/index.js +2 -0
- package/dist/index.js.map +1 -1
- package/dist/registry-consumer.d.ts +2 -0
- package/dist/registry-consumer.d.ts.map +1 -1
- package/dist/registry-consumer.js +1 -0
- package/dist/registry-consumer.js.map +1 -1
- package/package.json +1 -1
- package/src/adk-error.ts +80 -0
- package/src/adk-tools.ts +156 -0
- package/src/adk.ts +104 -7
- package/src/config-store.ts +216 -59
- package/src/define-config.ts +23 -0
- package/src/index.ts +8 -0
- package/src/registry-consumer.ts +4 -0
|
@@ -50,8 +50,8 @@ export declare const invokeActionSchema: z.ZodObject<{
|
|
|
50
50
|
sessionId: z.ZodOptional<z.ZodString>;
|
|
51
51
|
branchAttributes: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodString>>;
|
|
52
52
|
}, "strip", z.ZodTypeAny, {
|
|
53
|
-
action: "invoke";
|
|
54
53
|
path: string;
|
|
54
|
+
action: "invoke";
|
|
55
55
|
prompt: string;
|
|
56
56
|
callerId?: string | undefined;
|
|
57
57
|
callerType?: "agent" | "user" | "system" | undefined;
|
|
@@ -59,8 +59,8 @@ export declare const invokeActionSchema: z.ZodObject<{
|
|
|
59
59
|
sessionId?: string | undefined;
|
|
60
60
|
branchAttributes?: Record<string, string> | undefined;
|
|
61
61
|
}, {
|
|
62
|
-
action: "invoke";
|
|
63
62
|
path: string;
|
|
63
|
+
action: "invoke";
|
|
64
64
|
prompt: string;
|
|
65
65
|
callerId?: string | undefined;
|
|
66
66
|
callerType?: "agent" | "user" | "system" | undefined;
|
|
@@ -80,8 +80,8 @@ export declare const askActionSchema: z.ZodObject<{
|
|
|
80
80
|
sessionId: z.ZodOptional<z.ZodString>;
|
|
81
81
|
branchAttributes: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodString>>;
|
|
82
82
|
}, "strip", z.ZodTypeAny, {
|
|
83
|
-
action: "ask";
|
|
84
83
|
path: string;
|
|
84
|
+
action: "ask";
|
|
85
85
|
prompt: string;
|
|
86
86
|
callerId?: string | undefined;
|
|
87
87
|
callerType?: "agent" | "user" | "system" | undefined;
|
|
@@ -89,8 +89,8 @@ export declare const askActionSchema: z.ZodObject<{
|
|
|
89
89
|
sessionId?: string | undefined;
|
|
90
90
|
branchAttributes?: Record<string, string> | undefined;
|
|
91
91
|
}, {
|
|
92
|
-
action: "ask";
|
|
93
92
|
path: string;
|
|
93
|
+
action: "ask";
|
|
94
94
|
prompt: string;
|
|
95
95
|
callerId?: string | undefined;
|
|
96
96
|
callerType?: "agent" | "user" | "system" | undefined;
|
|
@@ -109,20 +109,20 @@ export declare const executeToolActionSchema: z.ZodObject<{
|
|
|
109
109
|
tool: z.ZodString;
|
|
110
110
|
params: z.ZodOptional<z.ZodObject<{}, "passthrough", z.ZodTypeAny, z.objectOutputType<{}, z.ZodTypeAny, "passthrough">, z.objectInputType<{}, z.ZodTypeAny, "passthrough">>>;
|
|
111
111
|
}, "strip", z.ZodTypeAny, {
|
|
112
|
-
action: "execute_tool";
|
|
113
112
|
path: string;
|
|
113
|
+
action: "execute_tool";
|
|
114
114
|
tool: string;
|
|
115
|
+
params?: z.objectOutputType<{}, z.ZodTypeAny, "passthrough"> | undefined;
|
|
115
116
|
callerId?: string | undefined;
|
|
116
117
|
callerType?: "agent" | "user" | "system" | undefined;
|
|
117
|
-
params?: z.objectOutputType<{}, z.ZodTypeAny, "passthrough"> | undefined;
|
|
118
118
|
metadata?: z.objectOutputType<{}, z.ZodTypeAny, "passthrough"> | undefined;
|
|
119
119
|
}, {
|
|
120
|
-
action: "execute_tool";
|
|
121
120
|
path: string;
|
|
121
|
+
action: "execute_tool";
|
|
122
122
|
tool: string;
|
|
123
|
+
params?: z.objectInputType<{}, z.ZodTypeAny, "passthrough"> | undefined;
|
|
123
124
|
callerId?: string | undefined;
|
|
124
125
|
callerType?: "agent" | "user" | "system" | undefined;
|
|
125
|
-
params?: z.objectInputType<{}, z.ZodTypeAny, "passthrough"> | undefined;
|
|
126
126
|
metadata?: z.objectInputType<{}, z.ZodTypeAny, "passthrough"> | undefined;
|
|
127
127
|
}>;
|
|
128
128
|
/** Get tool schemas for an agent */
|
|
@@ -136,16 +136,16 @@ export declare const describeToolsActionSchema: z.ZodObject<{
|
|
|
136
136
|
tools: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
|
|
137
137
|
full: z.ZodOptional<z.ZodBoolean>;
|
|
138
138
|
}, "strip", z.ZodTypeAny, {
|
|
139
|
-
action: "describe_tools";
|
|
140
139
|
path: string;
|
|
140
|
+
action: "describe_tools";
|
|
141
141
|
callerId?: string | undefined;
|
|
142
142
|
callerType?: "agent" | "user" | "system" | undefined;
|
|
143
143
|
metadata?: z.objectOutputType<{}, z.ZodTypeAny, "passthrough"> | undefined;
|
|
144
144
|
tools?: string[] | undefined;
|
|
145
145
|
full?: boolean | undefined;
|
|
146
146
|
}, {
|
|
147
|
-
action: "describe_tools";
|
|
148
147
|
path: string;
|
|
148
|
+
action: "describe_tools";
|
|
149
149
|
callerId?: string | undefined;
|
|
150
150
|
callerType?: "agent" | "user" | "system" | undefined;
|
|
151
151
|
metadata?: z.objectInputType<{}, z.ZodTypeAny, "passthrough"> | undefined;
|
|
@@ -161,14 +161,14 @@ export declare const loadActionSchema: z.ZodObject<{
|
|
|
161
161
|
} & {
|
|
162
162
|
action: z.ZodLiteral<"load">;
|
|
163
163
|
}, "strip", z.ZodTypeAny, {
|
|
164
|
-
action: "load";
|
|
165
164
|
path: string;
|
|
165
|
+
action: "load";
|
|
166
166
|
callerId?: string | undefined;
|
|
167
167
|
callerType?: "agent" | "user" | "system" | undefined;
|
|
168
168
|
metadata?: z.objectOutputType<{}, z.ZodTypeAny, "passthrough"> | undefined;
|
|
169
169
|
}, {
|
|
170
|
-
action: "load";
|
|
171
170
|
path: string;
|
|
171
|
+
action: "load";
|
|
172
172
|
callerId?: string | undefined;
|
|
173
173
|
callerType?: "agent" | "user" | "system" | undefined;
|
|
174
174
|
metadata?: z.objectInputType<{}, z.ZodTypeAny, "passthrough"> | undefined;
|
|
@@ -182,14 +182,14 @@ export declare const listResourcesActionSchema: z.ZodObject<{
|
|
|
182
182
|
} & {
|
|
183
183
|
action: z.ZodLiteral<"list_resources">;
|
|
184
184
|
}, "strip", z.ZodTypeAny, {
|
|
185
|
-
action: "list_resources";
|
|
186
185
|
path: string;
|
|
186
|
+
action: "list_resources";
|
|
187
187
|
callerId?: string | undefined;
|
|
188
188
|
callerType?: "agent" | "user" | "system" | undefined;
|
|
189
189
|
metadata?: z.objectOutputType<{}, z.ZodTypeAny, "passthrough"> | undefined;
|
|
190
190
|
}, {
|
|
191
|
-
action: "list_resources";
|
|
192
191
|
path: string;
|
|
192
|
+
action: "list_resources";
|
|
193
193
|
callerId?: string | undefined;
|
|
194
194
|
callerType?: "agent" | "user" | "system" | undefined;
|
|
195
195
|
metadata?: z.objectInputType<{}, z.ZodTypeAny, "passthrough"> | undefined;
|
|
@@ -204,15 +204,15 @@ export declare const readResourcesActionSchema: z.ZodObject<{
|
|
|
204
204
|
action: z.ZodLiteral<"read_resources">;
|
|
205
205
|
uris: z.ZodArray<z.ZodString, "many">;
|
|
206
206
|
}, "strip", z.ZodTypeAny, {
|
|
207
|
-
action: "read_resources";
|
|
208
207
|
path: string;
|
|
208
|
+
action: "read_resources";
|
|
209
209
|
uris: string[];
|
|
210
210
|
callerId?: string | undefined;
|
|
211
211
|
callerType?: "agent" | "user" | "system" | undefined;
|
|
212
212
|
metadata?: z.objectOutputType<{}, z.ZodTypeAny, "passthrough"> | undefined;
|
|
213
213
|
}, {
|
|
214
|
-
action: "read_resources";
|
|
215
214
|
path: string;
|
|
215
|
+
action: "read_resources";
|
|
216
216
|
uris: string[];
|
|
217
217
|
callerId?: string | undefined;
|
|
218
218
|
callerType?: "agent" | "user" | "system" | undefined;
|
|
@@ -229,8 +229,8 @@ export declare const callAgentRequestSchema: z.ZodDiscriminatedUnion<"action", [
|
|
|
229
229
|
sessionId: z.ZodOptional<z.ZodString>;
|
|
230
230
|
branchAttributes: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodString>>;
|
|
231
231
|
}, "strip", z.ZodTypeAny, {
|
|
232
|
-
action: "invoke";
|
|
233
232
|
path: string;
|
|
233
|
+
action: "invoke";
|
|
234
234
|
prompt: string;
|
|
235
235
|
callerId?: string | undefined;
|
|
236
236
|
callerType?: "agent" | "user" | "system" | undefined;
|
|
@@ -238,8 +238,8 @@ export declare const callAgentRequestSchema: z.ZodDiscriminatedUnion<"action", [
|
|
|
238
238
|
sessionId?: string | undefined;
|
|
239
239
|
branchAttributes?: Record<string, string> | undefined;
|
|
240
240
|
}, {
|
|
241
|
-
action: "invoke";
|
|
242
241
|
path: string;
|
|
242
|
+
action: "invoke";
|
|
243
243
|
prompt: string;
|
|
244
244
|
callerId?: string | undefined;
|
|
245
245
|
callerType?: "agent" | "user" | "system" | undefined;
|
|
@@ -257,8 +257,8 @@ export declare const callAgentRequestSchema: z.ZodDiscriminatedUnion<"action", [
|
|
|
257
257
|
sessionId: z.ZodOptional<z.ZodString>;
|
|
258
258
|
branchAttributes: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodString>>;
|
|
259
259
|
}, "strip", z.ZodTypeAny, {
|
|
260
|
-
action: "ask";
|
|
261
260
|
path: string;
|
|
261
|
+
action: "ask";
|
|
262
262
|
prompt: string;
|
|
263
263
|
callerId?: string | undefined;
|
|
264
264
|
callerType?: "agent" | "user" | "system" | undefined;
|
|
@@ -266,8 +266,8 @@ export declare const callAgentRequestSchema: z.ZodDiscriminatedUnion<"action", [
|
|
|
266
266
|
sessionId?: string | undefined;
|
|
267
267
|
branchAttributes?: Record<string, string> | undefined;
|
|
268
268
|
}, {
|
|
269
|
-
action: "ask";
|
|
270
269
|
path: string;
|
|
270
|
+
action: "ask";
|
|
271
271
|
prompt: string;
|
|
272
272
|
callerId?: string | undefined;
|
|
273
273
|
callerType?: "agent" | "user" | "system" | undefined;
|
|
@@ -284,20 +284,20 @@ export declare const callAgentRequestSchema: z.ZodDiscriminatedUnion<"action", [
|
|
|
284
284
|
tool: z.ZodString;
|
|
285
285
|
params: z.ZodOptional<z.ZodObject<{}, "passthrough", z.ZodTypeAny, z.objectOutputType<{}, z.ZodTypeAny, "passthrough">, z.objectInputType<{}, z.ZodTypeAny, "passthrough">>>;
|
|
286
286
|
}, "strip", z.ZodTypeAny, {
|
|
287
|
-
action: "execute_tool";
|
|
288
287
|
path: string;
|
|
288
|
+
action: "execute_tool";
|
|
289
289
|
tool: string;
|
|
290
|
+
params?: z.objectOutputType<{}, z.ZodTypeAny, "passthrough"> | undefined;
|
|
290
291
|
callerId?: string | undefined;
|
|
291
292
|
callerType?: "agent" | "user" | "system" | undefined;
|
|
292
|
-
params?: z.objectOutputType<{}, z.ZodTypeAny, "passthrough"> | undefined;
|
|
293
293
|
metadata?: z.objectOutputType<{}, z.ZodTypeAny, "passthrough"> | undefined;
|
|
294
294
|
}, {
|
|
295
|
-
action: "execute_tool";
|
|
296
295
|
path: string;
|
|
296
|
+
action: "execute_tool";
|
|
297
297
|
tool: string;
|
|
298
|
+
params?: z.objectInputType<{}, z.ZodTypeAny, "passthrough"> | undefined;
|
|
298
299
|
callerId?: string | undefined;
|
|
299
300
|
callerType?: "agent" | "user" | "system" | undefined;
|
|
300
|
-
params?: z.objectInputType<{}, z.ZodTypeAny, "passthrough"> | undefined;
|
|
301
301
|
metadata?: z.objectInputType<{}, z.ZodTypeAny, "passthrough"> | undefined;
|
|
302
302
|
}>, z.ZodObject<{
|
|
303
303
|
path: z.ZodString;
|
|
@@ -309,16 +309,16 @@ export declare const callAgentRequestSchema: z.ZodDiscriminatedUnion<"action", [
|
|
|
309
309
|
tools: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
|
|
310
310
|
full: z.ZodOptional<z.ZodBoolean>;
|
|
311
311
|
}, "strip", z.ZodTypeAny, {
|
|
312
|
-
action: "describe_tools";
|
|
313
312
|
path: string;
|
|
313
|
+
action: "describe_tools";
|
|
314
314
|
callerId?: string | undefined;
|
|
315
315
|
callerType?: "agent" | "user" | "system" | undefined;
|
|
316
316
|
metadata?: z.objectOutputType<{}, z.ZodTypeAny, "passthrough"> | undefined;
|
|
317
317
|
tools?: string[] | undefined;
|
|
318
318
|
full?: boolean | undefined;
|
|
319
319
|
}, {
|
|
320
|
-
action: "describe_tools";
|
|
321
320
|
path: string;
|
|
321
|
+
action: "describe_tools";
|
|
322
322
|
callerId?: string | undefined;
|
|
323
323
|
callerType?: "agent" | "user" | "system" | undefined;
|
|
324
324
|
metadata?: z.objectInputType<{}, z.ZodTypeAny, "passthrough"> | undefined;
|
|
@@ -332,14 +332,14 @@ export declare const callAgentRequestSchema: z.ZodDiscriminatedUnion<"action", [
|
|
|
332
332
|
} & {
|
|
333
333
|
action: z.ZodLiteral<"load">;
|
|
334
334
|
}, "strip", z.ZodTypeAny, {
|
|
335
|
-
action: "load";
|
|
336
335
|
path: string;
|
|
336
|
+
action: "load";
|
|
337
337
|
callerId?: string | undefined;
|
|
338
338
|
callerType?: "agent" | "user" | "system" | undefined;
|
|
339
339
|
metadata?: z.objectOutputType<{}, z.ZodTypeAny, "passthrough"> | undefined;
|
|
340
340
|
}, {
|
|
341
|
-
action: "load";
|
|
342
341
|
path: string;
|
|
342
|
+
action: "load";
|
|
343
343
|
callerId?: string | undefined;
|
|
344
344
|
callerType?: "agent" | "user" | "system" | undefined;
|
|
345
345
|
metadata?: z.objectInputType<{}, z.ZodTypeAny, "passthrough"> | undefined;
|
|
@@ -351,14 +351,14 @@ export declare const callAgentRequestSchema: z.ZodDiscriminatedUnion<"action", [
|
|
|
351
351
|
} & {
|
|
352
352
|
action: z.ZodLiteral<"list_resources">;
|
|
353
353
|
}, "strip", z.ZodTypeAny, {
|
|
354
|
-
action: "list_resources";
|
|
355
354
|
path: string;
|
|
355
|
+
action: "list_resources";
|
|
356
356
|
callerId?: string | undefined;
|
|
357
357
|
callerType?: "agent" | "user" | "system" | undefined;
|
|
358
358
|
metadata?: z.objectOutputType<{}, z.ZodTypeAny, "passthrough"> | undefined;
|
|
359
359
|
}, {
|
|
360
|
-
action: "list_resources";
|
|
361
360
|
path: string;
|
|
361
|
+
action: "list_resources";
|
|
362
362
|
callerId?: string | undefined;
|
|
363
363
|
callerType?: "agent" | "user" | "system" | undefined;
|
|
364
364
|
metadata?: z.objectInputType<{}, z.ZodTypeAny, "passthrough"> | undefined;
|
|
@@ -371,15 +371,15 @@ export declare const callAgentRequestSchema: z.ZodDiscriminatedUnion<"action", [
|
|
|
371
371
|
action: z.ZodLiteral<"read_resources">;
|
|
372
372
|
uris: z.ZodArray<z.ZodString, "many">;
|
|
373
373
|
}, "strip", z.ZodTypeAny, {
|
|
374
|
-
action: "read_resources";
|
|
375
374
|
path: string;
|
|
375
|
+
action: "read_resources";
|
|
376
376
|
uris: string[];
|
|
377
377
|
callerId?: string | undefined;
|
|
378
378
|
callerType?: "agent" | "user" | "system" | undefined;
|
|
379
379
|
metadata?: z.objectOutputType<{}, z.ZodTypeAny, "passthrough"> | undefined;
|
|
380
380
|
}, {
|
|
381
|
-
action: "read_resources";
|
|
382
381
|
path: string;
|
|
382
|
+
action: "read_resources";
|
|
383
383
|
uris: string[];
|
|
384
384
|
callerId?: string | undefined;
|
|
385
385
|
callerType?: "agent" | "user" | "system" | undefined;
|
|
@@ -415,8 +415,8 @@ export declare const callAgentToolInputSchema: z.ZodObject<{
|
|
|
415
415
|
sessionId: z.ZodOptional<z.ZodString>;
|
|
416
416
|
branchAttributes: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodString>>;
|
|
417
417
|
}, "strip", z.ZodTypeAny, {
|
|
418
|
-
action: "invoke";
|
|
419
418
|
path: string;
|
|
419
|
+
action: "invoke";
|
|
420
420
|
prompt: string;
|
|
421
421
|
callerId?: string | undefined;
|
|
422
422
|
callerType?: "agent" | "user" | "system" | undefined;
|
|
@@ -424,8 +424,8 @@ export declare const callAgentToolInputSchema: z.ZodObject<{
|
|
|
424
424
|
sessionId?: string | undefined;
|
|
425
425
|
branchAttributes?: Record<string, string> | undefined;
|
|
426
426
|
}, {
|
|
427
|
-
action: "invoke";
|
|
428
427
|
path: string;
|
|
428
|
+
action: "invoke";
|
|
429
429
|
prompt: string;
|
|
430
430
|
callerId?: string | undefined;
|
|
431
431
|
callerType?: "agent" | "user" | "system" | undefined;
|
|
@@ -443,8 +443,8 @@ export declare const callAgentToolInputSchema: z.ZodObject<{
|
|
|
443
443
|
sessionId: z.ZodOptional<z.ZodString>;
|
|
444
444
|
branchAttributes: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodString>>;
|
|
445
445
|
}, "strip", z.ZodTypeAny, {
|
|
446
|
-
action: "ask";
|
|
447
446
|
path: string;
|
|
447
|
+
action: "ask";
|
|
448
448
|
prompt: string;
|
|
449
449
|
callerId?: string | undefined;
|
|
450
450
|
callerType?: "agent" | "user" | "system" | undefined;
|
|
@@ -452,8 +452,8 @@ export declare const callAgentToolInputSchema: z.ZodObject<{
|
|
|
452
452
|
sessionId?: string | undefined;
|
|
453
453
|
branchAttributes?: Record<string, string> | undefined;
|
|
454
454
|
}, {
|
|
455
|
-
action: "ask";
|
|
456
455
|
path: string;
|
|
456
|
+
action: "ask";
|
|
457
457
|
prompt: string;
|
|
458
458
|
callerId?: string | undefined;
|
|
459
459
|
callerType?: "agent" | "user" | "system" | undefined;
|
|
@@ -470,20 +470,20 @@ export declare const callAgentToolInputSchema: z.ZodObject<{
|
|
|
470
470
|
tool: z.ZodString;
|
|
471
471
|
params: z.ZodOptional<z.ZodObject<{}, "passthrough", z.ZodTypeAny, z.objectOutputType<{}, z.ZodTypeAny, "passthrough">, z.objectInputType<{}, z.ZodTypeAny, "passthrough">>>;
|
|
472
472
|
}, "strip", z.ZodTypeAny, {
|
|
473
|
-
action: "execute_tool";
|
|
474
473
|
path: string;
|
|
474
|
+
action: "execute_tool";
|
|
475
475
|
tool: string;
|
|
476
|
+
params?: z.objectOutputType<{}, z.ZodTypeAny, "passthrough"> | undefined;
|
|
476
477
|
callerId?: string | undefined;
|
|
477
478
|
callerType?: "agent" | "user" | "system" | undefined;
|
|
478
|
-
params?: z.objectOutputType<{}, z.ZodTypeAny, "passthrough"> | undefined;
|
|
479
479
|
metadata?: z.objectOutputType<{}, z.ZodTypeAny, "passthrough"> | undefined;
|
|
480
480
|
}, {
|
|
481
|
-
action: "execute_tool";
|
|
482
481
|
path: string;
|
|
482
|
+
action: "execute_tool";
|
|
483
483
|
tool: string;
|
|
484
|
+
params?: z.objectInputType<{}, z.ZodTypeAny, "passthrough"> | undefined;
|
|
484
485
|
callerId?: string | undefined;
|
|
485
486
|
callerType?: "agent" | "user" | "system" | undefined;
|
|
486
|
-
params?: z.objectInputType<{}, z.ZodTypeAny, "passthrough"> | undefined;
|
|
487
487
|
metadata?: z.objectInputType<{}, z.ZodTypeAny, "passthrough"> | undefined;
|
|
488
488
|
}>, z.ZodObject<{
|
|
489
489
|
path: z.ZodString;
|
|
@@ -495,16 +495,16 @@ export declare const callAgentToolInputSchema: z.ZodObject<{
|
|
|
495
495
|
tools: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
|
|
496
496
|
full: z.ZodOptional<z.ZodBoolean>;
|
|
497
497
|
}, "strip", z.ZodTypeAny, {
|
|
498
|
-
action: "describe_tools";
|
|
499
498
|
path: string;
|
|
499
|
+
action: "describe_tools";
|
|
500
500
|
callerId?: string | undefined;
|
|
501
501
|
callerType?: "agent" | "user" | "system" | undefined;
|
|
502
502
|
metadata?: z.objectOutputType<{}, z.ZodTypeAny, "passthrough"> | undefined;
|
|
503
503
|
tools?: string[] | undefined;
|
|
504
504
|
full?: boolean | undefined;
|
|
505
505
|
}, {
|
|
506
|
-
action: "describe_tools";
|
|
507
506
|
path: string;
|
|
507
|
+
action: "describe_tools";
|
|
508
508
|
callerId?: string | undefined;
|
|
509
509
|
callerType?: "agent" | "user" | "system" | undefined;
|
|
510
510
|
metadata?: z.objectInputType<{}, z.ZodTypeAny, "passthrough"> | undefined;
|
|
@@ -518,14 +518,14 @@ export declare const callAgentToolInputSchema: z.ZodObject<{
|
|
|
518
518
|
} & {
|
|
519
519
|
action: z.ZodLiteral<"load">;
|
|
520
520
|
}, "strip", z.ZodTypeAny, {
|
|
521
|
-
action: "load";
|
|
522
521
|
path: string;
|
|
522
|
+
action: "load";
|
|
523
523
|
callerId?: string | undefined;
|
|
524
524
|
callerType?: "agent" | "user" | "system" | undefined;
|
|
525
525
|
metadata?: z.objectOutputType<{}, z.ZodTypeAny, "passthrough"> | undefined;
|
|
526
526
|
}, {
|
|
527
|
-
action: "load";
|
|
528
527
|
path: string;
|
|
528
|
+
action: "load";
|
|
529
529
|
callerId?: string | undefined;
|
|
530
530
|
callerType?: "agent" | "user" | "system" | undefined;
|
|
531
531
|
metadata?: z.objectInputType<{}, z.ZodTypeAny, "passthrough"> | undefined;
|
|
@@ -537,14 +537,14 @@ export declare const callAgentToolInputSchema: z.ZodObject<{
|
|
|
537
537
|
} & {
|
|
538
538
|
action: z.ZodLiteral<"list_resources">;
|
|
539
539
|
}, "strip", z.ZodTypeAny, {
|
|
540
|
-
action: "list_resources";
|
|
541
540
|
path: string;
|
|
541
|
+
action: "list_resources";
|
|
542
542
|
callerId?: string | undefined;
|
|
543
543
|
callerType?: "agent" | "user" | "system" | undefined;
|
|
544
544
|
metadata?: z.objectOutputType<{}, z.ZodTypeAny, "passthrough"> | undefined;
|
|
545
545
|
}, {
|
|
546
|
-
action: "list_resources";
|
|
547
546
|
path: string;
|
|
547
|
+
action: "list_resources";
|
|
548
548
|
callerId?: string | undefined;
|
|
549
549
|
callerType?: "agent" | "user" | "system" | undefined;
|
|
550
550
|
metadata?: z.objectInputType<{}, z.ZodTypeAny, "passthrough"> | undefined;
|
|
@@ -557,15 +557,15 @@ export declare const callAgentToolInputSchema: z.ZodObject<{
|
|
|
557
557
|
action: z.ZodLiteral<"read_resources">;
|
|
558
558
|
uris: z.ZodArray<z.ZodString, "many">;
|
|
559
559
|
}, "strip", z.ZodTypeAny, {
|
|
560
|
-
action: "read_resources";
|
|
561
560
|
path: string;
|
|
561
|
+
action: "read_resources";
|
|
562
562
|
uris: string[];
|
|
563
563
|
callerId?: string | undefined;
|
|
564
564
|
callerType?: "agent" | "user" | "system" | undefined;
|
|
565
565
|
metadata?: z.objectOutputType<{}, z.ZodTypeAny, "passthrough"> | undefined;
|
|
566
566
|
}, {
|
|
567
|
-
action: "read_resources";
|
|
568
567
|
path: string;
|
|
568
|
+
action: "read_resources";
|
|
569
569
|
uris: string[];
|
|
570
570
|
callerId?: string | undefined;
|
|
571
571
|
callerType?: "agent" | "user" | "system" | undefined;
|
|
@@ -573,8 +573,8 @@ export declare const callAgentToolInputSchema: z.ZodObject<{
|
|
|
573
573
|
}>]>;
|
|
574
574
|
}, "strip", z.ZodTypeAny, {
|
|
575
575
|
request: {
|
|
576
|
-
action: "invoke";
|
|
577
576
|
path: string;
|
|
577
|
+
action: "invoke";
|
|
578
578
|
prompt: string;
|
|
579
579
|
callerId?: string | undefined;
|
|
580
580
|
callerType?: "agent" | "user" | "system" | undefined;
|
|
@@ -582,8 +582,8 @@ export declare const callAgentToolInputSchema: z.ZodObject<{
|
|
|
582
582
|
sessionId?: string | undefined;
|
|
583
583
|
branchAttributes?: Record<string, string> | undefined;
|
|
584
584
|
} | {
|
|
585
|
-
action: "ask";
|
|
586
585
|
path: string;
|
|
586
|
+
action: "ask";
|
|
587
587
|
prompt: string;
|
|
588
588
|
callerId?: string | undefined;
|
|
589
589
|
callerType?: "agent" | "user" | "system" | undefined;
|
|
@@ -591,36 +591,36 @@ export declare const callAgentToolInputSchema: z.ZodObject<{
|
|
|
591
591
|
sessionId?: string | undefined;
|
|
592
592
|
branchAttributes?: Record<string, string> | undefined;
|
|
593
593
|
} | {
|
|
594
|
-
action: "execute_tool";
|
|
595
594
|
path: string;
|
|
595
|
+
action: "execute_tool";
|
|
596
596
|
tool: string;
|
|
597
|
+
params?: z.objectOutputType<{}, z.ZodTypeAny, "passthrough"> | undefined;
|
|
597
598
|
callerId?: string | undefined;
|
|
598
599
|
callerType?: "agent" | "user" | "system" | undefined;
|
|
599
|
-
params?: z.objectOutputType<{}, z.ZodTypeAny, "passthrough"> | undefined;
|
|
600
600
|
metadata?: z.objectOutputType<{}, z.ZodTypeAny, "passthrough"> | undefined;
|
|
601
601
|
} | {
|
|
602
|
-
action: "describe_tools";
|
|
603
602
|
path: string;
|
|
603
|
+
action: "describe_tools";
|
|
604
604
|
callerId?: string | undefined;
|
|
605
605
|
callerType?: "agent" | "user" | "system" | undefined;
|
|
606
606
|
metadata?: z.objectOutputType<{}, z.ZodTypeAny, "passthrough"> | undefined;
|
|
607
607
|
tools?: string[] | undefined;
|
|
608
608
|
full?: boolean | undefined;
|
|
609
609
|
} | {
|
|
610
|
-
action: "load";
|
|
611
610
|
path: string;
|
|
611
|
+
action: "load";
|
|
612
612
|
callerId?: string | undefined;
|
|
613
613
|
callerType?: "agent" | "user" | "system" | undefined;
|
|
614
614
|
metadata?: z.objectOutputType<{}, z.ZodTypeAny, "passthrough"> | undefined;
|
|
615
615
|
} | {
|
|
616
|
-
action: "list_resources";
|
|
617
616
|
path: string;
|
|
617
|
+
action: "list_resources";
|
|
618
618
|
callerId?: string | undefined;
|
|
619
619
|
callerType?: "agent" | "user" | "system" | undefined;
|
|
620
620
|
metadata?: z.objectOutputType<{}, z.ZodTypeAny, "passthrough"> | undefined;
|
|
621
621
|
} | {
|
|
622
|
-
action: "read_resources";
|
|
623
622
|
path: string;
|
|
623
|
+
action: "read_resources";
|
|
624
624
|
uris: string[];
|
|
625
625
|
callerId?: string | undefined;
|
|
626
626
|
callerType?: "agent" | "user" | "system" | undefined;
|
|
@@ -628,8 +628,8 @@ export declare const callAgentToolInputSchema: z.ZodObject<{
|
|
|
628
628
|
};
|
|
629
629
|
}, {
|
|
630
630
|
request: {
|
|
631
|
-
action: "invoke";
|
|
632
631
|
path: string;
|
|
632
|
+
action: "invoke";
|
|
633
633
|
prompt: string;
|
|
634
634
|
callerId?: string | undefined;
|
|
635
635
|
callerType?: "agent" | "user" | "system" | undefined;
|
|
@@ -637,8 +637,8 @@ export declare const callAgentToolInputSchema: z.ZodObject<{
|
|
|
637
637
|
sessionId?: string | undefined;
|
|
638
638
|
branchAttributes?: Record<string, string> | undefined;
|
|
639
639
|
} | {
|
|
640
|
-
action: "ask";
|
|
641
640
|
path: string;
|
|
641
|
+
action: "ask";
|
|
642
642
|
prompt: string;
|
|
643
643
|
callerId?: string | undefined;
|
|
644
644
|
callerType?: "agent" | "user" | "system" | undefined;
|
|
@@ -646,36 +646,36 @@ export declare const callAgentToolInputSchema: z.ZodObject<{
|
|
|
646
646
|
sessionId?: string | undefined;
|
|
647
647
|
branchAttributes?: Record<string, string> | undefined;
|
|
648
648
|
} | {
|
|
649
|
-
action: "execute_tool";
|
|
650
649
|
path: string;
|
|
650
|
+
action: "execute_tool";
|
|
651
651
|
tool: string;
|
|
652
|
+
params?: z.objectInputType<{}, z.ZodTypeAny, "passthrough"> | undefined;
|
|
652
653
|
callerId?: string | undefined;
|
|
653
654
|
callerType?: "agent" | "user" | "system" | undefined;
|
|
654
|
-
params?: z.objectInputType<{}, z.ZodTypeAny, "passthrough"> | undefined;
|
|
655
655
|
metadata?: z.objectInputType<{}, z.ZodTypeAny, "passthrough"> | undefined;
|
|
656
656
|
} | {
|
|
657
|
-
action: "describe_tools";
|
|
658
657
|
path: string;
|
|
658
|
+
action: "describe_tools";
|
|
659
659
|
callerId?: string | undefined;
|
|
660
660
|
callerType?: "agent" | "user" | "system" | undefined;
|
|
661
661
|
metadata?: z.objectInputType<{}, z.ZodTypeAny, "passthrough"> | undefined;
|
|
662
662
|
tools?: string[] | undefined;
|
|
663
663
|
full?: boolean | undefined;
|
|
664
664
|
} | {
|
|
665
|
-
action: "load";
|
|
666
665
|
path: string;
|
|
666
|
+
action: "load";
|
|
667
667
|
callerId?: string | undefined;
|
|
668
668
|
callerType?: "agent" | "user" | "system" | undefined;
|
|
669
669
|
metadata?: z.objectInputType<{}, z.ZodTypeAny, "passthrough"> | undefined;
|
|
670
670
|
} | {
|
|
671
|
-
action: "list_resources";
|
|
672
671
|
path: string;
|
|
672
|
+
action: "list_resources";
|
|
673
673
|
callerId?: string | undefined;
|
|
674
674
|
callerType?: "agent" | "user" | "system" | undefined;
|
|
675
675
|
metadata?: z.objectInputType<{}, z.ZodTypeAny, "passthrough"> | undefined;
|
|
676
676
|
} | {
|
|
677
|
-
action: "read_resources";
|
|
678
677
|
path: string;
|
|
678
|
+
action: "read_resources";
|
|
679
679
|
uris: string[];
|
|
680
680
|
callerId?: string | undefined;
|
|
681
681
|
callerType?: "agent" | "user" | "system" | undefined;
|
|
@@ -706,8 +706,8 @@ export declare const callAgentValidationSchema: z.ZodObject<{
|
|
|
706
706
|
sessionId: z.ZodOptional<z.ZodString>;
|
|
707
707
|
branchAttributes: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodString>>;
|
|
708
708
|
}, "strip", z.ZodTypeAny, {
|
|
709
|
-
action: "invoke";
|
|
710
709
|
path: string;
|
|
710
|
+
action: "invoke";
|
|
711
711
|
prompt: string;
|
|
712
712
|
callerId?: string | undefined;
|
|
713
713
|
callerType?: "agent" | "user" | "system" | undefined;
|
|
@@ -715,8 +715,8 @@ export declare const callAgentValidationSchema: z.ZodObject<{
|
|
|
715
715
|
sessionId?: string | undefined;
|
|
716
716
|
branchAttributes?: Record<string, string> | undefined;
|
|
717
717
|
}, {
|
|
718
|
-
action: "invoke";
|
|
719
718
|
path: string;
|
|
719
|
+
action: "invoke";
|
|
720
720
|
prompt: string;
|
|
721
721
|
callerId?: string | undefined;
|
|
722
722
|
callerType?: "agent" | "user" | "system" | undefined;
|
|
@@ -734,8 +734,8 @@ export declare const callAgentValidationSchema: z.ZodObject<{
|
|
|
734
734
|
sessionId: z.ZodOptional<z.ZodString>;
|
|
735
735
|
branchAttributes: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodString>>;
|
|
736
736
|
}, "strip", z.ZodTypeAny, {
|
|
737
|
-
action: "ask";
|
|
738
737
|
path: string;
|
|
738
|
+
action: "ask";
|
|
739
739
|
prompt: string;
|
|
740
740
|
callerId?: string | undefined;
|
|
741
741
|
callerType?: "agent" | "user" | "system" | undefined;
|
|
@@ -743,8 +743,8 @@ export declare const callAgentValidationSchema: z.ZodObject<{
|
|
|
743
743
|
sessionId?: string | undefined;
|
|
744
744
|
branchAttributes?: Record<string, string> | undefined;
|
|
745
745
|
}, {
|
|
746
|
-
action: "ask";
|
|
747
746
|
path: string;
|
|
747
|
+
action: "ask";
|
|
748
748
|
prompt: string;
|
|
749
749
|
callerId?: string | undefined;
|
|
750
750
|
callerType?: "agent" | "user" | "system" | undefined;
|
|
@@ -761,20 +761,20 @@ export declare const callAgentValidationSchema: z.ZodObject<{
|
|
|
761
761
|
tool: z.ZodString;
|
|
762
762
|
params: z.ZodOptional<z.ZodObject<{}, "passthrough", z.ZodTypeAny, z.objectOutputType<{}, z.ZodTypeAny, "passthrough">, z.objectInputType<{}, z.ZodTypeAny, "passthrough">>>;
|
|
763
763
|
}, "strip", z.ZodTypeAny, {
|
|
764
|
-
action: "execute_tool";
|
|
765
764
|
path: string;
|
|
765
|
+
action: "execute_tool";
|
|
766
766
|
tool: string;
|
|
767
|
+
params?: z.objectOutputType<{}, z.ZodTypeAny, "passthrough"> | undefined;
|
|
767
768
|
callerId?: string | undefined;
|
|
768
769
|
callerType?: "agent" | "user" | "system" | undefined;
|
|
769
|
-
params?: z.objectOutputType<{}, z.ZodTypeAny, "passthrough"> | undefined;
|
|
770
770
|
metadata?: z.objectOutputType<{}, z.ZodTypeAny, "passthrough"> | undefined;
|
|
771
771
|
}, {
|
|
772
|
-
action: "execute_tool";
|
|
773
772
|
path: string;
|
|
773
|
+
action: "execute_tool";
|
|
774
774
|
tool: string;
|
|
775
|
+
params?: z.objectInputType<{}, z.ZodTypeAny, "passthrough"> | undefined;
|
|
775
776
|
callerId?: string | undefined;
|
|
776
777
|
callerType?: "agent" | "user" | "system" | undefined;
|
|
777
|
-
params?: z.objectInputType<{}, z.ZodTypeAny, "passthrough"> | undefined;
|
|
778
778
|
metadata?: z.objectInputType<{}, z.ZodTypeAny, "passthrough"> | undefined;
|
|
779
779
|
}>, z.ZodObject<{
|
|
780
780
|
path: z.ZodString;
|
|
@@ -786,16 +786,16 @@ export declare const callAgentValidationSchema: z.ZodObject<{
|
|
|
786
786
|
tools: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
|
|
787
787
|
full: z.ZodOptional<z.ZodBoolean>;
|
|
788
788
|
}, "strip", z.ZodTypeAny, {
|
|
789
|
-
action: "describe_tools";
|
|
790
789
|
path: string;
|
|
790
|
+
action: "describe_tools";
|
|
791
791
|
callerId?: string | undefined;
|
|
792
792
|
callerType?: "agent" | "user" | "system" | undefined;
|
|
793
793
|
metadata?: z.objectOutputType<{}, z.ZodTypeAny, "passthrough"> | undefined;
|
|
794
794
|
tools?: string[] | undefined;
|
|
795
795
|
full?: boolean | undefined;
|
|
796
796
|
}, {
|
|
797
|
-
action: "describe_tools";
|
|
798
797
|
path: string;
|
|
798
|
+
action: "describe_tools";
|
|
799
799
|
callerId?: string | undefined;
|
|
800
800
|
callerType?: "agent" | "user" | "system" | undefined;
|
|
801
801
|
metadata?: z.objectInputType<{}, z.ZodTypeAny, "passthrough"> | undefined;
|
|
@@ -809,14 +809,14 @@ export declare const callAgentValidationSchema: z.ZodObject<{
|
|
|
809
809
|
} & {
|
|
810
810
|
action: z.ZodLiteral<"load">;
|
|
811
811
|
}, "strip", z.ZodTypeAny, {
|
|
812
|
-
action: "load";
|
|
813
812
|
path: string;
|
|
813
|
+
action: "load";
|
|
814
814
|
callerId?: string | undefined;
|
|
815
815
|
callerType?: "agent" | "user" | "system" | undefined;
|
|
816
816
|
metadata?: z.objectOutputType<{}, z.ZodTypeAny, "passthrough"> | undefined;
|
|
817
817
|
}, {
|
|
818
|
-
action: "load";
|
|
819
818
|
path: string;
|
|
819
|
+
action: "load";
|
|
820
820
|
callerId?: string | undefined;
|
|
821
821
|
callerType?: "agent" | "user" | "system" | undefined;
|
|
822
822
|
metadata?: z.objectInputType<{}, z.ZodTypeAny, "passthrough"> | undefined;
|
|
@@ -828,14 +828,14 @@ export declare const callAgentValidationSchema: z.ZodObject<{
|
|
|
828
828
|
} & {
|
|
829
829
|
action: z.ZodLiteral<"list_resources">;
|
|
830
830
|
}, "strip", z.ZodTypeAny, {
|
|
831
|
-
action: "list_resources";
|
|
832
831
|
path: string;
|
|
832
|
+
action: "list_resources";
|
|
833
833
|
callerId?: string | undefined;
|
|
834
834
|
callerType?: "agent" | "user" | "system" | undefined;
|
|
835
835
|
metadata?: z.objectOutputType<{}, z.ZodTypeAny, "passthrough"> | undefined;
|
|
836
836
|
}, {
|
|
837
|
-
action: "list_resources";
|
|
838
837
|
path: string;
|
|
838
|
+
action: "list_resources";
|
|
839
839
|
callerId?: string | undefined;
|
|
840
840
|
callerType?: "agent" | "user" | "system" | undefined;
|
|
841
841
|
metadata?: z.objectInputType<{}, z.ZodTypeAny, "passthrough"> | undefined;
|
|
@@ -848,15 +848,15 @@ export declare const callAgentValidationSchema: z.ZodObject<{
|
|
|
848
848
|
action: z.ZodLiteral<"read_resources">;
|
|
849
849
|
uris: z.ZodArray<z.ZodString, "many">;
|
|
850
850
|
}, "strip", z.ZodTypeAny, {
|
|
851
|
-
action: "read_resources";
|
|
852
851
|
path: string;
|
|
852
|
+
action: "read_resources";
|
|
853
853
|
uris: string[];
|
|
854
854
|
callerId?: string | undefined;
|
|
855
855
|
callerType?: "agent" | "user" | "system" | undefined;
|
|
856
856
|
metadata?: z.objectOutputType<{}, z.ZodTypeAny, "passthrough"> | undefined;
|
|
857
857
|
}, {
|
|
858
|
-
action: "read_resources";
|
|
859
858
|
path: string;
|
|
859
|
+
action: "read_resources";
|
|
860
860
|
uris: string[];
|
|
861
861
|
callerId?: string | undefined;
|
|
862
862
|
callerType?: "agent" | "user" | "system" | undefined;
|
|
@@ -864,8 +864,8 @@ export declare const callAgentValidationSchema: z.ZodObject<{
|
|
|
864
864
|
}>]>;
|
|
865
865
|
}, "strip", z.ZodTypeAny, {
|
|
866
866
|
request: {
|
|
867
|
-
action: "invoke";
|
|
868
867
|
path: string;
|
|
868
|
+
action: "invoke";
|
|
869
869
|
prompt: string;
|
|
870
870
|
callerId?: string | undefined;
|
|
871
871
|
callerType?: "agent" | "user" | "system" | undefined;
|
|
@@ -873,8 +873,8 @@ export declare const callAgentValidationSchema: z.ZodObject<{
|
|
|
873
873
|
sessionId?: string | undefined;
|
|
874
874
|
branchAttributes?: Record<string, string> | undefined;
|
|
875
875
|
} | {
|
|
876
|
-
action: "ask";
|
|
877
876
|
path: string;
|
|
877
|
+
action: "ask";
|
|
878
878
|
prompt: string;
|
|
879
879
|
callerId?: string | undefined;
|
|
880
880
|
callerType?: "agent" | "user" | "system" | undefined;
|
|
@@ -882,36 +882,36 @@ export declare const callAgentValidationSchema: z.ZodObject<{
|
|
|
882
882
|
sessionId?: string | undefined;
|
|
883
883
|
branchAttributes?: Record<string, string> | undefined;
|
|
884
884
|
} | {
|
|
885
|
-
action: "execute_tool";
|
|
886
885
|
path: string;
|
|
886
|
+
action: "execute_tool";
|
|
887
887
|
tool: string;
|
|
888
|
+
params?: z.objectOutputType<{}, z.ZodTypeAny, "passthrough"> | undefined;
|
|
888
889
|
callerId?: string | undefined;
|
|
889
890
|
callerType?: "agent" | "user" | "system" | undefined;
|
|
890
|
-
params?: z.objectOutputType<{}, z.ZodTypeAny, "passthrough"> | undefined;
|
|
891
891
|
metadata?: z.objectOutputType<{}, z.ZodTypeAny, "passthrough"> | undefined;
|
|
892
892
|
} | {
|
|
893
|
-
action: "describe_tools";
|
|
894
893
|
path: string;
|
|
894
|
+
action: "describe_tools";
|
|
895
895
|
callerId?: string | undefined;
|
|
896
896
|
callerType?: "agent" | "user" | "system" | undefined;
|
|
897
897
|
metadata?: z.objectOutputType<{}, z.ZodTypeAny, "passthrough"> | undefined;
|
|
898
898
|
tools?: string[] | undefined;
|
|
899
899
|
full?: boolean | undefined;
|
|
900
900
|
} | {
|
|
901
|
-
action: "load";
|
|
902
901
|
path: string;
|
|
902
|
+
action: "load";
|
|
903
903
|
callerId?: string | undefined;
|
|
904
904
|
callerType?: "agent" | "user" | "system" | undefined;
|
|
905
905
|
metadata?: z.objectOutputType<{}, z.ZodTypeAny, "passthrough"> | undefined;
|
|
906
906
|
} | {
|
|
907
|
-
action: "list_resources";
|
|
908
907
|
path: string;
|
|
908
|
+
action: "list_resources";
|
|
909
909
|
callerId?: string | undefined;
|
|
910
910
|
callerType?: "agent" | "user" | "system" | undefined;
|
|
911
911
|
metadata?: z.objectOutputType<{}, z.ZodTypeAny, "passthrough"> | undefined;
|
|
912
912
|
} | {
|
|
913
|
-
action: "read_resources";
|
|
914
913
|
path: string;
|
|
914
|
+
action: "read_resources";
|
|
915
915
|
uris: string[];
|
|
916
916
|
callerId?: string | undefined;
|
|
917
917
|
callerType?: "agent" | "user" | "system" | undefined;
|
|
@@ -919,8 +919,8 @@ export declare const callAgentValidationSchema: z.ZodObject<{
|
|
|
919
919
|
};
|
|
920
920
|
}, {
|
|
921
921
|
request: {
|
|
922
|
-
action: "invoke";
|
|
923
922
|
path: string;
|
|
923
|
+
action: "invoke";
|
|
924
924
|
prompt: string;
|
|
925
925
|
callerId?: string | undefined;
|
|
926
926
|
callerType?: "agent" | "user" | "system" | undefined;
|
|
@@ -928,8 +928,8 @@ export declare const callAgentValidationSchema: z.ZodObject<{
|
|
|
928
928
|
sessionId?: string | undefined;
|
|
929
929
|
branchAttributes?: Record<string, string> | undefined;
|
|
930
930
|
} | {
|
|
931
|
-
action: "ask";
|
|
932
931
|
path: string;
|
|
932
|
+
action: "ask";
|
|
933
933
|
prompt: string;
|
|
934
934
|
callerId?: string | undefined;
|
|
935
935
|
callerType?: "agent" | "user" | "system" | undefined;
|
|
@@ -937,36 +937,36 @@ export declare const callAgentValidationSchema: z.ZodObject<{
|
|
|
937
937
|
sessionId?: string | undefined;
|
|
938
938
|
branchAttributes?: Record<string, string> | undefined;
|
|
939
939
|
} | {
|
|
940
|
-
action: "execute_tool";
|
|
941
940
|
path: string;
|
|
941
|
+
action: "execute_tool";
|
|
942
942
|
tool: string;
|
|
943
|
+
params?: z.objectInputType<{}, z.ZodTypeAny, "passthrough"> | undefined;
|
|
943
944
|
callerId?: string | undefined;
|
|
944
945
|
callerType?: "agent" | "user" | "system" | undefined;
|
|
945
|
-
params?: z.objectInputType<{}, z.ZodTypeAny, "passthrough"> | undefined;
|
|
946
946
|
metadata?: z.objectInputType<{}, z.ZodTypeAny, "passthrough"> | undefined;
|
|
947
947
|
} | {
|
|
948
|
-
action: "describe_tools";
|
|
949
948
|
path: string;
|
|
949
|
+
action: "describe_tools";
|
|
950
950
|
callerId?: string | undefined;
|
|
951
951
|
callerType?: "agent" | "user" | "system" | undefined;
|
|
952
952
|
metadata?: z.objectInputType<{}, z.ZodTypeAny, "passthrough"> | undefined;
|
|
953
953
|
tools?: string[] | undefined;
|
|
954
954
|
full?: boolean | undefined;
|
|
955
955
|
} | {
|
|
956
|
-
action: "load";
|
|
957
956
|
path: string;
|
|
957
|
+
action: "load";
|
|
958
958
|
callerId?: string | undefined;
|
|
959
959
|
callerType?: "agent" | "user" | "system" | undefined;
|
|
960
960
|
metadata?: z.objectInputType<{}, z.ZodTypeAny, "passthrough"> | undefined;
|
|
961
961
|
} | {
|
|
962
|
-
action: "list_resources";
|
|
963
962
|
path: string;
|
|
963
|
+
action: "list_resources";
|
|
964
964
|
callerId?: string | undefined;
|
|
965
965
|
callerType?: "agent" | "user" | "system" | undefined;
|
|
966
966
|
metadata?: z.objectInputType<{}, z.ZodTypeAny, "passthrough"> | undefined;
|
|
967
967
|
} | {
|
|
968
|
-
action: "read_resources";
|
|
969
968
|
path: string;
|
|
969
|
+
action: "read_resources";
|
|
970
970
|
uris: string[];
|
|
971
971
|
callerId?: string | undefined;
|
|
972
972
|
callerType?: "agent" | "user" | "system" | undefined;
|