@modelcontextprotocol/sdk 1.11.3 → 1.11.5
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/cjs/client/index.d.ts +56 -3
- package/dist/cjs/client/index.d.ts.map +1 -1
- package/dist/cjs/client/index.js +51 -2
- package/dist/cjs/client/index.js.map +1 -1
- package/dist/cjs/client/sse.d.ts.map +1 -1
- package/dist/cjs/client/sse.js +0 -9
- package/dist/cjs/client/sse.js.map +1 -1
- package/dist/cjs/examples/server/mcpServerOutputSchema.d.ts +7 -0
- package/dist/cjs/examples/server/mcpServerOutputSchema.d.ts.map +1 -0
- package/dist/cjs/examples/server/mcpServerOutputSchema.js +70 -0
- package/dist/cjs/examples/server/mcpServerOutputSchema.js.map +1 -0
- package/dist/cjs/server/mcp.d.ts +20 -3
- package/dist/cjs/server/mcp.d.ts.map +1 -1
- package/dist/cjs/server/mcp.js +73 -39
- package/dist/cjs/server/mcp.js.map +1 -1
- package/dist/cjs/types.d.ts +681 -27
- package/dist/cjs/types.d.ts.map +1 -1
- package/dist/cjs/types.js +44 -2
- package/dist/cjs/types.js.map +1 -1
- package/dist/esm/client/index.d.ts +56 -3
- package/dist/esm/client/index.d.ts.map +1 -1
- package/dist/esm/client/index.js +52 -3
- package/dist/esm/client/index.js.map +1 -1
- package/dist/esm/client/sse.d.ts.map +1 -1
- package/dist/esm/client/sse.js +0 -9
- package/dist/esm/client/sse.js.map +1 -1
- package/dist/esm/examples/server/mcpServerOutputSchema.d.ts +7 -0
- package/dist/esm/examples/server/mcpServerOutputSchema.d.ts.map +1 -0
- package/dist/esm/examples/server/mcpServerOutputSchema.js +68 -0
- package/dist/esm/examples/server/mcpServerOutputSchema.js.map +1 -0
- package/dist/esm/server/mcp.d.ts +20 -3
- package/dist/esm/server/mcp.d.ts.map +1 -1
- package/dist/esm/server/mcp.js +73 -39
- package/dist/esm/server/mcp.js.map +1 -1
- package/dist/esm/types.d.ts +681 -27
- package/dist/esm/types.d.ts.map +1 -1
- package/dist/esm/types.js +44 -2
- package/dist/esm/types.js.map +1 -1
- package/package.json +2 -1
package/dist/esm/types.d.ts
CHANGED
|
@@ -10556,13 +10556,33 @@ export declare const ToolSchema: z.ZodObject<{
|
|
|
10556
10556
|
inputSchema: z.ZodObject<{
|
|
10557
10557
|
type: z.ZodLiteral<"object">;
|
|
10558
10558
|
properties: z.ZodOptional<z.ZodObject<{}, "passthrough", z.ZodTypeAny, z.objectOutputType<{}, z.ZodTypeAny, "passthrough">, z.objectInputType<{}, z.ZodTypeAny, "passthrough">>>;
|
|
10559
|
+
required: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
|
|
10559
10560
|
}, "passthrough", z.ZodTypeAny, z.objectOutputType<{
|
|
10560
10561
|
type: z.ZodLiteral<"object">;
|
|
10561
10562
|
properties: z.ZodOptional<z.ZodObject<{}, "passthrough", z.ZodTypeAny, z.objectOutputType<{}, z.ZodTypeAny, "passthrough">, z.objectInputType<{}, z.ZodTypeAny, "passthrough">>>;
|
|
10563
|
+
required: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
|
|
10562
10564
|
}, z.ZodTypeAny, "passthrough">, z.objectInputType<{
|
|
10563
10565
|
type: z.ZodLiteral<"object">;
|
|
10564
10566
|
properties: z.ZodOptional<z.ZodObject<{}, "passthrough", z.ZodTypeAny, z.objectOutputType<{}, z.ZodTypeAny, "passthrough">, z.objectInputType<{}, z.ZodTypeAny, "passthrough">>>;
|
|
10567
|
+
required: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
|
|
10565
10568
|
}, z.ZodTypeAny, "passthrough">>;
|
|
10569
|
+
/**
|
|
10570
|
+
* An optional JSON Schema object defining the structure of the tool's output returned in
|
|
10571
|
+
* the structuredContent field of a CallToolResult.
|
|
10572
|
+
*/
|
|
10573
|
+
outputSchema: z.ZodOptional<z.ZodObject<{
|
|
10574
|
+
type: z.ZodLiteral<"object">;
|
|
10575
|
+
properties: z.ZodOptional<z.ZodObject<{}, "passthrough", z.ZodTypeAny, z.objectOutputType<{}, z.ZodTypeAny, "passthrough">, z.objectInputType<{}, z.ZodTypeAny, "passthrough">>>;
|
|
10576
|
+
required: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
|
|
10577
|
+
}, "passthrough", z.ZodTypeAny, z.objectOutputType<{
|
|
10578
|
+
type: z.ZodLiteral<"object">;
|
|
10579
|
+
properties: z.ZodOptional<z.ZodObject<{}, "passthrough", z.ZodTypeAny, z.objectOutputType<{}, z.ZodTypeAny, "passthrough">, z.objectInputType<{}, z.ZodTypeAny, "passthrough">>>;
|
|
10580
|
+
required: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
|
|
10581
|
+
}, z.ZodTypeAny, "passthrough">, z.objectInputType<{
|
|
10582
|
+
type: z.ZodLiteral<"object">;
|
|
10583
|
+
properties: z.ZodOptional<z.ZodObject<{}, "passthrough", z.ZodTypeAny, z.objectOutputType<{}, z.ZodTypeAny, "passthrough">, z.objectInputType<{}, z.ZodTypeAny, "passthrough">>>;
|
|
10584
|
+
required: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
|
|
10585
|
+
}, z.ZodTypeAny, "passthrough">>>;
|
|
10566
10586
|
/**
|
|
10567
10587
|
* Optional additional tool information.
|
|
10568
10588
|
*/
|
|
@@ -10696,13 +10716,33 @@ export declare const ToolSchema: z.ZodObject<{
|
|
|
10696
10716
|
inputSchema: z.ZodObject<{
|
|
10697
10717
|
type: z.ZodLiteral<"object">;
|
|
10698
10718
|
properties: z.ZodOptional<z.ZodObject<{}, "passthrough", z.ZodTypeAny, z.objectOutputType<{}, z.ZodTypeAny, "passthrough">, z.objectInputType<{}, z.ZodTypeAny, "passthrough">>>;
|
|
10719
|
+
required: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
|
|
10699
10720
|
}, "passthrough", z.ZodTypeAny, z.objectOutputType<{
|
|
10700
10721
|
type: z.ZodLiteral<"object">;
|
|
10701
10722
|
properties: z.ZodOptional<z.ZodObject<{}, "passthrough", z.ZodTypeAny, z.objectOutputType<{}, z.ZodTypeAny, "passthrough">, z.objectInputType<{}, z.ZodTypeAny, "passthrough">>>;
|
|
10723
|
+
required: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
|
|
10702
10724
|
}, z.ZodTypeAny, "passthrough">, z.objectInputType<{
|
|
10703
10725
|
type: z.ZodLiteral<"object">;
|
|
10704
10726
|
properties: z.ZodOptional<z.ZodObject<{}, "passthrough", z.ZodTypeAny, z.objectOutputType<{}, z.ZodTypeAny, "passthrough">, z.objectInputType<{}, z.ZodTypeAny, "passthrough">>>;
|
|
10727
|
+
required: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
|
|
10705
10728
|
}, z.ZodTypeAny, "passthrough">>;
|
|
10729
|
+
/**
|
|
10730
|
+
* An optional JSON Schema object defining the structure of the tool's output returned in
|
|
10731
|
+
* the structuredContent field of a CallToolResult.
|
|
10732
|
+
*/
|
|
10733
|
+
outputSchema: z.ZodOptional<z.ZodObject<{
|
|
10734
|
+
type: z.ZodLiteral<"object">;
|
|
10735
|
+
properties: z.ZodOptional<z.ZodObject<{}, "passthrough", z.ZodTypeAny, z.objectOutputType<{}, z.ZodTypeAny, "passthrough">, z.objectInputType<{}, z.ZodTypeAny, "passthrough">>>;
|
|
10736
|
+
required: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
|
|
10737
|
+
}, "passthrough", z.ZodTypeAny, z.objectOutputType<{
|
|
10738
|
+
type: z.ZodLiteral<"object">;
|
|
10739
|
+
properties: z.ZodOptional<z.ZodObject<{}, "passthrough", z.ZodTypeAny, z.objectOutputType<{}, z.ZodTypeAny, "passthrough">, z.objectInputType<{}, z.ZodTypeAny, "passthrough">>>;
|
|
10740
|
+
required: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
|
|
10741
|
+
}, z.ZodTypeAny, "passthrough">, z.objectInputType<{
|
|
10742
|
+
type: z.ZodLiteral<"object">;
|
|
10743
|
+
properties: z.ZodOptional<z.ZodObject<{}, "passthrough", z.ZodTypeAny, z.objectOutputType<{}, z.ZodTypeAny, "passthrough">, z.objectInputType<{}, z.ZodTypeAny, "passthrough">>>;
|
|
10744
|
+
required: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
|
|
10745
|
+
}, z.ZodTypeAny, "passthrough">>>;
|
|
10706
10746
|
/**
|
|
10707
10747
|
* Optional additional tool information.
|
|
10708
10748
|
*/
|
|
@@ -10836,13 +10876,33 @@ export declare const ToolSchema: z.ZodObject<{
|
|
|
10836
10876
|
inputSchema: z.ZodObject<{
|
|
10837
10877
|
type: z.ZodLiteral<"object">;
|
|
10838
10878
|
properties: z.ZodOptional<z.ZodObject<{}, "passthrough", z.ZodTypeAny, z.objectOutputType<{}, z.ZodTypeAny, "passthrough">, z.objectInputType<{}, z.ZodTypeAny, "passthrough">>>;
|
|
10879
|
+
required: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
|
|
10839
10880
|
}, "passthrough", z.ZodTypeAny, z.objectOutputType<{
|
|
10840
10881
|
type: z.ZodLiteral<"object">;
|
|
10841
10882
|
properties: z.ZodOptional<z.ZodObject<{}, "passthrough", z.ZodTypeAny, z.objectOutputType<{}, z.ZodTypeAny, "passthrough">, z.objectInputType<{}, z.ZodTypeAny, "passthrough">>>;
|
|
10883
|
+
required: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
|
|
10842
10884
|
}, z.ZodTypeAny, "passthrough">, z.objectInputType<{
|
|
10843
10885
|
type: z.ZodLiteral<"object">;
|
|
10844
10886
|
properties: z.ZodOptional<z.ZodObject<{}, "passthrough", z.ZodTypeAny, z.objectOutputType<{}, z.ZodTypeAny, "passthrough">, z.objectInputType<{}, z.ZodTypeAny, "passthrough">>>;
|
|
10887
|
+
required: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
|
|
10845
10888
|
}, z.ZodTypeAny, "passthrough">>;
|
|
10889
|
+
/**
|
|
10890
|
+
* An optional JSON Schema object defining the structure of the tool's output returned in
|
|
10891
|
+
* the structuredContent field of a CallToolResult.
|
|
10892
|
+
*/
|
|
10893
|
+
outputSchema: z.ZodOptional<z.ZodObject<{
|
|
10894
|
+
type: z.ZodLiteral<"object">;
|
|
10895
|
+
properties: z.ZodOptional<z.ZodObject<{}, "passthrough", z.ZodTypeAny, z.objectOutputType<{}, z.ZodTypeAny, "passthrough">, z.objectInputType<{}, z.ZodTypeAny, "passthrough">>>;
|
|
10896
|
+
required: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
|
|
10897
|
+
}, "passthrough", z.ZodTypeAny, z.objectOutputType<{
|
|
10898
|
+
type: z.ZodLiteral<"object">;
|
|
10899
|
+
properties: z.ZodOptional<z.ZodObject<{}, "passthrough", z.ZodTypeAny, z.objectOutputType<{}, z.ZodTypeAny, "passthrough">, z.objectInputType<{}, z.ZodTypeAny, "passthrough">>>;
|
|
10900
|
+
required: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
|
|
10901
|
+
}, z.ZodTypeAny, "passthrough">, z.objectInputType<{
|
|
10902
|
+
type: z.ZodLiteral<"object">;
|
|
10903
|
+
properties: z.ZodOptional<z.ZodObject<{}, "passthrough", z.ZodTypeAny, z.objectOutputType<{}, z.ZodTypeAny, "passthrough">, z.objectInputType<{}, z.ZodTypeAny, "passthrough">>>;
|
|
10904
|
+
required: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
|
|
10905
|
+
}, z.ZodTypeAny, "passthrough">>>;
|
|
10846
10906
|
/**
|
|
10847
10907
|
* Optional additional tool information.
|
|
10848
10908
|
*/
|
|
@@ -11175,13 +11235,33 @@ export declare const ListToolsResultSchema: z.ZodObject<z.objectUtil.extendShape
|
|
|
11175
11235
|
inputSchema: z.ZodObject<{
|
|
11176
11236
|
type: z.ZodLiteral<"object">;
|
|
11177
11237
|
properties: z.ZodOptional<z.ZodObject<{}, "passthrough", z.ZodTypeAny, z.objectOutputType<{}, z.ZodTypeAny, "passthrough">, z.objectInputType<{}, z.ZodTypeAny, "passthrough">>>;
|
|
11238
|
+
required: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
|
|
11178
11239
|
}, "passthrough", z.ZodTypeAny, z.objectOutputType<{
|
|
11179
11240
|
type: z.ZodLiteral<"object">;
|
|
11180
11241
|
properties: z.ZodOptional<z.ZodObject<{}, "passthrough", z.ZodTypeAny, z.objectOutputType<{}, z.ZodTypeAny, "passthrough">, z.objectInputType<{}, z.ZodTypeAny, "passthrough">>>;
|
|
11242
|
+
required: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
|
|
11181
11243
|
}, z.ZodTypeAny, "passthrough">, z.objectInputType<{
|
|
11182
11244
|
type: z.ZodLiteral<"object">;
|
|
11183
11245
|
properties: z.ZodOptional<z.ZodObject<{}, "passthrough", z.ZodTypeAny, z.objectOutputType<{}, z.ZodTypeAny, "passthrough">, z.objectInputType<{}, z.ZodTypeAny, "passthrough">>>;
|
|
11246
|
+
required: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
|
|
11184
11247
|
}, z.ZodTypeAny, "passthrough">>;
|
|
11248
|
+
/**
|
|
11249
|
+
* An optional JSON Schema object defining the structure of the tool's output returned in
|
|
11250
|
+
* the structuredContent field of a CallToolResult.
|
|
11251
|
+
*/
|
|
11252
|
+
outputSchema: z.ZodOptional<z.ZodObject<{
|
|
11253
|
+
type: z.ZodLiteral<"object">;
|
|
11254
|
+
properties: z.ZodOptional<z.ZodObject<{}, "passthrough", z.ZodTypeAny, z.objectOutputType<{}, z.ZodTypeAny, "passthrough">, z.objectInputType<{}, z.ZodTypeAny, "passthrough">>>;
|
|
11255
|
+
required: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
|
|
11256
|
+
}, "passthrough", z.ZodTypeAny, z.objectOutputType<{
|
|
11257
|
+
type: z.ZodLiteral<"object">;
|
|
11258
|
+
properties: z.ZodOptional<z.ZodObject<{}, "passthrough", z.ZodTypeAny, z.objectOutputType<{}, z.ZodTypeAny, "passthrough">, z.objectInputType<{}, z.ZodTypeAny, "passthrough">>>;
|
|
11259
|
+
required: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
|
|
11260
|
+
}, z.ZodTypeAny, "passthrough">, z.objectInputType<{
|
|
11261
|
+
type: z.ZodLiteral<"object">;
|
|
11262
|
+
properties: z.ZodOptional<z.ZodObject<{}, "passthrough", z.ZodTypeAny, z.objectOutputType<{}, z.ZodTypeAny, "passthrough">, z.objectInputType<{}, z.ZodTypeAny, "passthrough">>>;
|
|
11263
|
+
required: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
|
|
11264
|
+
}, z.ZodTypeAny, "passthrough">>>;
|
|
11185
11265
|
/**
|
|
11186
11266
|
* Optional additional tool information.
|
|
11187
11267
|
*/
|
|
@@ -11315,13 +11395,33 @@ export declare const ListToolsResultSchema: z.ZodObject<z.objectUtil.extendShape
|
|
|
11315
11395
|
inputSchema: z.ZodObject<{
|
|
11316
11396
|
type: z.ZodLiteral<"object">;
|
|
11317
11397
|
properties: z.ZodOptional<z.ZodObject<{}, "passthrough", z.ZodTypeAny, z.objectOutputType<{}, z.ZodTypeAny, "passthrough">, z.objectInputType<{}, z.ZodTypeAny, "passthrough">>>;
|
|
11398
|
+
required: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
|
|
11318
11399
|
}, "passthrough", z.ZodTypeAny, z.objectOutputType<{
|
|
11319
11400
|
type: z.ZodLiteral<"object">;
|
|
11320
11401
|
properties: z.ZodOptional<z.ZodObject<{}, "passthrough", z.ZodTypeAny, z.objectOutputType<{}, z.ZodTypeAny, "passthrough">, z.objectInputType<{}, z.ZodTypeAny, "passthrough">>>;
|
|
11402
|
+
required: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
|
|
11321
11403
|
}, z.ZodTypeAny, "passthrough">, z.objectInputType<{
|
|
11322
11404
|
type: z.ZodLiteral<"object">;
|
|
11323
11405
|
properties: z.ZodOptional<z.ZodObject<{}, "passthrough", z.ZodTypeAny, z.objectOutputType<{}, z.ZodTypeAny, "passthrough">, z.objectInputType<{}, z.ZodTypeAny, "passthrough">>>;
|
|
11406
|
+
required: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
|
|
11324
11407
|
}, z.ZodTypeAny, "passthrough">>;
|
|
11408
|
+
/**
|
|
11409
|
+
* An optional JSON Schema object defining the structure of the tool's output returned in
|
|
11410
|
+
* the structuredContent field of a CallToolResult.
|
|
11411
|
+
*/
|
|
11412
|
+
outputSchema: z.ZodOptional<z.ZodObject<{
|
|
11413
|
+
type: z.ZodLiteral<"object">;
|
|
11414
|
+
properties: z.ZodOptional<z.ZodObject<{}, "passthrough", z.ZodTypeAny, z.objectOutputType<{}, z.ZodTypeAny, "passthrough">, z.objectInputType<{}, z.ZodTypeAny, "passthrough">>>;
|
|
11415
|
+
required: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
|
|
11416
|
+
}, "passthrough", z.ZodTypeAny, z.objectOutputType<{
|
|
11417
|
+
type: z.ZodLiteral<"object">;
|
|
11418
|
+
properties: z.ZodOptional<z.ZodObject<{}, "passthrough", z.ZodTypeAny, z.objectOutputType<{}, z.ZodTypeAny, "passthrough">, z.objectInputType<{}, z.ZodTypeAny, "passthrough">>>;
|
|
11419
|
+
required: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
|
|
11420
|
+
}, z.ZodTypeAny, "passthrough">, z.objectInputType<{
|
|
11421
|
+
type: z.ZodLiteral<"object">;
|
|
11422
|
+
properties: z.ZodOptional<z.ZodObject<{}, "passthrough", z.ZodTypeAny, z.objectOutputType<{}, z.ZodTypeAny, "passthrough">, z.objectInputType<{}, z.ZodTypeAny, "passthrough">>>;
|
|
11423
|
+
required: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
|
|
11424
|
+
}, z.ZodTypeAny, "passthrough">>>;
|
|
11325
11425
|
/**
|
|
11326
11426
|
* Optional additional tool information.
|
|
11327
11427
|
*/
|
|
@@ -11455,13 +11555,33 @@ export declare const ListToolsResultSchema: z.ZodObject<z.objectUtil.extendShape
|
|
|
11455
11555
|
inputSchema: z.ZodObject<{
|
|
11456
11556
|
type: z.ZodLiteral<"object">;
|
|
11457
11557
|
properties: z.ZodOptional<z.ZodObject<{}, "passthrough", z.ZodTypeAny, z.objectOutputType<{}, z.ZodTypeAny, "passthrough">, z.objectInputType<{}, z.ZodTypeAny, "passthrough">>>;
|
|
11558
|
+
required: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
|
|
11458
11559
|
}, "passthrough", z.ZodTypeAny, z.objectOutputType<{
|
|
11459
11560
|
type: z.ZodLiteral<"object">;
|
|
11460
11561
|
properties: z.ZodOptional<z.ZodObject<{}, "passthrough", z.ZodTypeAny, z.objectOutputType<{}, z.ZodTypeAny, "passthrough">, z.objectInputType<{}, z.ZodTypeAny, "passthrough">>>;
|
|
11562
|
+
required: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
|
|
11461
11563
|
}, z.ZodTypeAny, "passthrough">, z.objectInputType<{
|
|
11462
11564
|
type: z.ZodLiteral<"object">;
|
|
11463
11565
|
properties: z.ZodOptional<z.ZodObject<{}, "passthrough", z.ZodTypeAny, z.objectOutputType<{}, z.ZodTypeAny, "passthrough">, z.objectInputType<{}, z.ZodTypeAny, "passthrough">>>;
|
|
11566
|
+
required: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
|
|
11464
11567
|
}, z.ZodTypeAny, "passthrough">>;
|
|
11568
|
+
/**
|
|
11569
|
+
* An optional JSON Schema object defining the structure of the tool's output returned in
|
|
11570
|
+
* the structuredContent field of a CallToolResult.
|
|
11571
|
+
*/
|
|
11572
|
+
outputSchema: z.ZodOptional<z.ZodObject<{
|
|
11573
|
+
type: z.ZodLiteral<"object">;
|
|
11574
|
+
properties: z.ZodOptional<z.ZodObject<{}, "passthrough", z.ZodTypeAny, z.objectOutputType<{}, z.ZodTypeAny, "passthrough">, z.objectInputType<{}, z.ZodTypeAny, "passthrough">>>;
|
|
11575
|
+
required: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
|
|
11576
|
+
}, "passthrough", z.ZodTypeAny, z.objectOutputType<{
|
|
11577
|
+
type: z.ZodLiteral<"object">;
|
|
11578
|
+
properties: z.ZodOptional<z.ZodObject<{}, "passthrough", z.ZodTypeAny, z.objectOutputType<{}, z.ZodTypeAny, "passthrough">, z.objectInputType<{}, z.ZodTypeAny, "passthrough">>>;
|
|
11579
|
+
required: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
|
|
11580
|
+
}, z.ZodTypeAny, "passthrough">, z.objectInputType<{
|
|
11581
|
+
type: z.ZodLiteral<"object">;
|
|
11582
|
+
properties: z.ZodOptional<z.ZodObject<{}, "passthrough", z.ZodTypeAny, z.objectOutputType<{}, z.ZodTypeAny, "passthrough">, z.objectInputType<{}, z.ZodTypeAny, "passthrough">>>;
|
|
11583
|
+
required: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
|
|
11584
|
+
}, z.ZodTypeAny, "passthrough">>>;
|
|
11465
11585
|
/**
|
|
11466
11586
|
* Optional additional tool information.
|
|
11467
11587
|
*/
|
|
@@ -11608,13 +11728,33 @@ export declare const ListToolsResultSchema: z.ZodObject<z.objectUtil.extendShape
|
|
|
11608
11728
|
inputSchema: z.ZodObject<{
|
|
11609
11729
|
type: z.ZodLiteral<"object">;
|
|
11610
11730
|
properties: z.ZodOptional<z.ZodObject<{}, "passthrough", z.ZodTypeAny, z.objectOutputType<{}, z.ZodTypeAny, "passthrough">, z.objectInputType<{}, z.ZodTypeAny, "passthrough">>>;
|
|
11731
|
+
required: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
|
|
11611
11732
|
}, "passthrough", z.ZodTypeAny, z.objectOutputType<{
|
|
11612
11733
|
type: z.ZodLiteral<"object">;
|
|
11613
11734
|
properties: z.ZodOptional<z.ZodObject<{}, "passthrough", z.ZodTypeAny, z.objectOutputType<{}, z.ZodTypeAny, "passthrough">, z.objectInputType<{}, z.ZodTypeAny, "passthrough">>>;
|
|
11735
|
+
required: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
|
|
11614
11736
|
}, z.ZodTypeAny, "passthrough">, z.objectInputType<{
|
|
11615
11737
|
type: z.ZodLiteral<"object">;
|
|
11616
11738
|
properties: z.ZodOptional<z.ZodObject<{}, "passthrough", z.ZodTypeAny, z.objectOutputType<{}, z.ZodTypeAny, "passthrough">, z.objectInputType<{}, z.ZodTypeAny, "passthrough">>>;
|
|
11739
|
+
required: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
|
|
11617
11740
|
}, z.ZodTypeAny, "passthrough">>;
|
|
11741
|
+
/**
|
|
11742
|
+
* An optional JSON Schema object defining the structure of the tool's output returned in
|
|
11743
|
+
* the structuredContent field of a CallToolResult.
|
|
11744
|
+
*/
|
|
11745
|
+
outputSchema: z.ZodOptional<z.ZodObject<{
|
|
11746
|
+
type: z.ZodLiteral<"object">;
|
|
11747
|
+
properties: z.ZodOptional<z.ZodObject<{}, "passthrough", z.ZodTypeAny, z.objectOutputType<{}, z.ZodTypeAny, "passthrough">, z.objectInputType<{}, z.ZodTypeAny, "passthrough">>>;
|
|
11748
|
+
required: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
|
|
11749
|
+
}, "passthrough", z.ZodTypeAny, z.objectOutputType<{
|
|
11750
|
+
type: z.ZodLiteral<"object">;
|
|
11751
|
+
properties: z.ZodOptional<z.ZodObject<{}, "passthrough", z.ZodTypeAny, z.objectOutputType<{}, z.ZodTypeAny, "passthrough">, z.objectInputType<{}, z.ZodTypeAny, "passthrough">>>;
|
|
11752
|
+
required: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
|
|
11753
|
+
}, z.ZodTypeAny, "passthrough">, z.objectInputType<{
|
|
11754
|
+
type: z.ZodLiteral<"object">;
|
|
11755
|
+
properties: z.ZodOptional<z.ZodObject<{}, "passthrough", z.ZodTypeAny, z.objectOutputType<{}, z.ZodTypeAny, "passthrough">, z.objectInputType<{}, z.ZodTypeAny, "passthrough">>>;
|
|
11756
|
+
required: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
|
|
11757
|
+
}, z.ZodTypeAny, "passthrough">>>;
|
|
11618
11758
|
/**
|
|
11619
11759
|
* Optional additional tool information.
|
|
11620
11760
|
*/
|
|
@@ -11748,13 +11888,33 @@ export declare const ListToolsResultSchema: z.ZodObject<z.objectUtil.extendShape
|
|
|
11748
11888
|
inputSchema: z.ZodObject<{
|
|
11749
11889
|
type: z.ZodLiteral<"object">;
|
|
11750
11890
|
properties: z.ZodOptional<z.ZodObject<{}, "passthrough", z.ZodTypeAny, z.objectOutputType<{}, z.ZodTypeAny, "passthrough">, z.objectInputType<{}, z.ZodTypeAny, "passthrough">>>;
|
|
11891
|
+
required: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
|
|
11751
11892
|
}, "passthrough", z.ZodTypeAny, z.objectOutputType<{
|
|
11752
11893
|
type: z.ZodLiteral<"object">;
|
|
11753
11894
|
properties: z.ZodOptional<z.ZodObject<{}, "passthrough", z.ZodTypeAny, z.objectOutputType<{}, z.ZodTypeAny, "passthrough">, z.objectInputType<{}, z.ZodTypeAny, "passthrough">>>;
|
|
11895
|
+
required: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
|
|
11754
11896
|
}, z.ZodTypeAny, "passthrough">, z.objectInputType<{
|
|
11755
11897
|
type: z.ZodLiteral<"object">;
|
|
11756
11898
|
properties: z.ZodOptional<z.ZodObject<{}, "passthrough", z.ZodTypeAny, z.objectOutputType<{}, z.ZodTypeAny, "passthrough">, z.objectInputType<{}, z.ZodTypeAny, "passthrough">>>;
|
|
11899
|
+
required: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
|
|
11757
11900
|
}, z.ZodTypeAny, "passthrough">>;
|
|
11901
|
+
/**
|
|
11902
|
+
* An optional JSON Schema object defining the structure of the tool's output returned in
|
|
11903
|
+
* the structuredContent field of a CallToolResult.
|
|
11904
|
+
*/
|
|
11905
|
+
outputSchema: z.ZodOptional<z.ZodObject<{
|
|
11906
|
+
type: z.ZodLiteral<"object">;
|
|
11907
|
+
properties: z.ZodOptional<z.ZodObject<{}, "passthrough", z.ZodTypeAny, z.objectOutputType<{}, z.ZodTypeAny, "passthrough">, z.objectInputType<{}, z.ZodTypeAny, "passthrough">>>;
|
|
11908
|
+
required: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
|
|
11909
|
+
}, "passthrough", z.ZodTypeAny, z.objectOutputType<{
|
|
11910
|
+
type: z.ZodLiteral<"object">;
|
|
11911
|
+
properties: z.ZodOptional<z.ZodObject<{}, "passthrough", z.ZodTypeAny, z.objectOutputType<{}, z.ZodTypeAny, "passthrough">, z.objectInputType<{}, z.ZodTypeAny, "passthrough">>>;
|
|
11912
|
+
required: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
|
|
11913
|
+
}, z.ZodTypeAny, "passthrough">, z.objectInputType<{
|
|
11914
|
+
type: z.ZodLiteral<"object">;
|
|
11915
|
+
properties: z.ZodOptional<z.ZodObject<{}, "passthrough", z.ZodTypeAny, z.objectOutputType<{}, z.ZodTypeAny, "passthrough">, z.objectInputType<{}, z.ZodTypeAny, "passthrough">>>;
|
|
11916
|
+
required: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
|
|
11917
|
+
}, z.ZodTypeAny, "passthrough">>>;
|
|
11758
11918
|
/**
|
|
11759
11919
|
* Optional additional tool information.
|
|
11760
11920
|
*/
|
|
@@ -11888,13 +12048,33 @@ export declare const ListToolsResultSchema: z.ZodObject<z.objectUtil.extendShape
|
|
|
11888
12048
|
inputSchema: z.ZodObject<{
|
|
11889
12049
|
type: z.ZodLiteral<"object">;
|
|
11890
12050
|
properties: z.ZodOptional<z.ZodObject<{}, "passthrough", z.ZodTypeAny, z.objectOutputType<{}, z.ZodTypeAny, "passthrough">, z.objectInputType<{}, z.ZodTypeAny, "passthrough">>>;
|
|
12051
|
+
required: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
|
|
11891
12052
|
}, "passthrough", z.ZodTypeAny, z.objectOutputType<{
|
|
11892
12053
|
type: z.ZodLiteral<"object">;
|
|
11893
12054
|
properties: z.ZodOptional<z.ZodObject<{}, "passthrough", z.ZodTypeAny, z.objectOutputType<{}, z.ZodTypeAny, "passthrough">, z.objectInputType<{}, z.ZodTypeAny, "passthrough">>>;
|
|
12055
|
+
required: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
|
|
11894
12056
|
}, z.ZodTypeAny, "passthrough">, z.objectInputType<{
|
|
11895
12057
|
type: z.ZodLiteral<"object">;
|
|
11896
12058
|
properties: z.ZodOptional<z.ZodObject<{}, "passthrough", z.ZodTypeAny, z.objectOutputType<{}, z.ZodTypeAny, "passthrough">, z.objectInputType<{}, z.ZodTypeAny, "passthrough">>>;
|
|
12059
|
+
required: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
|
|
11897
12060
|
}, z.ZodTypeAny, "passthrough">>;
|
|
12061
|
+
/**
|
|
12062
|
+
* An optional JSON Schema object defining the structure of the tool's output returned in
|
|
12063
|
+
* the structuredContent field of a CallToolResult.
|
|
12064
|
+
*/
|
|
12065
|
+
outputSchema: z.ZodOptional<z.ZodObject<{
|
|
12066
|
+
type: z.ZodLiteral<"object">;
|
|
12067
|
+
properties: z.ZodOptional<z.ZodObject<{}, "passthrough", z.ZodTypeAny, z.objectOutputType<{}, z.ZodTypeAny, "passthrough">, z.objectInputType<{}, z.ZodTypeAny, "passthrough">>>;
|
|
12068
|
+
required: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
|
|
12069
|
+
}, "passthrough", z.ZodTypeAny, z.objectOutputType<{
|
|
12070
|
+
type: z.ZodLiteral<"object">;
|
|
12071
|
+
properties: z.ZodOptional<z.ZodObject<{}, "passthrough", z.ZodTypeAny, z.objectOutputType<{}, z.ZodTypeAny, "passthrough">, z.objectInputType<{}, z.ZodTypeAny, "passthrough">>>;
|
|
12072
|
+
required: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
|
|
12073
|
+
}, z.ZodTypeAny, "passthrough">, z.objectInputType<{
|
|
12074
|
+
type: z.ZodLiteral<"object">;
|
|
12075
|
+
properties: z.ZodOptional<z.ZodObject<{}, "passthrough", z.ZodTypeAny, z.objectOutputType<{}, z.ZodTypeAny, "passthrough">, z.objectInputType<{}, z.ZodTypeAny, "passthrough">>>;
|
|
12076
|
+
required: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
|
|
12077
|
+
}, z.ZodTypeAny, "passthrough">>>;
|
|
11898
12078
|
/**
|
|
11899
12079
|
* Optional additional tool information.
|
|
11900
12080
|
*/
|
|
@@ -12041,13 +12221,33 @@ export declare const ListToolsResultSchema: z.ZodObject<z.objectUtil.extendShape
|
|
|
12041
12221
|
inputSchema: z.ZodObject<{
|
|
12042
12222
|
type: z.ZodLiteral<"object">;
|
|
12043
12223
|
properties: z.ZodOptional<z.ZodObject<{}, "passthrough", z.ZodTypeAny, z.objectOutputType<{}, z.ZodTypeAny, "passthrough">, z.objectInputType<{}, z.ZodTypeAny, "passthrough">>>;
|
|
12224
|
+
required: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
|
|
12044
12225
|
}, "passthrough", z.ZodTypeAny, z.objectOutputType<{
|
|
12045
12226
|
type: z.ZodLiteral<"object">;
|
|
12046
12227
|
properties: z.ZodOptional<z.ZodObject<{}, "passthrough", z.ZodTypeAny, z.objectOutputType<{}, z.ZodTypeAny, "passthrough">, z.objectInputType<{}, z.ZodTypeAny, "passthrough">>>;
|
|
12228
|
+
required: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
|
|
12047
12229
|
}, z.ZodTypeAny, "passthrough">, z.objectInputType<{
|
|
12048
12230
|
type: z.ZodLiteral<"object">;
|
|
12049
12231
|
properties: z.ZodOptional<z.ZodObject<{}, "passthrough", z.ZodTypeAny, z.objectOutputType<{}, z.ZodTypeAny, "passthrough">, z.objectInputType<{}, z.ZodTypeAny, "passthrough">>>;
|
|
12232
|
+
required: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
|
|
12050
12233
|
}, z.ZodTypeAny, "passthrough">>;
|
|
12234
|
+
/**
|
|
12235
|
+
* An optional JSON Schema object defining the structure of the tool's output returned in
|
|
12236
|
+
* the structuredContent field of a CallToolResult.
|
|
12237
|
+
*/
|
|
12238
|
+
outputSchema: z.ZodOptional<z.ZodObject<{
|
|
12239
|
+
type: z.ZodLiteral<"object">;
|
|
12240
|
+
properties: z.ZodOptional<z.ZodObject<{}, "passthrough", z.ZodTypeAny, z.objectOutputType<{}, z.ZodTypeAny, "passthrough">, z.objectInputType<{}, z.ZodTypeAny, "passthrough">>>;
|
|
12241
|
+
required: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
|
|
12242
|
+
}, "passthrough", z.ZodTypeAny, z.objectOutputType<{
|
|
12243
|
+
type: z.ZodLiteral<"object">;
|
|
12244
|
+
properties: z.ZodOptional<z.ZodObject<{}, "passthrough", z.ZodTypeAny, z.objectOutputType<{}, z.ZodTypeAny, "passthrough">, z.objectInputType<{}, z.ZodTypeAny, "passthrough">>>;
|
|
12245
|
+
required: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
|
|
12246
|
+
}, z.ZodTypeAny, "passthrough">, z.objectInputType<{
|
|
12247
|
+
type: z.ZodLiteral<"object">;
|
|
12248
|
+
properties: z.ZodOptional<z.ZodObject<{}, "passthrough", z.ZodTypeAny, z.objectOutputType<{}, z.ZodTypeAny, "passthrough">, z.objectInputType<{}, z.ZodTypeAny, "passthrough">>>;
|
|
12249
|
+
required: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
|
|
12250
|
+
}, z.ZodTypeAny, "passthrough">>>;
|
|
12051
12251
|
/**
|
|
12052
12252
|
* Optional additional tool information.
|
|
12053
12253
|
*/
|
|
@@ -12181,13 +12381,33 @@ export declare const ListToolsResultSchema: z.ZodObject<z.objectUtil.extendShape
|
|
|
12181
12381
|
inputSchema: z.ZodObject<{
|
|
12182
12382
|
type: z.ZodLiteral<"object">;
|
|
12183
12383
|
properties: z.ZodOptional<z.ZodObject<{}, "passthrough", z.ZodTypeAny, z.objectOutputType<{}, z.ZodTypeAny, "passthrough">, z.objectInputType<{}, z.ZodTypeAny, "passthrough">>>;
|
|
12384
|
+
required: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
|
|
12184
12385
|
}, "passthrough", z.ZodTypeAny, z.objectOutputType<{
|
|
12185
12386
|
type: z.ZodLiteral<"object">;
|
|
12186
12387
|
properties: z.ZodOptional<z.ZodObject<{}, "passthrough", z.ZodTypeAny, z.objectOutputType<{}, z.ZodTypeAny, "passthrough">, z.objectInputType<{}, z.ZodTypeAny, "passthrough">>>;
|
|
12388
|
+
required: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
|
|
12187
12389
|
}, z.ZodTypeAny, "passthrough">, z.objectInputType<{
|
|
12188
12390
|
type: z.ZodLiteral<"object">;
|
|
12189
12391
|
properties: z.ZodOptional<z.ZodObject<{}, "passthrough", z.ZodTypeAny, z.objectOutputType<{}, z.ZodTypeAny, "passthrough">, z.objectInputType<{}, z.ZodTypeAny, "passthrough">>>;
|
|
12392
|
+
required: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
|
|
12190
12393
|
}, z.ZodTypeAny, "passthrough">>;
|
|
12394
|
+
/**
|
|
12395
|
+
* An optional JSON Schema object defining the structure of the tool's output returned in
|
|
12396
|
+
* the structuredContent field of a CallToolResult.
|
|
12397
|
+
*/
|
|
12398
|
+
outputSchema: z.ZodOptional<z.ZodObject<{
|
|
12399
|
+
type: z.ZodLiteral<"object">;
|
|
12400
|
+
properties: z.ZodOptional<z.ZodObject<{}, "passthrough", z.ZodTypeAny, z.objectOutputType<{}, z.ZodTypeAny, "passthrough">, z.objectInputType<{}, z.ZodTypeAny, "passthrough">>>;
|
|
12401
|
+
required: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
|
|
12402
|
+
}, "passthrough", z.ZodTypeAny, z.objectOutputType<{
|
|
12403
|
+
type: z.ZodLiteral<"object">;
|
|
12404
|
+
properties: z.ZodOptional<z.ZodObject<{}, "passthrough", z.ZodTypeAny, z.objectOutputType<{}, z.ZodTypeAny, "passthrough">, z.objectInputType<{}, z.ZodTypeAny, "passthrough">>>;
|
|
12405
|
+
required: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
|
|
12406
|
+
}, z.ZodTypeAny, "passthrough">, z.objectInputType<{
|
|
12407
|
+
type: z.ZodLiteral<"object">;
|
|
12408
|
+
properties: z.ZodOptional<z.ZodObject<{}, "passthrough", z.ZodTypeAny, z.objectOutputType<{}, z.ZodTypeAny, "passthrough">, z.objectInputType<{}, z.ZodTypeAny, "passthrough">>>;
|
|
12409
|
+
required: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
|
|
12410
|
+
}, z.ZodTypeAny, "passthrough">>>;
|
|
12191
12411
|
/**
|
|
12192
12412
|
* Optional additional tool information.
|
|
12193
12413
|
*/
|
|
@@ -12321,13 +12541,33 @@ export declare const ListToolsResultSchema: z.ZodObject<z.objectUtil.extendShape
|
|
|
12321
12541
|
inputSchema: z.ZodObject<{
|
|
12322
12542
|
type: z.ZodLiteral<"object">;
|
|
12323
12543
|
properties: z.ZodOptional<z.ZodObject<{}, "passthrough", z.ZodTypeAny, z.objectOutputType<{}, z.ZodTypeAny, "passthrough">, z.objectInputType<{}, z.ZodTypeAny, "passthrough">>>;
|
|
12544
|
+
required: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
|
|
12324
12545
|
}, "passthrough", z.ZodTypeAny, z.objectOutputType<{
|
|
12325
12546
|
type: z.ZodLiteral<"object">;
|
|
12326
12547
|
properties: z.ZodOptional<z.ZodObject<{}, "passthrough", z.ZodTypeAny, z.objectOutputType<{}, z.ZodTypeAny, "passthrough">, z.objectInputType<{}, z.ZodTypeAny, "passthrough">>>;
|
|
12548
|
+
required: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
|
|
12327
12549
|
}, z.ZodTypeAny, "passthrough">, z.objectInputType<{
|
|
12328
12550
|
type: z.ZodLiteral<"object">;
|
|
12329
12551
|
properties: z.ZodOptional<z.ZodObject<{}, "passthrough", z.ZodTypeAny, z.objectOutputType<{}, z.ZodTypeAny, "passthrough">, z.objectInputType<{}, z.ZodTypeAny, "passthrough">>>;
|
|
12552
|
+
required: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
|
|
12330
12553
|
}, z.ZodTypeAny, "passthrough">>;
|
|
12554
|
+
/**
|
|
12555
|
+
* An optional JSON Schema object defining the structure of the tool's output returned in
|
|
12556
|
+
* the structuredContent field of a CallToolResult.
|
|
12557
|
+
*/
|
|
12558
|
+
outputSchema: z.ZodOptional<z.ZodObject<{
|
|
12559
|
+
type: z.ZodLiteral<"object">;
|
|
12560
|
+
properties: z.ZodOptional<z.ZodObject<{}, "passthrough", z.ZodTypeAny, z.objectOutputType<{}, z.ZodTypeAny, "passthrough">, z.objectInputType<{}, z.ZodTypeAny, "passthrough">>>;
|
|
12561
|
+
required: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
|
|
12562
|
+
}, "passthrough", z.ZodTypeAny, z.objectOutputType<{
|
|
12563
|
+
type: z.ZodLiteral<"object">;
|
|
12564
|
+
properties: z.ZodOptional<z.ZodObject<{}, "passthrough", z.ZodTypeAny, z.objectOutputType<{}, z.ZodTypeAny, "passthrough">, z.objectInputType<{}, z.ZodTypeAny, "passthrough">>>;
|
|
12565
|
+
required: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
|
|
12566
|
+
}, z.ZodTypeAny, "passthrough">, z.objectInputType<{
|
|
12567
|
+
type: z.ZodLiteral<"object">;
|
|
12568
|
+
properties: z.ZodOptional<z.ZodObject<{}, "passthrough", z.ZodTypeAny, z.objectOutputType<{}, z.ZodTypeAny, "passthrough">, z.objectInputType<{}, z.ZodTypeAny, "passthrough">>>;
|
|
12569
|
+
required: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
|
|
12570
|
+
}, z.ZodTypeAny, "passthrough">>>;
|
|
12331
12571
|
/**
|
|
12332
12572
|
* Optional additional tool information.
|
|
12333
12573
|
*/
|
|
@@ -12457,7 +12697,13 @@ export declare const CallToolResultSchema: z.ZodObject<z.objectUtil.extendShape<
|
|
|
12457
12697
|
*/
|
|
12458
12698
|
_meta: z.ZodOptional<z.ZodObject<{}, "passthrough", z.ZodTypeAny, z.objectOutputType<{}, z.ZodTypeAny, "passthrough">, z.objectInputType<{}, z.ZodTypeAny, "passthrough">>>;
|
|
12459
12699
|
}, {
|
|
12460
|
-
|
|
12700
|
+
/**
|
|
12701
|
+
* A list of content objects that represent the result of the tool call.
|
|
12702
|
+
*
|
|
12703
|
+
* If the Tool does not define an outputSchema, this field MUST be present in the result.
|
|
12704
|
+
* For backwards compatibility, this field is always present, but it may be empty.
|
|
12705
|
+
*/
|
|
12706
|
+
content: z.ZodDefault<z.ZodArray<z.ZodUnion<[z.ZodObject<{
|
|
12461
12707
|
type: z.ZodLiteral<"text">;
|
|
12462
12708
|
/**
|
|
12463
12709
|
* The text content of the message.
|
|
@@ -12796,15 +13042,41 @@ export declare const CallToolResultSchema: z.ZodObject<z.objectUtil.extendShape<
|
|
|
12796
13042
|
*/
|
|
12797
13043
|
blob: z.ZodString;
|
|
12798
13044
|
}>, z.ZodTypeAny, "passthrough">>]>;
|
|
12799
|
-
}, z.ZodTypeAny, "passthrough">>]>, "many"
|
|
12800
|
-
|
|
13045
|
+
}, z.ZodTypeAny, "passthrough">>]>, "many">>;
|
|
13046
|
+
/**
|
|
13047
|
+
* An object containing structured tool output.
|
|
13048
|
+
*
|
|
13049
|
+
* If the Tool defines an outputSchema, this field MUST be present in the result, and contain a JSON object that matches the schema.
|
|
13050
|
+
*/
|
|
13051
|
+
structuredContent: z.ZodOptional<z.ZodObject<{}, "passthrough", z.ZodTypeAny, z.objectOutputType<{}, z.ZodTypeAny, "passthrough">, z.objectInputType<{}, z.ZodTypeAny, "passthrough">>>;
|
|
13052
|
+
/**
|
|
13053
|
+
* Whether the tool call ended in an error.
|
|
13054
|
+
*
|
|
13055
|
+
* If not set, this is assumed to be false (the call was successful).
|
|
13056
|
+
*
|
|
13057
|
+
* Any errors that originate from the tool SHOULD be reported inside the result
|
|
13058
|
+
* object, with `isError` set to true, _not_ as an MCP protocol-level error
|
|
13059
|
+
* response. Otherwise, the LLM would not be able to see that an error occurred
|
|
13060
|
+
* and self-correct.
|
|
13061
|
+
*
|
|
13062
|
+
* However, any errors in _finding_ the tool, an error indicating that the
|
|
13063
|
+
* server does not support tool calls, or any other exceptional conditions,
|
|
13064
|
+
* should be reported as an MCP error response.
|
|
13065
|
+
*/
|
|
13066
|
+
isError: z.ZodOptional<z.ZodBoolean>;
|
|
12801
13067
|
}>, "passthrough", z.ZodTypeAny, z.objectOutputType<z.objectUtil.extendShape<{
|
|
12802
13068
|
/**
|
|
12803
13069
|
* This result property is reserved by the protocol to allow clients and servers to attach additional metadata to their responses.
|
|
12804
13070
|
*/
|
|
12805
13071
|
_meta: z.ZodOptional<z.ZodObject<{}, "passthrough", z.ZodTypeAny, z.objectOutputType<{}, z.ZodTypeAny, "passthrough">, z.objectInputType<{}, z.ZodTypeAny, "passthrough">>>;
|
|
12806
13072
|
}, {
|
|
12807
|
-
|
|
13073
|
+
/**
|
|
13074
|
+
* A list of content objects that represent the result of the tool call.
|
|
13075
|
+
*
|
|
13076
|
+
* If the Tool does not define an outputSchema, this field MUST be present in the result.
|
|
13077
|
+
* For backwards compatibility, this field is always present, but it may be empty.
|
|
13078
|
+
*/
|
|
13079
|
+
content: z.ZodDefault<z.ZodArray<z.ZodUnion<[z.ZodObject<{
|
|
12808
13080
|
type: z.ZodLiteral<"text">;
|
|
12809
13081
|
/**
|
|
12810
13082
|
* The text content of the message.
|
|
@@ -13143,15 +13415,41 @@ export declare const CallToolResultSchema: z.ZodObject<z.objectUtil.extendShape<
|
|
|
13143
13415
|
*/
|
|
13144
13416
|
blob: z.ZodString;
|
|
13145
13417
|
}>, z.ZodTypeAny, "passthrough">>]>;
|
|
13146
|
-
}, z.ZodTypeAny, "passthrough">>]>, "many"
|
|
13147
|
-
|
|
13418
|
+
}, z.ZodTypeAny, "passthrough">>]>, "many">>;
|
|
13419
|
+
/**
|
|
13420
|
+
* An object containing structured tool output.
|
|
13421
|
+
*
|
|
13422
|
+
* If the Tool defines an outputSchema, this field MUST be present in the result, and contain a JSON object that matches the schema.
|
|
13423
|
+
*/
|
|
13424
|
+
structuredContent: z.ZodOptional<z.ZodObject<{}, "passthrough", z.ZodTypeAny, z.objectOutputType<{}, z.ZodTypeAny, "passthrough">, z.objectInputType<{}, z.ZodTypeAny, "passthrough">>>;
|
|
13425
|
+
/**
|
|
13426
|
+
* Whether the tool call ended in an error.
|
|
13427
|
+
*
|
|
13428
|
+
* If not set, this is assumed to be false (the call was successful).
|
|
13429
|
+
*
|
|
13430
|
+
* Any errors that originate from the tool SHOULD be reported inside the result
|
|
13431
|
+
* object, with `isError` set to true, _not_ as an MCP protocol-level error
|
|
13432
|
+
* response. Otherwise, the LLM would not be able to see that an error occurred
|
|
13433
|
+
* and self-correct.
|
|
13434
|
+
*
|
|
13435
|
+
* However, any errors in _finding_ the tool, an error indicating that the
|
|
13436
|
+
* server does not support tool calls, or any other exceptional conditions,
|
|
13437
|
+
* should be reported as an MCP error response.
|
|
13438
|
+
*/
|
|
13439
|
+
isError: z.ZodOptional<z.ZodBoolean>;
|
|
13148
13440
|
}>, z.ZodTypeAny, "passthrough">, z.objectInputType<z.objectUtil.extendShape<{
|
|
13149
13441
|
/**
|
|
13150
13442
|
* This result property is reserved by the protocol to allow clients and servers to attach additional metadata to their responses.
|
|
13151
13443
|
*/
|
|
13152
13444
|
_meta: z.ZodOptional<z.ZodObject<{}, "passthrough", z.ZodTypeAny, z.objectOutputType<{}, z.ZodTypeAny, "passthrough">, z.objectInputType<{}, z.ZodTypeAny, "passthrough">>>;
|
|
13153
13445
|
}, {
|
|
13154
|
-
|
|
13446
|
+
/**
|
|
13447
|
+
* A list of content objects that represent the result of the tool call.
|
|
13448
|
+
*
|
|
13449
|
+
* If the Tool does not define an outputSchema, this field MUST be present in the result.
|
|
13450
|
+
* For backwards compatibility, this field is always present, but it may be empty.
|
|
13451
|
+
*/
|
|
13452
|
+
content: z.ZodDefault<z.ZodArray<z.ZodUnion<[z.ZodObject<{
|
|
13155
13453
|
type: z.ZodLiteral<"text">;
|
|
13156
13454
|
/**
|
|
13157
13455
|
* The text content of the message.
|
|
@@ -13490,8 +13788,28 @@ export declare const CallToolResultSchema: z.ZodObject<z.objectUtil.extendShape<
|
|
|
13490
13788
|
*/
|
|
13491
13789
|
blob: z.ZodString;
|
|
13492
13790
|
}>, z.ZodTypeAny, "passthrough">>]>;
|
|
13493
|
-
}, z.ZodTypeAny, "passthrough">>]>, "many"
|
|
13494
|
-
|
|
13791
|
+
}, z.ZodTypeAny, "passthrough">>]>, "many">>;
|
|
13792
|
+
/**
|
|
13793
|
+
* An object containing structured tool output.
|
|
13794
|
+
*
|
|
13795
|
+
* If the Tool defines an outputSchema, this field MUST be present in the result, and contain a JSON object that matches the schema.
|
|
13796
|
+
*/
|
|
13797
|
+
structuredContent: z.ZodOptional<z.ZodObject<{}, "passthrough", z.ZodTypeAny, z.objectOutputType<{}, z.ZodTypeAny, "passthrough">, z.objectInputType<{}, z.ZodTypeAny, "passthrough">>>;
|
|
13798
|
+
/**
|
|
13799
|
+
* Whether the tool call ended in an error.
|
|
13800
|
+
*
|
|
13801
|
+
* If not set, this is assumed to be false (the call was successful).
|
|
13802
|
+
*
|
|
13803
|
+
* Any errors that originate from the tool SHOULD be reported inside the result
|
|
13804
|
+
* object, with `isError` set to true, _not_ as an MCP protocol-level error
|
|
13805
|
+
* response. Otherwise, the LLM would not be able to see that an error occurred
|
|
13806
|
+
* and self-correct.
|
|
13807
|
+
*
|
|
13808
|
+
* However, any errors in _finding_ the tool, an error indicating that the
|
|
13809
|
+
* server does not support tool calls, or any other exceptional conditions,
|
|
13810
|
+
* should be reported as an MCP error response.
|
|
13811
|
+
*/
|
|
13812
|
+
isError: z.ZodOptional<z.ZodBoolean>;
|
|
13495
13813
|
}>, z.ZodTypeAny, "passthrough">>;
|
|
13496
13814
|
/**
|
|
13497
13815
|
* CallToolResultSchema extended with backwards compatibility to protocol version 2024-10-07.
|
|
@@ -13502,7 +13820,13 @@ export declare const CompatibilityCallToolResultSchema: z.ZodUnion<[z.ZodObject<
|
|
|
13502
13820
|
*/
|
|
13503
13821
|
_meta: z.ZodOptional<z.ZodObject<{}, "passthrough", z.ZodTypeAny, z.objectOutputType<{}, z.ZodTypeAny, "passthrough">, z.objectInputType<{}, z.ZodTypeAny, "passthrough">>>;
|
|
13504
13822
|
}, {
|
|
13505
|
-
|
|
13823
|
+
/**
|
|
13824
|
+
* A list of content objects that represent the result of the tool call.
|
|
13825
|
+
*
|
|
13826
|
+
* If the Tool does not define an outputSchema, this field MUST be present in the result.
|
|
13827
|
+
* For backwards compatibility, this field is always present, but it may be empty.
|
|
13828
|
+
*/
|
|
13829
|
+
content: z.ZodDefault<z.ZodArray<z.ZodUnion<[z.ZodObject<{
|
|
13506
13830
|
type: z.ZodLiteral<"text">;
|
|
13507
13831
|
/**
|
|
13508
13832
|
* The text content of the message.
|
|
@@ -13841,15 +14165,41 @@ export declare const CompatibilityCallToolResultSchema: z.ZodUnion<[z.ZodObject<
|
|
|
13841
14165
|
*/
|
|
13842
14166
|
blob: z.ZodString;
|
|
13843
14167
|
}>, z.ZodTypeAny, "passthrough">>]>;
|
|
13844
|
-
}, z.ZodTypeAny, "passthrough">>]>, "many"
|
|
13845
|
-
|
|
14168
|
+
}, z.ZodTypeAny, "passthrough">>]>, "many">>;
|
|
14169
|
+
/**
|
|
14170
|
+
* An object containing structured tool output.
|
|
14171
|
+
*
|
|
14172
|
+
* If the Tool defines an outputSchema, this field MUST be present in the result, and contain a JSON object that matches the schema.
|
|
14173
|
+
*/
|
|
14174
|
+
structuredContent: z.ZodOptional<z.ZodObject<{}, "passthrough", z.ZodTypeAny, z.objectOutputType<{}, z.ZodTypeAny, "passthrough">, z.objectInputType<{}, z.ZodTypeAny, "passthrough">>>;
|
|
14175
|
+
/**
|
|
14176
|
+
* Whether the tool call ended in an error.
|
|
14177
|
+
*
|
|
14178
|
+
* If not set, this is assumed to be false (the call was successful).
|
|
14179
|
+
*
|
|
14180
|
+
* Any errors that originate from the tool SHOULD be reported inside the result
|
|
14181
|
+
* object, with `isError` set to true, _not_ as an MCP protocol-level error
|
|
14182
|
+
* response. Otherwise, the LLM would not be able to see that an error occurred
|
|
14183
|
+
* and self-correct.
|
|
14184
|
+
*
|
|
14185
|
+
* However, any errors in _finding_ the tool, an error indicating that the
|
|
14186
|
+
* server does not support tool calls, or any other exceptional conditions,
|
|
14187
|
+
* should be reported as an MCP error response.
|
|
14188
|
+
*/
|
|
14189
|
+
isError: z.ZodOptional<z.ZodBoolean>;
|
|
13846
14190
|
}>, "passthrough", z.ZodTypeAny, z.objectOutputType<z.objectUtil.extendShape<{
|
|
13847
14191
|
/**
|
|
13848
14192
|
* This result property is reserved by the protocol to allow clients and servers to attach additional metadata to their responses.
|
|
13849
14193
|
*/
|
|
13850
14194
|
_meta: z.ZodOptional<z.ZodObject<{}, "passthrough", z.ZodTypeAny, z.objectOutputType<{}, z.ZodTypeAny, "passthrough">, z.objectInputType<{}, z.ZodTypeAny, "passthrough">>>;
|
|
13851
14195
|
}, {
|
|
13852
|
-
|
|
14196
|
+
/**
|
|
14197
|
+
* A list of content objects that represent the result of the tool call.
|
|
14198
|
+
*
|
|
14199
|
+
* If the Tool does not define an outputSchema, this field MUST be present in the result.
|
|
14200
|
+
* For backwards compatibility, this field is always present, but it may be empty.
|
|
14201
|
+
*/
|
|
14202
|
+
content: z.ZodDefault<z.ZodArray<z.ZodUnion<[z.ZodObject<{
|
|
13853
14203
|
type: z.ZodLiteral<"text">;
|
|
13854
14204
|
/**
|
|
13855
14205
|
* The text content of the message.
|
|
@@ -14188,15 +14538,41 @@ export declare const CompatibilityCallToolResultSchema: z.ZodUnion<[z.ZodObject<
|
|
|
14188
14538
|
*/
|
|
14189
14539
|
blob: z.ZodString;
|
|
14190
14540
|
}>, z.ZodTypeAny, "passthrough">>]>;
|
|
14191
|
-
}, z.ZodTypeAny, "passthrough">>]>, "many"
|
|
14192
|
-
|
|
14541
|
+
}, z.ZodTypeAny, "passthrough">>]>, "many">>;
|
|
14542
|
+
/**
|
|
14543
|
+
* An object containing structured tool output.
|
|
14544
|
+
*
|
|
14545
|
+
* If the Tool defines an outputSchema, this field MUST be present in the result, and contain a JSON object that matches the schema.
|
|
14546
|
+
*/
|
|
14547
|
+
structuredContent: z.ZodOptional<z.ZodObject<{}, "passthrough", z.ZodTypeAny, z.objectOutputType<{}, z.ZodTypeAny, "passthrough">, z.objectInputType<{}, z.ZodTypeAny, "passthrough">>>;
|
|
14548
|
+
/**
|
|
14549
|
+
* Whether the tool call ended in an error.
|
|
14550
|
+
*
|
|
14551
|
+
* If not set, this is assumed to be false (the call was successful).
|
|
14552
|
+
*
|
|
14553
|
+
* Any errors that originate from the tool SHOULD be reported inside the result
|
|
14554
|
+
* object, with `isError` set to true, _not_ as an MCP protocol-level error
|
|
14555
|
+
* response. Otherwise, the LLM would not be able to see that an error occurred
|
|
14556
|
+
* and self-correct.
|
|
14557
|
+
*
|
|
14558
|
+
* However, any errors in _finding_ the tool, an error indicating that the
|
|
14559
|
+
* server does not support tool calls, or any other exceptional conditions,
|
|
14560
|
+
* should be reported as an MCP error response.
|
|
14561
|
+
*/
|
|
14562
|
+
isError: z.ZodOptional<z.ZodBoolean>;
|
|
14193
14563
|
}>, z.ZodTypeAny, "passthrough">, z.objectInputType<z.objectUtil.extendShape<{
|
|
14194
14564
|
/**
|
|
14195
14565
|
* This result property is reserved by the protocol to allow clients and servers to attach additional metadata to their responses.
|
|
14196
14566
|
*/
|
|
14197
14567
|
_meta: z.ZodOptional<z.ZodObject<{}, "passthrough", z.ZodTypeAny, z.objectOutputType<{}, z.ZodTypeAny, "passthrough">, z.objectInputType<{}, z.ZodTypeAny, "passthrough">>>;
|
|
14198
14568
|
}, {
|
|
14199
|
-
|
|
14569
|
+
/**
|
|
14570
|
+
* A list of content objects that represent the result of the tool call.
|
|
14571
|
+
*
|
|
14572
|
+
* If the Tool does not define an outputSchema, this field MUST be present in the result.
|
|
14573
|
+
* For backwards compatibility, this field is always present, but it may be empty.
|
|
14574
|
+
*/
|
|
14575
|
+
content: z.ZodDefault<z.ZodArray<z.ZodUnion<[z.ZodObject<{
|
|
14200
14576
|
type: z.ZodLiteral<"text">;
|
|
14201
14577
|
/**
|
|
14202
14578
|
* The text content of the message.
|
|
@@ -14535,8 +14911,28 @@ export declare const CompatibilityCallToolResultSchema: z.ZodUnion<[z.ZodObject<
|
|
|
14535
14911
|
*/
|
|
14536
14912
|
blob: z.ZodString;
|
|
14537
14913
|
}>, z.ZodTypeAny, "passthrough">>]>;
|
|
14538
|
-
}, z.ZodTypeAny, "passthrough">>]>, "many"
|
|
14539
|
-
|
|
14914
|
+
}, z.ZodTypeAny, "passthrough">>]>, "many">>;
|
|
14915
|
+
/**
|
|
14916
|
+
* An object containing structured tool output.
|
|
14917
|
+
*
|
|
14918
|
+
* If the Tool defines an outputSchema, this field MUST be present in the result, and contain a JSON object that matches the schema.
|
|
14919
|
+
*/
|
|
14920
|
+
structuredContent: z.ZodOptional<z.ZodObject<{}, "passthrough", z.ZodTypeAny, z.objectOutputType<{}, z.ZodTypeAny, "passthrough">, z.objectInputType<{}, z.ZodTypeAny, "passthrough">>>;
|
|
14921
|
+
/**
|
|
14922
|
+
* Whether the tool call ended in an error.
|
|
14923
|
+
*
|
|
14924
|
+
* If not set, this is assumed to be false (the call was successful).
|
|
14925
|
+
*
|
|
14926
|
+
* Any errors that originate from the tool SHOULD be reported inside the result
|
|
14927
|
+
* object, with `isError` set to true, _not_ as an MCP protocol-level error
|
|
14928
|
+
* response. Otherwise, the LLM would not be able to see that an error occurred
|
|
14929
|
+
* and self-correct.
|
|
14930
|
+
*
|
|
14931
|
+
* However, any errors in _finding_ the tool, an error indicating that the
|
|
14932
|
+
* server does not support tool calls, or any other exceptional conditions,
|
|
14933
|
+
* should be reported as an MCP error response.
|
|
14934
|
+
*/
|
|
14935
|
+
isError: z.ZodOptional<z.ZodBoolean>;
|
|
14540
14936
|
}>, z.ZodTypeAny, "passthrough">>, z.ZodObject<z.objectUtil.extendShape<{
|
|
14541
14937
|
/**
|
|
14542
14938
|
* This result property is reserved by the protocol to allow clients and servers to attach additional metadata to their responses.
|
|
@@ -28614,7 +29010,13 @@ export declare const ServerResultSchema: z.ZodUnion<[z.ZodObject<{
|
|
|
28614
29010
|
*/
|
|
28615
29011
|
_meta: z.ZodOptional<z.ZodObject<{}, "passthrough", z.ZodTypeAny, z.objectOutputType<{}, z.ZodTypeAny, "passthrough">, z.objectInputType<{}, z.ZodTypeAny, "passthrough">>>;
|
|
28616
29012
|
}, {
|
|
28617
|
-
|
|
29013
|
+
/**
|
|
29014
|
+
* A list of content objects that represent the result of the tool call.
|
|
29015
|
+
*
|
|
29016
|
+
* If the Tool does not define an outputSchema, this field MUST be present in the result.
|
|
29017
|
+
* For backwards compatibility, this field is always present, but it may be empty.
|
|
29018
|
+
*/
|
|
29019
|
+
content: z.ZodDefault<z.ZodArray<z.ZodUnion<[z.ZodObject<{
|
|
28618
29020
|
type: z.ZodLiteral<"text">;
|
|
28619
29021
|
/**
|
|
28620
29022
|
* The text content of the message.
|
|
@@ -28953,15 +29355,41 @@ export declare const ServerResultSchema: z.ZodUnion<[z.ZodObject<{
|
|
|
28953
29355
|
*/
|
|
28954
29356
|
blob: z.ZodString;
|
|
28955
29357
|
}>, z.ZodTypeAny, "passthrough">>]>;
|
|
28956
|
-
}, z.ZodTypeAny, "passthrough">>]>, "many"
|
|
28957
|
-
|
|
29358
|
+
}, z.ZodTypeAny, "passthrough">>]>, "many">>;
|
|
29359
|
+
/**
|
|
29360
|
+
* An object containing structured tool output.
|
|
29361
|
+
*
|
|
29362
|
+
* If the Tool defines an outputSchema, this field MUST be present in the result, and contain a JSON object that matches the schema.
|
|
29363
|
+
*/
|
|
29364
|
+
structuredContent: z.ZodOptional<z.ZodObject<{}, "passthrough", z.ZodTypeAny, z.objectOutputType<{}, z.ZodTypeAny, "passthrough">, z.objectInputType<{}, z.ZodTypeAny, "passthrough">>>;
|
|
29365
|
+
/**
|
|
29366
|
+
* Whether the tool call ended in an error.
|
|
29367
|
+
*
|
|
29368
|
+
* If not set, this is assumed to be false (the call was successful).
|
|
29369
|
+
*
|
|
29370
|
+
* Any errors that originate from the tool SHOULD be reported inside the result
|
|
29371
|
+
* object, with `isError` set to true, _not_ as an MCP protocol-level error
|
|
29372
|
+
* response. Otherwise, the LLM would not be able to see that an error occurred
|
|
29373
|
+
* and self-correct.
|
|
29374
|
+
*
|
|
29375
|
+
* However, any errors in _finding_ the tool, an error indicating that the
|
|
29376
|
+
* server does not support tool calls, or any other exceptional conditions,
|
|
29377
|
+
* should be reported as an MCP error response.
|
|
29378
|
+
*/
|
|
29379
|
+
isError: z.ZodOptional<z.ZodBoolean>;
|
|
28958
29380
|
}>, "passthrough", z.ZodTypeAny, z.objectOutputType<z.objectUtil.extendShape<{
|
|
28959
29381
|
/**
|
|
28960
29382
|
* This result property is reserved by the protocol to allow clients and servers to attach additional metadata to their responses.
|
|
28961
29383
|
*/
|
|
28962
29384
|
_meta: z.ZodOptional<z.ZodObject<{}, "passthrough", z.ZodTypeAny, z.objectOutputType<{}, z.ZodTypeAny, "passthrough">, z.objectInputType<{}, z.ZodTypeAny, "passthrough">>>;
|
|
28963
29385
|
}, {
|
|
28964
|
-
|
|
29386
|
+
/**
|
|
29387
|
+
* A list of content objects that represent the result of the tool call.
|
|
29388
|
+
*
|
|
29389
|
+
* If the Tool does not define an outputSchema, this field MUST be present in the result.
|
|
29390
|
+
* For backwards compatibility, this field is always present, but it may be empty.
|
|
29391
|
+
*/
|
|
29392
|
+
content: z.ZodDefault<z.ZodArray<z.ZodUnion<[z.ZodObject<{
|
|
28965
29393
|
type: z.ZodLiteral<"text">;
|
|
28966
29394
|
/**
|
|
28967
29395
|
* The text content of the message.
|
|
@@ -29300,15 +29728,41 @@ export declare const ServerResultSchema: z.ZodUnion<[z.ZodObject<{
|
|
|
29300
29728
|
*/
|
|
29301
29729
|
blob: z.ZodString;
|
|
29302
29730
|
}>, z.ZodTypeAny, "passthrough">>]>;
|
|
29303
|
-
}, z.ZodTypeAny, "passthrough">>]>, "many"
|
|
29304
|
-
|
|
29731
|
+
}, z.ZodTypeAny, "passthrough">>]>, "many">>;
|
|
29732
|
+
/**
|
|
29733
|
+
* An object containing structured tool output.
|
|
29734
|
+
*
|
|
29735
|
+
* If the Tool defines an outputSchema, this field MUST be present in the result, and contain a JSON object that matches the schema.
|
|
29736
|
+
*/
|
|
29737
|
+
structuredContent: z.ZodOptional<z.ZodObject<{}, "passthrough", z.ZodTypeAny, z.objectOutputType<{}, z.ZodTypeAny, "passthrough">, z.objectInputType<{}, z.ZodTypeAny, "passthrough">>>;
|
|
29738
|
+
/**
|
|
29739
|
+
* Whether the tool call ended in an error.
|
|
29740
|
+
*
|
|
29741
|
+
* If not set, this is assumed to be false (the call was successful).
|
|
29742
|
+
*
|
|
29743
|
+
* Any errors that originate from the tool SHOULD be reported inside the result
|
|
29744
|
+
* object, with `isError` set to true, _not_ as an MCP protocol-level error
|
|
29745
|
+
* response. Otherwise, the LLM would not be able to see that an error occurred
|
|
29746
|
+
* and self-correct.
|
|
29747
|
+
*
|
|
29748
|
+
* However, any errors in _finding_ the tool, an error indicating that the
|
|
29749
|
+
* server does not support tool calls, or any other exceptional conditions,
|
|
29750
|
+
* should be reported as an MCP error response.
|
|
29751
|
+
*/
|
|
29752
|
+
isError: z.ZodOptional<z.ZodBoolean>;
|
|
29305
29753
|
}>, z.ZodTypeAny, "passthrough">, z.objectInputType<z.objectUtil.extendShape<{
|
|
29306
29754
|
/**
|
|
29307
29755
|
* This result property is reserved by the protocol to allow clients and servers to attach additional metadata to their responses.
|
|
29308
29756
|
*/
|
|
29309
29757
|
_meta: z.ZodOptional<z.ZodObject<{}, "passthrough", z.ZodTypeAny, z.objectOutputType<{}, z.ZodTypeAny, "passthrough">, z.objectInputType<{}, z.ZodTypeAny, "passthrough">>>;
|
|
29310
29758
|
}, {
|
|
29311
|
-
|
|
29759
|
+
/**
|
|
29760
|
+
* A list of content objects that represent the result of the tool call.
|
|
29761
|
+
*
|
|
29762
|
+
* If the Tool does not define an outputSchema, this field MUST be present in the result.
|
|
29763
|
+
* For backwards compatibility, this field is always present, but it may be empty.
|
|
29764
|
+
*/
|
|
29765
|
+
content: z.ZodDefault<z.ZodArray<z.ZodUnion<[z.ZodObject<{
|
|
29312
29766
|
type: z.ZodLiteral<"text">;
|
|
29313
29767
|
/**
|
|
29314
29768
|
* The text content of the message.
|
|
@@ -29647,8 +30101,28 @@ export declare const ServerResultSchema: z.ZodUnion<[z.ZodObject<{
|
|
|
29647
30101
|
*/
|
|
29648
30102
|
blob: z.ZodString;
|
|
29649
30103
|
}>, z.ZodTypeAny, "passthrough">>]>;
|
|
29650
|
-
}, z.ZodTypeAny, "passthrough">>]>, "many"
|
|
29651
|
-
|
|
30104
|
+
}, z.ZodTypeAny, "passthrough">>]>, "many">>;
|
|
30105
|
+
/**
|
|
30106
|
+
* An object containing structured tool output.
|
|
30107
|
+
*
|
|
30108
|
+
* If the Tool defines an outputSchema, this field MUST be present in the result, and contain a JSON object that matches the schema.
|
|
30109
|
+
*/
|
|
30110
|
+
structuredContent: z.ZodOptional<z.ZodObject<{}, "passthrough", z.ZodTypeAny, z.objectOutputType<{}, z.ZodTypeAny, "passthrough">, z.objectInputType<{}, z.ZodTypeAny, "passthrough">>>;
|
|
30111
|
+
/**
|
|
30112
|
+
* Whether the tool call ended in an error.
|
|
30113
|
+
*
|
|
30114
|
+
* If not set, this is assumed to be false (the call was successful).
|
|
30115
|
+
*
|
|
30116
|
+
* Any errors that originate from the tool SHOULD be reported inside the result
|
|
30117
|
+
* object, with `isError` set to true, _not_ as an MCP protocol-level error
|
|
30118
|
+
* response. Otherwise, the LLM would not be able to see that an error occurred
|
|
30119
|
+
* and self-correct.
|
|
30120
|
+
*
|
|
30121
|
+
* However, any errors in _finding_ the tool, an error indicating that the
|
|
30122
|
+
* server does not support tool calls, or any other exceptional conditions,
|
|
30123
|
+
* should be reported as an MCP error response.
|
|
30124
|
+
*/
|
|
30125
|
+
isError: z.ZodOptional<z.ZodBoolean>;
|
|
29652
30126
|
}>, z.ZodTypeAny, "passthrough">>, z.ZodObject<z.objectUtil.extendShape<z.objectUtil.extendShape<{
|
|
29653
30127
|
/**
|
|
29654
30128
|
* This result property is reserved by the protocol to allow clients and servers to attach additional metadata to their responses.
|
|
@@ -29676,13 +30150,33 @@ export declare const ServerResultSchema: z.ZodUnion<[z.ZodObject<{
|
|
|
29676
30150
|
inputSchema: z.ZodObject<{
|
|
29677
30151
|
type: z.ZodLiteral<"object">;
|
|
29678
30152
|
properties: z.ZodOptional<z.ZodObject<{}, "passthrough", z.ZodTypeAny, z.objectOutputType<{}, z.ZodTypeAny, "passthrough">, z.objectInputType<{}, z.ZodTypeAny, "passthrough">>>;
|
|
30153
|
+
required: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
|
|
29679
30154
|
}, "passthrough", z.ZodTypeAny, z.objectOutputType<{
|
|
29680
30155
|
type: z.ZodLiteral<"object">;
|
|
29681
30156
|
properties: z.ZodOptional<z.ZodObject<{}, "passthrough", z.ZodTypeAny, z.objectOutputType<{}, z.ZodTypeAny, "passthrough">, z.objectInputType<{}, z.ZodTypeAny, "passthrough">>>;
|
|
30157
|
+
required: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
|
|
29682
30158
|
}, z.ZodTypeAny, "passthrough">, z.objectInputType<{
|
|
29683
30159
|
type: z.ZodLiteral<"object">;
|
|
29684
30160
|
properties: z.ZodOptional<z.ZodObject<{}, "passthrough", z.ZodTypeAny, z.objectOutputType<{}, z.ZodTypeAny, "passthrough">, z.objectInputType<{}, z.ZodTypeAny, "passthrough">>>;
|
|
30161
|
+
required: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
|
|
29685
30162
|
}, z.ZodTypeAny, "passthrough">>;
|
|
30163
|
+
/**
|
|
30164
|
+
* An optional JSON Schema object defining the structure of the tool's output returned in
|
|
30165
|
+
* the structuredContent field of a CallToolResult.
|
|
30166
|
+
*/
|
|
30167
|
+
outputSchema: z.ZodOptional<z.ZodObject<{
|
|
30168
|
+
type: z.ZodLiteral<"object">;
|
|
30169
|
+
properties: z.ZodOptional<z.ZodObject<{}, "passthrough", z.ZodTypeAny, z.objectOutputType<{}, z.ZodTypeAny, "passthrough">, z.objectInputType<{}, z.ZodTypeAny, "passthrough">>>;
|
|
30170
|
+
required: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
|
|
30171
|
+
}, "passthrough", z.ZodTypeAny, z.objectOutputType<{
|
|
30172
|
+
type: z.ZodLiteral<"object">;
|
|
30173
|
+
properties: z.ZodOptional<z.ZodObject<{}, "passthrough", z.ZodTypeAny, z.objectOutputType<{}, z.ZodTypeAny, "passthrough">, z.objectInputType<{}, z.ZodTypeAny, "passthrough">>>;
|
|
30174
|
+
required: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
|
|
30175
|
+
}, z.ZodTypeAny, "passthrough">, z.objectInputType<{
|
|
30176
|
+
type: z.ZodLiteral<"object">;
|
|
30177
|
+
properties: z.ZodOptional<z.ZodObject<{}, "passthrough", z.ZodTypeAny, z.objectOutputType<{}, z.ZodTypeAny, "passthrough">, z.objectInputType<{}, z.ZodTypeAny, "passthrough">>>;
|
|
30178
|
+
required: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
|
|
30179
|
+
}, z.ZodTypeAny, "passthrough">>>;
|
|
29686
30180
|
/**
|
|
29687
30181
|
* Optional additional tool information.
|
|
29688
30182
|
*/
|
|
@@ -29816,13 +30310,33 @@ export declare const ServerResultSchema: z.ZodUnion<[z.ZodObject<{
|
|
|
29816
30310
|
inputSchema: z.ZodObject<{
|
|
29817
30311
|
type: z.ZodLiteral<"object">;
|
|
29818
30312
|
properties: z.ZodOptional<z.ZodObject<{}, "passthrough", z.ZodTypeAny, z.objectOutputType<{}, z.ZodTypeAny, "passthrough">, z.objectInputType<{}, z.ZodTypeAny, "passthrough">>>;
|
|
30313
|
+
required: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
|
|
29819
30314
|
}, "passthrough", z.ZodTypeAny, z.objectOutputType<{
|
|
29820
30315
|
type: z.ZodLiteral<"object">;
|
|
29821
30316
|
properties: z.ZodOptional<z.ZodObject<{}, "passthrough", z.ZodTypeAny, z.objectOutputType<{}, z.ZodTypeAny, "passthrough">, z.objectInputType<{}, z.ZodTypeAny, "passthrough">>>;
|
|
30317
|
+
required: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
|
|
29822
30318
|
}, z.ZodTypeAny, "passthrough">, z.objectInputType<{
|
|
29823
30319
|
type: z.ZodLiteral<"object">;
|
|
29824
30320
|
properties: z.ZodOptional<z.ZodObject<{}, "passthrough", z.ZodTypeAny, z.objectOutputType<{}, z.ZodTypeAny, "passthrough">, z.objectInputType<{}, z.ZodTypeAny, "passthrough">>>;
|
|
30321
|
+
required: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
|
|
29825
30322
|
}, z.ZodTypeAny, "passthrough">>;
|
|
30323
|
+
/**
|
|
30324
|
+
* An optional JSON Schema object defining the structure of the tool's output returned in
|
|
30325
|
+
* the structuredContent field of a CallToolResult.
|
|
30326
|
+
*/
|
|
30327
|
+
outputSchema: z.ZodOptional<z.ZodObject<{
|
|
30328
|
+
type: z.ZodLiteral<"object">;
|
|
30329
|
+
properties: z.ZodOptional<z.ZodObject<{}, "passthrough", z.ZodTypeAny, z.objectOutputType<{}, z.ZodTypeAny, "passthrough">, z.objectInputType<{}, z.ZodTypeAny, "passthrough">>>;
|
|
30330
|
+
required: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
|
|
30331
|
+
}, "passthrough", z.ZodTypeAny, z.objectOutputType<{
|
|
30332
|
+
type: z.ZodLiteral<"object">;
|
|
30333
|
+
properties: z.ZodOptional<z.ZodObject<{}, "passthrough", z.ZodTypeAny, z.objectOutputType<{}, z.ZodTypeAny, "passthrough">, z.objectInputType<{}, z.ZodTypeAny, "passthrough">>>;
|
|
30334
|
+
required: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
|
|
30335
|
+
}, z.ZodTypeAny, "passthrough">, z.objectInputType<{
|
|
30336
|
+
type: z.ZodLiteral<"object">;
|
|
30337
|
+
properties: z.ZodOptional<z.ZodObject<{}, "passthrough", z.ZodTypeAny, z.objectOutputType<{}, z.ZodTypeAny, "passthrough">, z.objectInputType<{}, z.ZodTypeAny, "passthrough">>>;
|
|
30338
|
+
required: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
|
|
30339
|
+
}, z.ZodTypeAny, "passthrough">>>;
|
|
29826
30340
|
/**
|
|
29827
30341
|
* Optional additional tool information.
|
|
29828
30342
|
*/
|
|
@@ -29956,13 +30470,33 @@ export declare const ServerResultSchema: z.ZodUnion<[z.ZodObject<{
|
|
|
29956
30470
|
inputSchema: z.ZodObject<{
|
|
29957
30471
|
type: z.ZodLiteral<"object">;
|
|
29958
30472
|
properties: z.ZodOptional<z.ZodObject<{}, "passthrough", z.ZodTypeAny, z.objectOutputType<{}, z.ZodTypeAny, "passthrough">, z.objectInputType<{}, z.ZodTypeAny, "passthrough">>>;
|
|
30473
|
+
required: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
|
|
29959
30474
|
}, "passthrough", z.ZodTypeAny, z.objectOutputType<{
|
|
29960
30475
|
type: z.ZodLiteral<"object">;
|
|
29961
30476
|
properties: z.ZodOptional<z.ZodObject<{}, "passthrough", z.ZodTypeAny, z.objectOutputType<{}, z.ZodTypeAny, "passthrough">, z.objectInputType<{}, z.ZodTypeAny, "passthrough">>>;
|
|
30477
|
+
required: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
|
|
29962
30478
|
}, z.ZodTypeAny, "passthrough">, z.objectInputType<{
|
|
29963
30479
|
type: z.ZodLiteral<"object">;
|
|
29964
30480
|
properties: z.ZodOptional<z.ZodObject<{}, "passthrough", z.ZodTypeAny, z.objectOutputType<{}, z.ZodTypeAny, "passthrough">, z.objectInputType<{}, z.ZodTypeAny, "passthrough">>>;
|
|
30481
|
+
required: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
|
|
29965
30482
|
}, z.ZodTypeAny, "passthrough">>;
|
|
30483
|
+
/**
|
|
30484
|
+
* An optional JSON Schema object defining the structure of the tool's output returned in
|
|
30485
|
+
* the structuredContent field of a CallToolResult.
|
|
30486
|
+
*/
|
|
30487
|
+
outputSchema: z.ZodOptional<z.ZodObject<{
|
|
30488
|
+
type: z.ZodLiteral<"object">;
|
|
30489
|
+
properties: z.ZodOptional<z.ZodObject<{}, "passthrough", z.ZodTypeAny, z.objectOutputType<{}, z.ZodTypeAny, "passthrough">, z.objectInputType<{}, z.ZodTypeAny, "passthrough">>>;
|
|
30490
|
+
required: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
|
|
30491
|
+
}, "passthrough", z.ZodTypeAny, z.objectOutputType<{
|
|
30492
|
+
type: z.ZodLiteral<"object">;
|
|
30493
|
+
properties: z.ZodOptional<z.ZodObject<{}, "passthrough", z.ZodTypeAny, z.objectOutputType<{}, z.ZodTypeAny, "passthrough">, z.objectInputType<{}, z.ZodTypeAny, "passthrough">>>;
|
|
30494
|
+
required: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
|
|
30495
|
+
}, z.ZodTypeAny, "passthrough">, z.objectInputType<{
|
|
30496
|
+
type: z.ZodLiteral<"object">;
|
|
30497
|
+
properties: z.ZodOptional<z.ZodObject<{}, "passthrough", z.ZodTypeAny, z.objectOutputType<{}, z.ZodTypeAny, "passthrough">, z.objectInputType<{}, z.ZodTypeAny, "passthrough">>>;
|
|
30498
|
+
required: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
|
|
30499
|
+
}, z.ZodTypeAny, "passthrough">>>;
|
|
29966
30500
|
/**
|
|
29967
30501
|
* Optional additional tool information.
|
|
29968
30502
|
*/
|
|
@@ -30109,13 +30643,33 @@ export declare const ServerResultSchema: z.ZodUnion<[z.ZodObject<{
|
|
|
30109
30643
|
inputSchema: z.ZodObject<{
|
|
30110
30644
|
type: z.ZodLiteral<"object">;
|
|
30111
30645
|
properties: z.ZodOptional<z.ZodObject<{}, "passthrough", z.ZodTypeAny, z.objectOutputType<{}, z.ZodTypeAny, "passthrough">, z.objectInputType<{}, z.ZodTypeAny, "passthrough">>>;
|
|
30646
|
+
required: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
|
|
30112
30647
|
}, "passthrough", z.ZodTypeAny, z.objectOutputType<{
|
|
30113
30648
|
type: z.ZodLiteral<"object">;
|
|
30114
30649
|
properties: z.ZodOptional<z.ZodObject<{}, "passthrough", z.ZodTypeAny, z.objectOutputType<{}, z.ZodTypeAny, "passthrough">, z.objectInputType<{}, z.ZodTypeAny, "passthrough">>>;
|
|
30650
|
+
required: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
|
|
30115
30651
|
}, z.ZodTypeAny, "passthrough">, z.objectInputType<{
|
|
30116
30652
|
type: z.ZodLiteral<"object">;
|
|
30117
30653
|
properties: z.ZodOptional<z.ZodObject<{}, "passthrough", z.ZodTypeAny, z.objectOutputType<{}, z.ZodTypeAny, "passthrough">, z.objectInputType<{}, z.ZodTypeAny, "passthrough">>>;
|
|
30654
|
+
required: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
|
|
30118
30655
|
}, z.ZodTypeAny, "passthrough">>;
|
|
30656
|
+
/**
|
|
30657
|
+
* An optional JSON Schema object defining the structure of the tool's output returned in
|
|
30658
|
+
* the structuredContent field of a CallToolResult.
|
|
30659
|
+
*/
|
|
30660
|
+
outputSchema: z.ZodOptional<z.ZodObject<{
|
|
30661
|
+
type: z.ZodLiteral<"object">;
|
|
30662
|
+
properties: z.ZodOptional<z.ZodObject<{}, "passthrough", z.ZodTypeAny, z.objectOutputType<{}, z.ZodTypeAny, "passthrough">, z.objectInputType<{}, z.ZodTypeAny, "passthrough">>>;
|
|
30663
|
+
required: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
|
|
30664
|
+
}, "passthrough", z.ZodTypeAny, z.objectOutputType<{
|
|
30665
|
+
type: z.ZodLiteral<"object">;
|
|
30666
|
+
properties: z.ZodOptional<z.ZodObject<{}, "passthrough", z.ZodTypeAny, z.objectOutputType<{}, z.ZodTypeAny, "passthrough">, z.objectInputType<{}, z.ZodTypeAny, "passthrough">>>;
|
|
30667
|
+
required: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
|
|
30668
|
+
}, z.ZodTypeAny, "passthrough">, z.objectInputType<{
|
|
30669
|
+
type: z.ZodLiteral<"object">;
|
|
30670
|
+
properties: z.ZodOptional<z.ZodObject<{}, "passthrough", z.ZodTypeAny, z.objectOutputType<{}, z.ZodTypeAny, "passthrough">, z.objectInputType<{}, z.ZodTypeAny, "passthrough">>>;
|
|
30671
|
+
required: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
|
|
30672
|
+
}, z.ZodTypeAny, "passthrough">>>;
|
|
30119
30673
|
/**
|
|
30120
30674
|
* Optional additional tool information.
|
|
30121
30675
|
*/
|
|
@@ -30249,13 +30803,33 @@ export declare const ServerResultSchema: z.ZodUnion<[z.ZodObject<{
|
|
|
30249
30803
|
inputSchema: z.ZodObject<{
|
|
30250
30804
|
type: z.ZodLiteral<"object">;
|
|
30251
30805
|
properties: z.ZodOptional<z.ZodObject<{}, "passthrough", z.ZodTypeAny, z.objectOutputType<{}, z.ZodTypeAny, "passthrough">, z.objectInputType<{}, z.ZodTypeAny, "passthrough">>>;
|
|
30806
|
+
required: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
|
|
30252
30807
|
}, "passthrough", z.ZodTypeAny, z.objectOutputType<{
|
|
30253
30808
|
type: z.ZodLiteral<"object">;
|
|
30254
30809
|
properties: z.ZodOptional<z.ZodObject<{}, "passthrough", z.ZodTypeAny, z.objectOutputType<{}, z.ZodTypeAny, "passthrough">, z.objectInputType<{}, z.ZodTypeAny, "passthrough">>>;
|
|
30810
|
+
required: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
|
|
30255
30811
|
}, z.ZodTypeAny, "passthrough">, z.objectInputType<{
|
|
30256
30812
|
type: z.ZodLiteral<"object">;
|
|
30257
30813
|
properties: z.ZodOptional<z.ZodObject<{}, "passthrough", z.ZodTypeAny, z.objectOutputType<{}, z.ZodTypeAny, "passthrough">, z.objectInputType<{}, z.ZodTypeAny, "passthrough">>>;
|
|
30814
|
+
required: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
|
|
30258
30815
|
}, z.ZodTypeAny, "passthrough">>;
|
|
30816
|
+
/**
|
|
30817
|
+
* An optional JSON Schema object defining the structure of the tool's output returned in
|
|
30818
|
+
* the structuredContent field of a CallToolResult.
|
|
30819
|
+
*/
|
|
30820
|
+
outputSchema: z.ZodOptional<z.ZodObject<{
|
|
30821
|
+
type: z.ZodLiteral<"object">;
|
|
30822
|
+
properties: z.ZodOptional<z.ZodObject<{}, "passthrough", z.ZodTypeAny, z.objectOutputType<{}, z.ZodTypeAny, "passthrough">, z.objectInputType<{}, z.ZodTypeAny, "passthrough">>>;
|
|
30823
|
+
required: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
|
|
30824
|
+
}, "passthrough", z.ZodTypeAny, z.objectOutputType<{
|
|
30825
|
+
type: z.ZodLiteral<"object">;
|
|
30826
|
+
properties: z.ZodOptional<z.ZodObject<{}, "passthrough", z.ZodTypeAny, z.objectOutputType<{}, z.ZodTypeAny, "passthrough">, z.objectInputType<{}, z.ZodTypeAny, "passthrough">>>;
|
|
30827
|
+
required: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
|
|
30828
|
+
}, z.ZodTypeAny, "passthrough">, z.objectInputType<{
|
|
30829
|
+
type: z.ZodLiteral<"object">;
|
|
30830
|
+
properties: z.ZodOptional<z.ZodObject<{}, "passthrough", z.ZodTypeAny, z.objectOutputType<{}, z.ZodTypeAny, "passthrough">, z.objectInputType<{}, z.ZodTypeAny, "passthrough">>>;
|
|
30831
|
+
required: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
|
|
30832
|
+
}, z.ZodTypeAny, "passthrough">>>;
|
|
30259
30833
|
/**
|
|
30260
30834
|
* Optional additional tool information.
|
|
30261
30835
|
*/
|
|
@@ -30389,13 +30963,33 @@ export declare const ServerResultSchema: z.ZodUnion<[z.ZodObject<{
|
|
|
30389
30963
|
inputSchema: z.ZodObject<{
|
|
30390
30964
|
type: z.ZodLiteral<"object">;
|
|
30391
30965
|
properties: z.ZodOptional<z.ZodObject<{}, "passthrough", z.ZodTypeAny, z.objectOutputType<{}, z.ZodTypeAny, "passthrough">, z.objectInputType<{}, z.ZodTypeAny, "passthrough">>>;
|
|
30966
|
+
required: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
|
|
30392
30967
|
}, "passthrough", z.ZodTypeAny, z.objectOutputType<{
|
|
30393
30968
|
type: z.ZodLiteral<"object">;
|
|
30394
30969
|
properties: z.ZodOptional<z.ZodObject<{}, "passthrough", z.ZodTypeAny, z.objectOutputType<{}, z.ZodTypeAny, "passthrough">, z.objectInputType<{}, z.ZodTypeAny, "passthrough">>>;
|
|
30970
|
+
required: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
|
|
30395
30971
|
}, z.ZodTypeAny, "passthrough">, z.objectInputType<{
|
|
30396
30972
|
type: z.ZodLiteral<"object">;
|
|
30397
30973
|
properties: z.ZodOptional<z.ZodObject<{}, "passthrough", z.ZodTypeAny, z.objectOutputType<{}, z.ZodTypeAny, "passthrough">, z.objectInputType<{}, z.ZodTypeAny, "passthrough">>>;
|
|
30974
|
+
required: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
|
|
30398
30975
|
}, z.ZodTypeAny, "passthrough">>;
|
|
30976
|
+
/**
|
|
30977
|
+
* An optional JSON Schema object defining the structure of the tool's output returned in
|
|
30978
|
+
* the structuredContent field of a CallToolResult.
|
|
30979
|
+
*/
|
|
30980
|
+
outputSchema: z.ZodOptional<z.ZodObject<{
|
|
30981
|
+
type: z.ZodLiteral<"object">;
|
|
30982
|
+
properties: z.ZodOptional<z.ZodObject<{}, "passthrough", z.ZodTypeAny, z.objectOutputType<{}, z.ZodTypeAny, "passthrough">, z.objectInputType<{}, z.ZodTypeAny, "passthrough">>>;
|
|
30983
|
+
required: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
|
|
30984
|
+
}, "passthrough", z.ZodTypeAny, z.objectOutputType<{
|
|
30985
|
+
type: z.ZodLiteral<"object">;
|
|
30986
|
+
properties: z.ZodOptional<z.ZodObject<{}, "passthrough", z.ZodTypeAny, z.objectOutputType<{}, z.ZodTypeAny, "passthrough">, z.objectInputType<{}, z.ZodTypeAny, "passthrough">>>;
|
|
30987
|
+
required: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
|
|
30988
|
+
}, z.ZodTypeAny, "passthrough">, z.objectInputType<{
|
|
30989
|
+
type: z.ZodLiteral<"object">;
|
|
30990
|
+
properties: z.ZodOptional<z.ZodObject<{}, "passthrough", z.ZodTypeAny, z.objectOutputType<{}, z.ZodTypeAny, "passthrough">, z.objectInputType<{}, z.ZodTypeAny, "passthrough">>>;
|
|
30991
|
+
required: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
|
|
30992
|
+
}, z.ZodTypeAny, "passthrough">>>;
|
|
30399
30993
|
/**
|
|
30400
30994
|
* Optional additional tool information.
|
|
30401
30995
|
*/
|
|
@@ -30542,13 +31136,33 @@ export declare const ServerResultSchema: z.ZodUnion<[z.ZodObject<{
|
|
|
30542
31136
|
inputSchema: z.ZodObject<{
|
|
30543
31137
|
type: z.ZodLiteral<"object">;
|
|
30544
31138
|
properties: z.ZodOptional<z.ZodObject<{}, "passthrough", z.ZodTypeAny, z.objectOutputType<{}, z.ZodTypeAny, "passthrough">, z.objectInputType<{}, z.ZodTypeAny, "passthrough">>>;
|
|
31139
|
+
required: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
|
|
30545
31140
|
}, "passthrough", z.ZodTypeAny, z.objectOutputType<{
|
|
30546
31141
|
type: z.ZodLiteral<"object">;
|
|
30547
31142
|
properties: z.ZodOptional<z.ZodObject<{}, "passthrough", z.ZodTypeAny, z.objectOutputType<{}, z.ZodTypeAny, "passthrough">, z.objectInputType<{}, z.ZodTypeAny, "passthrough">>>;
|
|
31143
|
+
required: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
|
|
30548
31144
|
}, z.ZodTypeAny, "passthrough">, z.objectInputType<{
|
|
30549
31145
|
type: z.ZodLiteral<"object">;
|
|
30550
31146
|
properties: z.ZodOptional<z.ZodObject<{}, "passthrough", z.ZodTypeAny, z.objectOutputType<{}, z.ZodTypeAny, "passthrough">, z.objectInputType<{}, z.ZodTypeAny, "passthrough">>>;
|
|
31147
|
+
required: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
|
|
30551
31148
|
}, z.ZodTypeAny, "passthrough">>;
|
|
31149
|
+
/**
|
|
31150
|
+
* An optional JSON Schema object defining the structure of the tool's output returned in
|
|
31151
|
+
* the structuredContent field of a CallToolResult.
|
|
31152
|
+
*/
|
|
31153
|
+
outputSchema: z.ZodOptional<z.ZodObject<{
|
|
31154
|
+
type: z.ZodLiteral<"object">;
|
|
31155
|
+
properties: z.ZodOptional<z.ZodObject<{}, "passthrough", z.ZodTypeAny, z.objectOutputType<{}, z.ZodTypeAny, "passthrough">, z.objectInputType<{}, z.ZodTypeAny, "passthrough">>>;
|
|
31156
|
+
required: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
|
|
31157
|
+
}, "passthrough", z.ZodTypeAny, z.objectOutputType<{
|
|
31158
|
+
type: z.ZodLiteral<"object">;
|
|
31159
|
+
properties: z.ZodOptional<z.ZodObject<{}, "passthrough", z.ZodTypeAny, z.objectOutputType<{}, z.ZodTypeAny, "passthrough">, z.objectInputType<{}, z.ZodTypeAny, "passthrough">>>;
|
|
31160
|
+
required: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
|
|
31161
|
+
}, z.ZodTypeAny, "passthrough">, z.objectInputType<{
|
|
31162
|
+
type: z.ZodLiteral<"object">;
|
|
31163
|
+
properties: z.ZodOptional<z.ZodObject<{}, "passthrough", z.ZodTypeAny, z.objectOutputType<{}, z.ZodTypeAny, "passthrough">, z.objectInputType<{}, z.ZodTypeAny, "passthrough">>>;
|
|
31164
|
+
required: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
|
|
31165
|
+
}, z.ZodTypeAny, "passthrough">>>;
|
|
30552
31166
|
/**
|
|
30553
31167
|
* Optional additional tool information.
|
|
30554
31168
|
*/
|
|
@@ -30682,13 +31296,33 @@ export declare const ServerResultSchema: z.ZodUnion<[z.ZodObject<{
|
|
|
30682
31296
|
inputSchema: z.ZodObject<{
|
|
30683
31297
|
type: z.ZodLiteral<"object">;
|
|
30684
31298
|
properties: z.ZodOptional<z.ZodObject<{}, "passthrough", z.ZodTypeAny, z.objectOutputType<{}, z.ZodTypeAny, "passthrough">, z.objectInputType<{}, z.ZodTypeAny, "passthrough">>>;
|
|
31299
|
+
required: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
|
|
30685
31300
|
}, "passthrough", z.ZodTypeAny, z.objectOutputType<{
|
|
30686
31301
|
type: z.ZodLiteral<"object">;
|
|
30687
31302
|
properties: z.ZodOptional<z.ZodObject<{}, "passthrough", z.ZodTypeAny, z.objectOutputType<{}, z.ZodTypeAny, "passthrough">, z.objectInputType<{}, z.ZodTypeAny, "passthrough">>>;
|
|
31303
|
+
required: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
|
|
30688
31304
|
}, z.ZodTypeAny, "passthrough">, z.objectInputType<{
|
|
30689
31305
|
type: z.ZodLiteral<"object">;
|
|
30690
31306
|
properties: z.ZodOptional<z.ZodObject<{}, "passthrough", z.ZodTypeAny, z.objectOutputType<{}, z.ZodTypeAny, "passthrough">, z.objectInputType<{}, z.ZodTypeAny, "passthrough">>>;
|
|
31307
|
+
required: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
|
|
30691
31308
|
}, z.ZodTypeAny, "passthrough">>;
|
|
31309
|
+
/**
|
|
31310
|
+
* An optional JSON Schema object defining the structure of the tool's output returned in
|
|
31311
|
+
* the structuredContent field of a CallToolResult.
|
|
31312
|
+
*/
|
|
31313
|
+
outputSchema: z.ZodOptional<z.ZodObject<{
|
|
31314
|
+
type: z.ZodLiteral<"object">;
|
|
31315
|
+
properties: z.ZodOptional<z.ZodObject<{}, "passthrough", z.ZodTypeAny, z.objectOutputType<{}, z.ZodTypeAny, "passthrough">, z.objectInputType<{}, z.ZodTypeAny, "passthrough">>>;
|
|
31316
|
+
required: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
|
|
31317
|
+
}, "passthrough", z.ZodTypeAny, z.objectOutputType<{
|
|
31318
|
+
type: z.ZodLiteral<"object">;
|
|
31319
|
+
properties: z.ZodOptional<z.ZodObject<{}, "passthrough", z.ZodTypeAny, z.objectOutputType<{}, z.ZodTypeAny, "passthrough">, z.objectInputType<{}, z.ZodTypeAny, "passthrough">>>;
|
|
31320
|
+
required: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
|
|
31321
|
+
}, z.ZodTypeAny, "passthrough">, z.objectInputType<{
|
|
31322
|
+
type: z.ZodLiteral<"object">;
|
|
31323
|
+
properties: z.ZodOptional<z.ZodObject<{}, "passthrough", z.ZodTypeAny, z.objectOutputType<{}, z.ZodTypeAny, "passthrough">, z.objectInputType<{}, z.ZodTypeAny, "passthrough">>>;
|
|
31324
|
+
required: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
|
|
31325
|
+
}, z.ZodTypeAny, "passthrough">>>;
|
|
30692
31326
|
/**
|
|
30693
31327
|
* Optional additional tool information.
|
|
30694
31328
|
*/
|
|
@@ -30822,13 +31456,33 @@ export declare const ServerResultSchema: z.ZodUnion<[z.ZodObject<{
|
|
|
30822
31456
|
inputSchema: z.ZodObject<{
|
|
30823
31457
|
type: z.ZodLiteral<"object">;
|
|
30824
31458
|
properties: z.ZodOptional<z.ZodObject<{}, "passthrough", z.ZodTypeAny, z.objectOutputType<{}, z.ZodTypeAny, "passthrough">, z.objectInputType<{}, z.ZodTypeAny, "passthrough">>>;
|
|
31459
|
+
required: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
|
|
30825
31460
|
}, "passthrough", z.ZodTypeAny, z.objectOutputType<{
|
|
30826
31461
|
type: z.ZodLiteral<"object">;
|
|
30827
31462
|
properties: z.ZodOptional<z.ZodObject<{}, "passthrough", z.ZodTypeAny, z.objectOutputType<{}, z.ZodTypeAny, "passthrough">, z.objectInputType<{}, z.ZodTypeAny, "passthrough">>>;
|
|
31463
|
+
required: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
|
|
30828
31464
|
}, z.ZodTypeAny, "passthrough">, z.objectInputType<{
|
|
30829
31465
|
type: z.ZodLiteral<"object">;
|
|
30830
31466
|
properties: z.ZodOptional<z.ZodObject<{}, "passthrough", z.ZodTypeAny, z.objectOutputType<{}, z.ZodTypeAny, "passthrough">, z.objectInputType<{}, z.ZodTypeAny, "passthrough">>>;
|
|
31467
|
+
required: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
|
|
30831
31468
|
}, z.ZodTypeAny, "passthrough">>;
|
|
31469
|
+
/**
|
|
31470
|
+
* An optional JSON Schema object defining the structure of the tool's output returned in
|
|
31471
|
+
* the structuredContent field of a CallToolResult.
|
|
31472
|
+
*/
|
|
31473
|
+
outputSchema: z.ZodOptional<z.ZodObject<{
|
|
31474
|
+
type: z.ZodLiteral<"object">;
|
|
31475
|
+
properties: z.ZodOptional<z.ZodObject<{}, "passthrough", z.ZodTypeAny, z.objectOutputType<{}, z.ZodTypeAny, "passthrough">, z.objectInputType<{}, z.ZodTypeAny, "passthrough">>>;
|
|
31476
|
+
required: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
|
|
31477
|
+
}, "passthrough", z.ZodTypeAny, z.objectOutputType<{
|
|
31478
|
+
type: z.ZodLiteral<"object">;
|
|
31479
|
+
properties: z.ZodOptional<z.ZodObject<{}, "passthrough", z.ZodTypeAny, z.objectOutputType<{}, z.ZodTypeAny, "passthrough">, z.objectInputType<{}, z.ZodTypeAny, "passthrough">>>;
|
|
31480
|
+
required: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
|
|
31481
|
+
}, z.ZodTypeAny, "passthrough">, z.objectInputType<{
|
|
31482
|
+
type: z.ZodLiteral<"object">;
|
|
31483
|
+
properties: z.ZodOptional<z.ZodObject<{}, "passthrough", z.ZodTypeAny, z.objectOutputType<{}, z.ZodTypeAny, "passthrough">, z.objectInputType<{}, z.ZodTypeAny, "passthrough">>>;
|
|
31484
|
+
required: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
|
|
31485
|
+
}, z.ZodTypeAny, "passthrough">>>;
|
|
30832
31486
|
/**
|
|
30833
31487
|
* Optional additional tool information.
|
|
30834
31488
|
*/
|