@modelcontextprotocol/sdk 1.10.2 → 1.11.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/README.md +3 -4
- package/dist/cjs/client/index.d.ts +57 -0
- package/dist/cjs/client/index.d.ts.map +1 -1
- package/dist/cjs/client/stdio.d.ts +4 -1
- package/dist/cjs/client/stdio.d.ts.map +1 -1
- package/dist/cjs/client/stdio.js +14 -1
- package/dist/cjs/client/stdio.js.map +1 -1
- package/dist/cjs/examples/server/simpleSseServer.js +0 -3
- package/dist/cjs/examples/server/simpleSseServer.js.map +1 -1
- package/dist/cjs/examples/server/simpleStreamableHttp.js +5 -1
- package/dist/cjs/examples/server/simpleStreamableHttp.js.map +1 -1
- package/dist/cjs/examples/server/sseAndStreamableHttpCompatibleServer.js +1 -1
- package/dist/cjs/examples/server/sseAndStreamableHttpCompatibleServer.js.map +1 -1
- package/dist/cjs/server/mcp.d.ts +24 -5
- package/dist/cjs/server/mcp.d.ts.map +1 -1
- package/dist/cjs/server/mcp.js +31 -1
- package/dist/cjs/server/mcp.js.map +1 -1
- package/dist/cjs/server/streamableHttp.d.ts +3 -3
- package/dist/cjs/server/streamableHttp.js +6 -6
- package/dist/cjs/server/streamableHttp.js.map +1 -1
- package/dist/cjs/shared/protocol.d.ts +10 -1
- package/dist/cjs/shared/protocol.d.ts.map +1 -1
- package/dist/cjs/shared/protocol.js +3 -1
- package/dist/cjs/shared/protocol.js.map +1 -1
- package/dist/cjs/types.d.ts +2645 -24
- package/dist/cjs/types.d.ts.map +1 -1
- package/dist/cjs/types.js +67 -10
- package/dist/cjs/types.js.map +1 -1
- package/dist/esm/client/index.d.ts +57 -0
- package/dist/esm/client/index.d.ts.map +1 -1
- package/dist/esm/client/stdio.d.ts +4 -1
- package/dist/esm/client/stdio.d.ts.map +1 -1
- package/dist/esm/client/stdio.js +14 -1
- package/dist/esm/client/stdio.js.map +1 -1
- package/dist/esm/examples/server/simpleSseServer.js +0 -3
- package/dist/esm/examples/server/simpleSseServer.js.map +1 -1
- package/dist/esm/examples/server/simpleStreamableHttp.js +5 -1
- package/dist/esm/examples/server/simpleStreamableHttp.js.map +1 -1
- package/dist/esm/examples/server/sseAndStreamableHttpCompatibleServer.js +1 -1
- package/dist/esm/examples/server/sseAndStreamableHttpCompatibleServer.js.map +1 -1
- package/dist/esm/server/mcp.d.ts +24 -5
- package/dist/esm/server/mcp.d.ts.map +1 -1
- package/dist/esm/server/mcp.js +32 -2
- package/dist/esm/server/mcp.js.map +1 -1
- package/dist/esm/server/streamableHttp.d.ts +3 -3
- package/dist/esm/server/streamableHttp.js +6 -6
- package/dist/esm/server/streamableHttp.js.map +1 -1
- package/dist/esm/shared/protocol.d.ts +10 -1
- package/dist/esm/shared/protocol.d.ts.map +1 -1
- package/dist/esm/shared/protocol.js +3 -1
- package/dist/esm/shared/protocol.js.map +1 -1
- package/dist/esm/types.d.ts +2645 -24
- package/dist/esm/types.d.ts.map +1 -1
- package/dist/esm/types.js +66 -9
- package/dist/esm/types.js.map +1 -1
- package/package.json +1 -1
package/dist/esm/types.d.ts
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { z, ZodTypeAny } from "zod";
|
|
2
|
-
export declare const LATEST_PROTOCOL_VERSION = "
|
|
2
|
+
export declare const LATEST_PROTOCOL_VERSION = "2025-03-26";
|
|
3
3
|
export declare const SUPPORTED_PROTOCOL_VERSIONS: string[];
|
|
4
4
|
export declare const JSONRPC_VERSION = "2.0";
|
|
5
5
|
/**
|
|
@@ -10,6 +10,22 @@ export declare const ProgressTokenSchema: z.ZodUnion<[z.ZodString, z.ZodNumber]>
|
|
|
10
10
|
* An opaque token used to represent a cursor for pagination.
|
|
11
11
|
*/
|
|
12
12
|
export declare const CursorSchema: z.ZodString;
|
|
13
|
+
declare const RequestMetaSchema: z.ZodObject<{
|
|
14
|
+
/**
|
|
15
|
+
* If specified, the caller is requesting out-of-band progress notifications for this request (as represented by notifications/progress). The value of this parameter is an opaque token that will be attached to any subsequent notifications. The receiver is not obligated to provide these notifications.
|
|
16
|
+
*/
|
|
17
|
+
progressToken: z.ZodOptional<z.ZodUnion<[z.ZodString, z.ZodNumber]>>;
|
|
18
|
+
}, "passthrough", z.ZodTypeAny, z.objectOutputType<{
|
|
19
|
+
/**
|
|
20
|
+
* If specified, the caller is requesting out-of-band progress notifications for this request (as represented by notifications/progress). The value of this parameter is an opaque token that will be attached to any subsequent notifications. The receiver is not obligated to provide these notifications.
|
|
21
|
+
*/
|
|
22
|
+
progressToken: z.ZodOptional<z.ZodUnion<[z.ZodString, z.ZodNumber]>>;
|
|
23
|
+
}, z.ZodTypeAny, "passthrough">, z.objectInputType<{
|
|
24
|
+
/**
|
|
25
|
+
* If specified, the caller is requesting out-of-band progress notifications for this request (as represented by notifications/progress). The value of this parameter is an opaque token that will be attached to any subsequent notifications. The receiver is not obligated to provide these notifications.
|
|
26
|
+
*/
|
|
27
|
+
progressToken: z.ZodOptional<z.ZodUnion<[z.ZodString, z.ZodNumber]>>;
|
|
28
|
+
}, z.ZodTypeAny, "passthrough">>;
|
|
13
29
|
export declare const RequestSchema: z.ZodObject<{
|
|
14
30
|
method: z.ZodString;
|
|
15
31
|
params: z.ZodOptional<z.ZodObject<{
|
|
@@ -10397,6 +10413,131 @@ export declare const PromptListChangedNotificationSchema: z.ZodObject<z.objectUt
|
|
|
10397
10413
|
_meta: z.ZodOptional<z.ZodObject<{}, "passthrough", z.ZodTypeAny, z.objectOutputType<{}, z.ZodTypeAny, "passthrough">, z.objectInputType<{}, z.ZodTypeAny, "passthrough">>>;
|
|
10398
10414
|
}, z.ZodTypeAny, "passthrough"> | undefined;
|
|
10399
10415
|
}>;
|
|
10416
|
+
/**
|
|
10417
|
+
* Additional properties describing a Tool to clients.
|
|
10418
|
+
*
|
|
10419
|
+
* NOTE: all properties in ToolAnnotations are **hints**.
|
|
10420
|
+
* They are not guaranteed to provide a faithful description of
|
|
10421
|
+
* tool behavior (including descriptive properties like `title`).
|
|
10422
|
+
*
|
|
10423
|
+
* Clients should never make tool use decisions based on ToolAnnotations
|
|
10424
|
+
* received from untrusted servers.
|
|
10425
|
+
*/
|
|
10426
|
+
export declare const ToolAnnotationsSchema: z.ZodObject<{
|
|
10427
|
+
/**
|
|
10428
|
+
* A human-readable title for the tool.
|
|
10429
|
+
*/
|
|
10430
|
+
title: z.ZodOptional<z.ZodString>;
|
|
10431
|
+
/**
|
|
10432
|
+
* If true, the tool does not modify its environment.
|
|
10433
|
+
*
|
|
10434
|
+
* Default: false
|
|
10435
|
+
*/
|
|
10436
|
+
readOnlyHint: z.ZodOptional<z.ZodBoolean>;
|
|
10437
|
+
/**
|
|
10438
|
+
* If true, the tool may perform destructive updates to its environment.
|
|
10439
|
+
* If false, the tool performs only additive updates.
|
|
10440
|
+
*
|
|
10441
|
+
* (This property is meaningful only when `readOnlyHint == false`)
|
|
10442
|
+
*
|
|
10443
|
+
* Default: true
|
|
10444
|
+
*/
|
|
10445
|
+
destructiveHint: z.ZodOptional<z.ZodBoolean>;
|
|
10446
|
+
/**
|
|
10447
|
+
* If true, calling the tool repeatedly with the same arguments
|
|
10448
|
+
* will have no additional effect on the its environment.
|
|
10449
|
+
*
|
|
10450
|
+
* (This property is meaningful only when `readOnlyHint == false`)
|
|
10451
|
+
*
|
|
10452
|
+
* Default: false
|
|
10453
|
+
*/
|
|
10454
|
+
idempotentHint: z.ZodOptional<z.ZodBoolean>;
|
|
10455
|
+
/**
|
|
10456
|
+
* If true, this tool may interact with an "open world" of external
|
|
10457
|
+
* entities. If false, the tool's domain of interaction is closed.
|
|
10458
|
+
* For example, the world of a web search tool is open, whereas that
|
|
10459
|
+
* of a memory tool is not.
|
|
10460
|
+
*
|
|
10461
|
+
* Default: true
|
|
10462
|
+
*/
|
|
10463
|
+
openWorldHint: z.ZodOptional<z.ZodBoolean>;
|
|
10464
|
+
}, "passthrough", z.ZodTypeAny, z.objectOutputType<{
|
|
10465
|
+
/**
|
|
10466
|
+
* A human-readable title for the tool.
|
|
10467
|
+
*/
|
|
10468
|
+
title: z.ZodOptional<z.ZodString>;
|
|
10469
|
+
/**
|
|
10470
|
+
* If true, the tool does not modify its environment.
|
|
10471
|
+
*
|
|
10472
|
+
* Default: false
|
|
10473
|
+
*/
|
|
10474
|
+
readOnlyHint: z.ZodOptional<z.ZodBoolean>;
|
|
10475
|
+
/**
|
|
10476
|
+
* If true, the tool may perform destructive updates to its environment.
|
|
10477
|
+
* If false, the tool performs only additive updates.
|
|
10478
|
+
*
|
|
10479
|
+
* (This property is meaningful only when `readOnlyHint == false`)
|
|
10480
|
+
*
|
|
10481
|
+
* Default: true
|
|
10482
|
+
*/
|
|
10483
|
+
destructiveHint: z.ZodOptional<z.ZodBoolean>;
|
|
10484
|
+
/**
|
|
10485
|
+
* If true, calling the tool repeatedly with the same arguments
|
|
10486
|
+
* will have no additional effect on the its environment.
|
|
10487
|
+
*
|
|
10488
|
+
* (This property is meaningful only when `readOnlyHint == false`)
|
|
10489
|
+
*
|
|
10490
|
+
* Default: false
|
|
10491
|
+
*/
|
|
10492
|
+
idempotentHint: z.ZodOptional<z.ZodBoolean>;
|
|
10493
|
+
/**
|
|
10494
|
+
* If true, this tool may interact with an "open world" of external
|
|
10495
|
+
* entities. If false, the tool's domain of interaction is closed.
|
|
10496
|
+
* For example, the world of a web search tool is open, whereas that
|
|
10497
|
+
* of a memory tool is not.
|
|
10498
|
+
*
|
|
10499
|
+
* Default: true
|
|
10500
|
+
*/
|
|
10501
|
+
openWorldHint: z.ZodOptional<z.ZodBoolean>;
|
|
10502
|
+
}, z.ZodTypeAny, "passthrough">, z.objectInputType<{
|
|
10503
|
+
/**
|
|
10504
|
+
* A human-readable title for the tool.
|
|
10505
|
+
*/
|
|
10506
|
+
title: z.ZodOptional<z.ZodString>;
|
|
10507
|
+
/**
|
|
10508
|
+
* If true, the tool does not modify its environment.
|
|
10509
|
+
*
|
|
10510
|
+
* Default: false
|
|
10511
|
+
*/
|
|
10512
|
+
readOnlyHint: z.ZodOptional<z.ZodBoolean>;
|
|
10513
|
+
/**
|
|
10514
|
+
* If true, the tool may perform destructive updates to its environment.
|
|
10515
|
+
* If false, the tool performs only additive updates.
|
|
10516
|
+
*
|
|
10517
|
+
* (This property is meaningful only when `readOnlyHint == false`)
|
|
10518
|
+
*
|
|
10519
|
+
* Default: true
|
|
10520
|
+
*/
|
|
10521
|
+
destructiveHint: z.ZodOptional<z.ZodBoolean>;
|
|
10522
|
+
/**
|
|
10523
|
+
* If true, calling the tool repeatedly with the same arguments
|
|
10524
|
+
* will have no additional effect on the its environment.
|
|
10525
|
+
*
|
|
10526
|
+
* (This property is meaningful only when `readOnlyHint == false`)
|
|
10527
|
+
*
|
|
10528
|
+
* Default: false
|
|
10529
|
+
*/
|
|
10530
|
+
idempotentHint: z.ZodOptional<z.ZodBoolean>;
|
|
10531
|
+
/**
|
|
10532
|
+
* If true, this tool may interact with an "open world" of external
|
|
10533
|
+
* entities. If false, the tool's domain of interaction is closed.
|
|
10534
|
+
* For example, the world of a web search tool is open, whereas that
|
|
10535
|
+
* of a memory tool is not.
|
|
10536
|
+
*
|
|
10537
|
+
* Default: true
|
|
10538
|
+
*/
|
|
10539
|
+
openWorldHint: z.ZodOptional<z.ZodBoolean>;
|
|
10540
|
+
}, z.ZodTypeAny, "passthrough">>;
|
|
10400
10541
|
/**
|
|
10401
10542
|
* Definition for a tool the client can call.
|
|
10402
10543
|
*/
|
|
@@ -10422,6 +10563,124 @@ export declare const ToolSchema: z.ZodObject<{
|
|
|
10422
10563
|
type: z.ZodLiteral<"object">;
|
|
10423
10564
|
properties: z.ZodOptional<z.ZodObject<{}, "passthrough", z.ZodTypeAny, z.objectOutputType<{}, z.ZodTypeAny, "passthrough">, z.objectInputType<{}, z.ZodTypeAny, "passthrough">>>;
|
|
10424
10565
|
}, z.ZodTypeAny, "passthrough">>;
|
|
10566
|
+
/**
|
|
10567
|
+
* Optional additional tool information.
|
|
10568
|
+
*/
|
|
10569
|
+
annotations: z.ZodOptional<z.ZodObject<{
|
|
10570
|
+
/**
|
|
10571
|
+
* A human-readable title for the tool.
|
|
10572
|
+
*/
|
|
10573
|
+
title: z.ZodOptional<z.ZodString>;
|
|
10574
|
+
/**
|
|
10575
|
+
* If true, the tool does not modify its environment.
|
|
10576
|
+
*
|
|
10577
|
+
* Default: false
|
|
10578
|
+
*/
|
|
10579
|
+
readOnlyHint: z.ZodOptional<z.ZodBoolean>;
|
|
10580
|
+
/**
|
|
10581
|
+
* If true, the tool may perform destructive updates to its environment.
|
|
10582
|
+
* If false, the tool performs only additive updates.
|
|
10583
|
+
*
|
|
10584
|
+
* (This property is meaningful only when `readOnlyHint == false`)
|
|
10585
|
+
*
|
|
10586
|
+
* Default: true
|
|
10587
|
+
*/
|
|
10588
|
+
destructiveHint: z.ZodOptional<z.ZodBoolean>;
|
|
10589
|
+
/**
|
|
10590
|
+
* If true, calling the tool repeatedly with the same arguments
|
|
10591
|
+
* will have no additional effect on the its environment.
|
|
10592
|
+
*
|
|
10593
|
+
* (This property is meaningful only when `readOnlyHint == false`)
|
|
10594
|
+
*
|
|
10595
|
+
* Default: false
|
|
10596
|
+
*/
|
|
10597
|
+
idempotentHint: z.ZodOptional<z.ZodBoolean>;
|
|
10598
|
+
/**
|
|
10599
|
+
* If true, this tool may interact with an "open world" of external
|
|
10600
|
+
* entities. If false, the tool's domain of interaction is closed.
|
|
10601
|
+
* For example, the world of a web search tool is open, whereas that
|
|
10602
|
+
* of a memory tool is not.
|
|
10603
|
+
*
|
|
10604
|
+
* Default: true
|
|
10605
|
+
*/
|
|
10606
|
+
openWorldHint: z.ZodOptional<z.ZodBoolean>;
|
|
10607
|
+
}, "passthrough", z.ZodTypeAny, z.objectOutputType<{
|
|
10608
|
+
/**
|
|
10609
|
+
* A human-readable title for the tool.
|
|
10610
|
+
*/
|
|
10611
|
+
title: z.ZodOptional<z.ZodString>;
|
|
10612
|
+
/**
|
|
10613
|
+
* If true, the tool does not modify its environment.
|
|
10614
|
+
*
|
|
10615
|
+
* Default: false
|
|
10616
|
+
*/
|
|
10617
|
+
readOnlyHint: z.ZodOptional<z.ZodBoolean>;
|
|
10618
|
+
/**
|
|
10619
|
+
* If true, the tool may perform destructive updates to its environment.
|
|
10620
|
+
* If false, the tool performs only additive updates.
|
|
10621
|
+
*
|
|
10622
|
+
* (This property is meaningful only when `readOnlyHint == false`)
|
|
10623
|
+
*
|
|
10624
|
+
* Default: true
|
|
10625
|
+
*/
|
|
10626
|
+
destructiveHint: z.ZodOptional<z.ZodBoolean>;
|
|
10627
|
+
/**
|
|
10628
|
+
* If true, calling the tool repeatedly with the same arguments
|
|
10629
|
+
* will have no additional effect on the its environment.
|
|
10630
|
+
*
|
|
10631
|
+
* (This property is meaningful only when `readOnlyHint == false`)
|
|
10632
|
+
*
|
|
10633
|
+
* Default: false
|
|
10634
|
+
*/
|
|
10635
|
+
idempotentHint: z.ZodOptional<z.ZodBoolean>;
|
|
10636
|
+
/**
|
|
10637
|
+
* If true, this tool may interact with an "open world" of external
|
|
10638
|
+
* entities. If false, the tool's domain of interaction is closed.
|
|
10639
|
+
* For example, the world of a web search tool is open, whereas that
|
|
10640
|
+
* of a memory tool is not.
|
|
10641
|
+
*
|
|
10642
|
+
* Default: true
|
|
10643
|
+
*/
|
|
10644
|
+
openWorldHint: z.ZodOptional<z.ZodBoolean>;
|
|
10645
|
+
}, z.ZodTypeAny, "passthrough">, z.objectInputType<{
|
|
10646
|
+
/**
|
|
10647
|
+
* A human-readable title for the tool.
|
|
10648
|
+
*/
|
|
10649
|
+
title: z.ZodOptional<z.ZodString>;
|
|
10650
|
+
/**
|
|
10651
|
+
* If true, the tool does not modify its environment.
|
|
10652
|
+
*
|
|
10653
|
+
* Default: false
|
|
10654
|
+
*/
|
|
10655
|
+
readOnlyHint: z.ZodOptional<z.ZodBoolean>;
|
|
10656
|
+
/**
|
|
10657
|
+
* If true, the tool may perform destructive updates to its environment.
|
|
10658
|
+
* If false, the tool performs only additive updates.
|
|
10659
|
+
*
|
|
10660
|
+
* (This property is meaningful only when `readOnlyHint == false`)
|
|
10661
|
+
*
|
|
10662
|
+
* Default: true
|
|
10663
|
+
*/
|
|
10664
|
+
destructiveHint: z.ZodOptional<z.ZodBoolean>;
|
|
10665
|
+
/**
|
|
10666
|
+
* If true, calling the tool repeatedly with the same arguments
|
|
10667
|
+
* will have no additional effect on the its environment.
|
|
10668
|
+
*
|
|
10669
|
+
* (This property is meaningful only when `readOnlyHint == false`)
|
|
10670
|
+
*
|
|
10671
|
+
* Default: false
|
|
10672
|
+
*/
|
|
10673
|
+
idempotentHint: z.ZodOptional<z.ZodBoolean>;
|
|
10674
|
+
/**
|
|
10675
|
+
* If true, this tool may interact with an "open world" of external
|
|
10676
|
+
* entities. If false, the tool's domain of interaction is closed.
|
|
10677
|
+
* For example, the world of a web search tool is open, whereas that
|
|
10678
|
+
* of a memory tool is not.
|
|
10679
|
+
*
|
|
10680
|
+
* Default: true
|
|
10681
|
+
*/
|
|
10682
|
+
openWorldHint: z.ZodOptional<z.ZodBoolean>;
|
|
10683
|
+
}, z.ZodTypeAny, "passthrough">>>;
|
|
10425
10684
|
}, "passthrough", z.ZodTypeAny, z.objectOutputType<{
|
|
10426
10685
|
/**
|
|
10427
10686
|
* The name of the tool.
|
|
@@ -10444,6 +10703,124 @@ export declare const ToolSchema: z.ZodObject<{
|
|
|
10444
10703
|
type: z.ZodLiteral<"object">;
|
|
10445
10704
|
properties: z.ZodOptional<z.ZodObject<{}, "passthrough", z.ZodTypeAny, z.objectOutputType<{}, z.ZodTypeAny, "passthrough">, z.objectInputType<{}, z.ZodTypeAny, "passthrough">>>;
|
|
10446
10705
|
}, z.ZodTypeAny, "passthrough">>;
|
|
10706
|
+
/**
|
|
10707
|
+
* Optional additional tool information.
|
|
10708
|
+
*/
|
|
10709
|
+
annotations: z.ZodOptional<z.ZodObject<{
|
|
10710
|
+
/**
|
|
10711
|
+
* A human-readable title for the tool.
|
|
10712
|
+
*/
|
|
10713
|
+
title: z.ZodOptional<z.ZodString>;
|
|
10714
|
+
/**
|
|
10715
|
+
* If true, the tool does not modify its environment.
|
|
10716
|
+
*
|
|
10717
|
+
* Default: false
|
|
10718
|
+
*/
|
|
10719
|
+
readOnlyHint: z.ZodOptional<z.ZodBoolean>;
|
|
10720
|
+
/**
|
|
10721
|
+
* If true, the tool may perform destructive updates to its environment.
|
|
10722
|
+
* If false, the tool performs only additive updates.
|
|
10723
|
+
*
|
|
10724
|
+
* (This property is meaningful only when `readOnlyHint == false`)
|
|
10725
|
+
*
|
|
10726
|
+
* Default: true
|
|
10727
|
+
*/
|
|
10728
|
+
destructiveHint: z.ZodOptional<z.ZodBoolean>;
|
|
10729
|
+
/**
|
|
10730
|
+
* If true, calling the tool repeatedly with the same arguments
|
|
10731
|
+
* will have no additional effect on the its environment.
|
|
10732
|
+
*
|
|
10733
|
+
* (This property is meaningful only when `readOnlyHint == false`)
|
|
10734
|
+
*
|
|
10735
|
+
* Default: false
|
|
10736
|
+
*/
|
|
10737
|
+
idempotentHint: z.ZodOptional<z.ZodBoolean>;
|
|
10738
|
+
/**
|
|
10739
|
+
* If true, this tool may interact with an "open world" of external
|
|
10740
|
+
* entities. If false, the tool's domain of interaction is closed.
|
|
10741
|
+
* For example, the world of a web search tool is open, whereas that
|
|
10742
|
+
* of a memory tool is not.
|
|
10743
|
+
*
|
|
10744
|
+
* Default: true
|
|
10745
|
+
*/
|
|
10746
|
+
openWorldHint: z.ZodOptional<z.ZodBoolean>;
|
|
10747
|
+
}, "passthrough", z.ZodTypeAny, z.objectOutputType<{
|
|
10748
|
+
/**
|
|
10749
|
+
* A human-readable title for the tool.
|
|
10750
|
+
*/
|
|
10751
|
+
title: z.ZodOptional<z.ZodString>;
|
|
10752
|
+
/**
|
|
10753
|
+
* If true, the tool does not modify its environment.
|
|
10754
|
+
*
|
|
10755
|
+
* Default: false
|
|
10756
|
+
*/
|
|
10757
|
+
readOnlyHint: z.ZodOptional<z.ZodBoolean>;
|
|
10758
|
+
/**
|
|
10759
|
+
* If true, the tool may perform destructive updates to its environment.
|
|
10760
|
+
* If false, the tool performs only additive updates.
|
|
10761
|
+
*
|
|
10762
|
+
* (This property is meaningful only when `readOnlyHint == false`)
|
|
10763
|
+
*
|
|
10764
|
+
* Default: true
|
|
10765
|
+
*/
|
|
10766
|
+
destructiveHint: z.ZodOptional<z.ZodBoolean>;
|
|
10767
|
+
/**
|
|
10768
|
+
* If true, calling the tool repeatedly with the same arguments
|
|
10769
|
+
* will have no additional effect on the its environment.
|
|
10770
|
+
*
|
|
10771
|
+
* (This property is meaningful only when `readOnlyHint == false`)
|
|
10772
|
+
*
|
|
10773
|
+
* Default: false
|
|
10774
|
+
*/
|
|
10775
|
+
idempotentHint: z.ZodOptional<z.ZodBoolean>;
|
|
10776
|
+
/**
|
|
10777
|
+
* If true, this tool may interact with an "open world" of external
|
|
10778
|
+
* entities. If false, the tool's domain of interaction is closed.
|
|
10779
|
+
* For example, the world of a web search tool is open, whereas that
|
|
10780
|
+
* of a memory tool is not.
|
|
10781
|
+
*
|
|
10782
|
+
* Default: true
|
|
10783
|
+
*/
|
|
10784
|
+
openWorldHint: z.ZodOptional<z.ZodBoolean>;
|
|
10785
|
+
}, z.ZodTypeAny, "passthrough">, z.objectInputType<{
|
|
10786
|
+
/**
|
|
10787
|
+
* A human-readable title for the tool.
|
|
10788
|
+
*/
|
|
10789
|
+
title: z.ZodOptional<z.ZodString>;
|
|
10790
|
+
/**
|
|
10791
|
+
* If true, the tool does not modify its environment.
|
|
10792
|
+
*
|
|
10793
|
+
* Default: false
|
|
10794
|
+
*/
|
|
10795
|
+
readOnlyHint: z.ZodOptional<z.ZodBoolean>;
|
|
10796
|
+
/**
|
|
10797
|
+
* If true, the tool may perform destructive updates to its environment.
|
|
10798
|
+
* If false, the tool performs only additive updates.
|
|
10799
|
+
*
|
|
10800
|
+
* (This property is meaningful only when `readOnlyHint == false`)
|
|
10801
|
+
*
|
|
10802
|
+
* Default: true
|
|
10803
|
+
*/
|
|
10804
|
+
destructiveHint: z.ZodOptional<z.ZodBoolean>;
|
|
10805
|
+
/**
|
|
10806
|
+
* If true, calling the tool repeatedly with the same arguments
|
|
10807
|
+
* will have no additional effect on the its environment.
|
|
10808
|
+
*
|
|
10809
|
+
* (This property is meaningful only when `readOnlyHint == false`)
|
|
10810
|
+
*
|
|
10811
|
+
* Default: false
|
|
10812
|
+
*/
|
|
10813
|
+
idempotentHint: z.ZodOptional<z.ZodBoolean>;
|
|
10814
|
+
/**
|
|
10815
|
+
* If true, this tool may interact with an "open world" of external
|
|
10816
|
+
* entities. If false, the tool's domain of interaction is closed.
|
|
10817
|
+
* For example, the world of a web search tool is open, whereas that
|
|
10818
|
+
* of a memory tool is not.
|
|
10819
|
+
*
|
|
10820
|
+
* Default: true
|
|
10821
|
+
*/
|
|
10822
|
+
openWorldHint: z.ZodOptional<z.ZodBoolean>;
|
|
10823
|
+
}, z.ZodTypeAny, "passthrough">>>;
|
|
10447
10824
|
}, z.ZodTypeAny, "passthrough">, z.objectInputType<{
|
|
10448
10825
|
/**
|
|
10449
10826
|
* The name of the tool.
|
|
@@ -10466,6 +10843,124 @@ export declare const ToolSchema: z.ZodObject<{
|
|
|
10466
10843
|
type: z.ZodLiteral<"object">;
|
|
10467
10844
|
properties: z.ZodOptional<z.ZodObject<{}, "passthrough", z.ZodTypeAny, z.objectOutputType<{}, z.ZodTypeAny, "passthrough">, z.objectInputType<{}, z.ZodTypeAny, "passthrough">>>;
|
|
10468
10845
|
}, z.ZodTypeAny, "passthrough">>;
|
|
10846
|
+
/**
|
|
10847
|
+
* Optional additional tool information.
|
|
10848
|
+
*/
|
|
10849
|
+
annotations: z.ZodOptional<z.ZodObject<{
|
|
10850
|
+
/**
|
|
10851
|
+
* A human-readable title for the tool.
|
|
10852
|
+
*/
|
|
10853
|
+
title: z.ZodOptional<z.ZodString>;
|
|
10854
|
+
/**
|
|
10855
|
+
* If true, the tool does not modify its environment.
|
|
10856
|
+
*
|
|
10857
|
+
* Default: false
|
|
10858
|
+
*/
|
|
10859
|
+
readOnlyHint: z.ZodOptional<z.ZodBoolean>;
|
|
10860
|
+
/**
|
|
10861
|
+
* If true, the tool may perform destructive updates to its environment.
|
|
10862
|
+
* If false, the tool performs only additive updates.
|
|
10863
|
+
*
|
|
10864
|
+
* (This property is meaningful only when `readOnlyHint == false`)
|
|
10865
|
+
*
|
|
10866
|
+
* Default: true
|
|
10867
|
+
*/
|
|
10868
|
+
destructiveHint: z.ZodOptional<z.ZodBoolean>;
|
|
10869
|
+
/**
|
|
10870
|
+
* If true, calling the tool repeatedly with the same arguments
|
|
10871
|
+
* will have no additional effect on the its environment.
|
|
10872
|
+
*
|
|
10873
|
+
* (This property is meaningful only when `readOnlyHint == false`)
|
|
10874
|
+
*
|
|
10875
|
+
* Default: false
|
|
10876
|
+
*/
|
|
10877
|
+
idempotentHint: z.ZodOptional<z.ZodBoolean>;
|
|
10878
|
+
/**
|
|
10879
|
+
* If true, this tool may interact with an "open world" of external
|
|
10880
|
+
* entities. If false, the tool's domain of interaction is closed.
|
|
10881
|
+
* For example, the world of a web search tool is open, whereas that
|
|
10882
|
+
* of a memory tool is not.
|
|
10883
|
+
*
|
|
10884
|
+
* Default: true
|
|
10885
|
+
*/
|
|
10886
|
+
openWorldHint: z.ZodOptional<z.ZodBoolean>;
|
|
10887
|
+
}, "passthrough", z.ZodTypeAny, z.objectOutputType<{
|
|
10888
|
+
/**
|
|
10889
|
+
* A human-readable title for the tool.
|
|
10890
|
+
*/
|
|
10891
|
+
title: z.ZodOptional<z.ZodString>;
|
|
10892
|
+
/**
|
|
10893
|
+
* If true, the tool does not modify its environment.
|
|
10894
|
+
*
|
|
10895
|
+
* Default: false
|
|
10896
|
+
*/
|
|
10897
|
+
readOnlyHint: z.ZodOptional<z.ZodBoolean>;
|
|
10898
|
+
/**
|
|
10899
|
+
* If true, the tool may perform destructive updates to its environment.
|
|
10900
|
+
* If false, the tool performs only additive updates.
|
|
10901
|
+
*
|
|
10902
|
+
* (This property is meaningful only when `readOnlyHint == false`)
|
|
10903
|
+
*
|
|
10904
|
+
* Default: true
|
|
10905
|
+
*/
|
|
10906
|
+
destructiveHint: z.ZodOptional<z.ZodBoolean>;
|
|
10907
|
+
/**
|
|
10908
|
+
* If true, calling the tool repeatedly with the same arguments
|
|
10909
|
+
* will have no additional effect on the its environment.
|
|
10910
|
+
*
|
|
10911
|
+
* (This property is meaningful only when `readOnlyHint == false`)
|
|
10912
|
+
*
|
|
10913
|
+
* Default: false
|
|
10914
|
+
*/
|
|
10915
|
+
idempotentHint: z.ZodOptional<z.ZodBoolean>;
|
|
10916
|
+
/**
|
|
10917
|
+
* If true, this tool may interact with an "open world" of external
|
|
10918
|
+
* entities. If false, the tool's domain of interaction is closed.
|
|
10919
|
+
* For example, the world of a web search tool is open, whereas that
|
|
10920
|
+
* of a memory tool is not.
|
|
10921
|
+
*
|
|
10922
|
+
* Default: true
|
|
10923
|
+
*/
|
|
10924
|
+
openWorldHint: z.ZodOptional<z.ZodBoolean>;
|
|
10925
|
+
}, z.ZodTypeAny, "passthrough">, z.objectInputType<{
|
|
10926
|
+
/**
|
|
10927
|
+
* A human-readable title for the tool.
|
|
10928
|
+
*/
|
|
10929
|
+
title: z.ZodOptional<z.ZodString>;
|
|
10930
|
+
/**
|
|
10931
|
+
* If true, the tool does not modify its environment.
|
|
10932
|
+
*
|
|
10933
|
+
* Default: false
|
|
10934
|
+
*/
|
|
10935
|
+
readOnlyHint: z.ZodOptional<z.ZodBoolean>;
|
|
10936
|
+
/**
|
|
10937
|
+
* If true, the tool may perform destructive updates to its environment.
|
|
10938
|
+
* If false, the tool performs only additive updates.
|
|
10939
|
+
*
|
|
10940
|
+
* (This property is meaningful only when `readOnlyHint == false`)
|
|
10941
|
+
*
|
|
10942
|
+
* Default: true
|
|
10943
|
+
*/
|
|
10944
|
+
destructiveHint: z.ZodOptional<z.ZodBoolean>;
|
|
10945
|
+
/**
|
|
10946
|
+
* If true, calling the tool repeatedly with the same arguments
|
|
10947
|
+
* will have no additional effect on the its environment.
|
|
10948
|
+
*
|
|
10949
|
+
* (This property is meaningful only when `readOnlyHint == false`)
|
|
10950
|
+
*
|
|
10951
|
+
* Default: false
|
|
10952
|
+
*/
|
|
10953
|
+
idempotentHint: z.ZodOptional<z.ZodBoolean>;
|
|
10954
|
+
/**
|
|
10955
|
+
* If true, this tool may interact with an "open world" of external
|
|
10956
|
+
* entities. If false, the tool's domain of interaction is closed.
|
|
10957
|
+
* For example, the world of a web search tool is open, whereas that
|
|
10958
|
+
* of a memory tool is not.
|
|
10959
|
+
*
|
|
10960
|
+
* Default: true
|
|
10961
|
+
*/
|
|
10962
|
+
openWorldHint: z.ZodOptional<z.ZodBoolean>;
|
|
10963
|
+
}, z.ZodTypeAny, "passthrough">>>;
|
|
10469
10964
|
}, z.ZodTypeAny, "passthrough">>;
|
|
10470
10965
|
/**
|
|
10471
10966
|
* Sent from the client to request a list of tools the server has.
|
|
@@ -10687,32 +11182,128 @@ export declare const ListToolsResultSchema: z.ZodObject<z.objectUtil.extendShape
|
|
|
10687
11182
|
type: z.ZodLiteral<"object">;
|
|
10688
11183
|
properties: z.ZodOptional<z.ZodObject<{}, "passthrough", z.ZodTypeAny, z.objectOutputType<{}, z.ZodTypeAny, "passthrough">, z.objectInputType<{}, z.ZodTypeAny, "passthrough">>>;
|
|
10689
11184
|
}, z.ZodTypeAny, "passthrough">>;
|
|
10690
|
-
}, "passthrough", z.ZodTypeAny, z.objectOutputType<{
|
|
10691
11185
|
/**
|
|
10692
|
-
*
|
|
10693
|
-
*/
|
|
10694
|
-
name: z.ZodString;
|
|
10695
|
-
/**
|
|
10696
|
-
* A human-readable description of the tool.
|
|
10697
|
-
*/
|
|
10698
|
-
description: z.ZodOptional<z.ZodString>;
|
|
10699
|
-
/**
|
|
10700
|
-
* A JSON Schema object defining the expected parameters for the tool.
|
|
11186
|
+
* Optional additional tool information.
|
|
10701
11187
|
*/
|
|
10702
|
-
|
|
10703
|
-
|
|
10704
|
-
|
|
11188
|
+
annotations: z.ZodOptional<z.ZodObject<{
|
|
11189
|
+
/**
|
|
11190
|
+
* A human-readable title for the tool.
|
|
11191
|
+
*/
|
|
11192
|
+
title: z.ZodOptional<z.ZodString>;
|
|
11193
|
+
/**
|
|
11194
|
+
* If true, the tool does not modify its environment.
|
|
11195
|
+
*
|
|
11196
|
+
* Default: false
|
|
11197
|
+
*/
|
|
11198
|
+
readOnlyHint: z.ZodOptional<z.ZodBoolean>;
|
|
11199
|
+
/**
|
|
11200
|
+
* If true, the tool may perform destructive updates to its environment.
|
|
11201
|
+
* If false, the tool performs only additive updates.
|
|
11202
|
+
*
|
|
11203
|
+
* (This property is meaningful only when `readOnlyHint == false`)
|
|
11204
|
+
*
|
|
11205
|
+
* Default: true
|
|
11206
|
+
*/
|
|
11207
|
+
destructiveHint: z.ZodOptional<z.ZodBoolean>;
|
|
11208
|
+
/**
|
|
11209
|
+
* If true, calling the tool repeatedly with the same arguments
|
|
11210
|
+
* will have no additional effect on the its environment.
|
|
11211
|
+
*
|
|
11212
|
+
* (This property is meaningful only when `readOnlyHint == false`)
|
|
11213
|
+
*
|
|
11214
|
+
* Default: false
|
|
11215
|
+
*/
|
|
11216
|
+
idempotentHint: z.ZodOptional<z.ZodBoolean>;
|
|
11217
|
+
/**
|
|
11218
|
+
* If true, this tool may interact with an "open world" of external
|
|
11219
|
+
* entities. If false, the tool's domain of interaction is closed.
|
|
11220
|
+
* For example, the world of a web search tool is open, whereas that
|
|
11221
|
+
* of a memory tool is not.
|
|
11222
|
+
*
|
|
11223
|
+
* Default: true
|
|
11224
|
+
*/
|
|
11225
|
+
openWorldHint: z.ZodOptional<z.ZodBoolean>;
|
|
10705
11226
|
}, "passthrough", z.ZodTypeAny, z.objectOutputType<{
|
|
10706
|
-
|
|
10707
|
-
|
|
10708
|
-
|
|
10709
|
-
|
|
10710
|
-
|
|
10711
|
-
|
|
10712
|
-
|
|
10713
|
-
|
|
10714
|
-
|
|
10715
|
-
|
|
11227
|
+
/**
|
|
11228
|
+
* A human-readable title for the tool.
|
|
11229
|
+
*/
|
|
11230
|
+
title: z.ZodOptional<z.ZodString>;
|
|
11231
|
+
/**
|
|
11232
|
+
* If true, the tool does not modify its environment.
|
|
11233
|
+
*
|
|
11234
|
+
* Default: false
|
|
11235
|
+
*/
|
|
11236
|
+
readOnlyHint: z.ZodOptional<z.ZodBoolean>;
|
|
11237
|
+
/**
|
|
11238
|
+
* If true, the tool may perform destructive updates to its environment.
|
|
11239
|
+
* If false, the tool performs only additive updates.
|
|
11240
|
+
*
|
|
11241
|
+
* (This property is meaningful only when `readOnlyHint == false`)
|
|
11242
|
+
*
|
|
11243
|
+
* Default: true
|
|
11244
|
+
*/
|
|
11245
|
+
destructiveHint: z.ZodOptional<z.ZodBoolean>;
|
|
11246
|
+
/**
|
|
11247
|
+
* If true, calling the tool repeatedly with the same arguments
|
|
11248
|
+
* will have no additional effect on the its environment.
|
|
11249
|
+
*
|
|
11250
|
+
* (This property is meaningful only when `readOnlyHint == false`)
|
|
11251
|
+
*
|
|
11252
|
+
* Default: false
|
|
11253
|
+
*/
|
|
11254
|
+
idempotentHint: z.ZodOptional<z.ZodBoolean>;
|
|
11255
|
+
/**
|
|
11256
|
+
* If true, this tool may interact with an "open world" of external
|
|
11257
|
+
* entities. If false, the tool's domain of interaction is closed.
|
|
11258
|
+
* For example, the world of a web search tool is open, whereas that
|
|
11259
|
+
* of a memory tool is not.
|
|
11260
|
+
*
|
|
11261
|
+
* Default: true
|
|
11262
|
+
*/
|
|
11263
|
+
openWorldHint: z.ZodOptional<z.ZodBoolean>;
|
|
11264
|
+
}, z.ZodTypeAny, "passthrough">, z.objectInputType<{
|
|
11265
|
+
/**
|
|
11266
|
+
* A human-readable title for the tool.
|
|
11267
|
+
*/
|
|
11268
|
+
title: z.ZodOptional<z.ZodString>;
|
|
11269
|
+
/**
|
|
11270
|
+
* If true, the tool does not modify its environment.
|
|
11271
|
+
*
|
|
11272
|
+
* Default: false
|
|
11273
|
+
*/
|
|
11274
|
+
readOnlyHint: z.ZodOptional<z.ZodBoolean>;
|
|
11275
|
+
/**
|
|
11276
|
+
* If true, the tool may perform destructive updates to its environment.
|
|
11277
|
+
* If false, the tool performs only additive updates.
|
|
11278
|
+
*
|
|
11279
|
+
* (This property is meaningful only when `readOnlyHint == false`)
|
|
11280
|
+
*
|
|
11281
|
+
* Default: true
|
|
11282
|
+
*/
|
|
11283
|
+
destructiveHint: z.ZodOptional<z.ZodBoolean>;
|
|
11284
|
+
/**
|
|
11285
|
+
* If true, calling the tool repeatedly with the same arguments
|
|
11286
|
+
* will have no additional effect on the its environment.
|
|
11287
|
+
*
|
|
11288
|
+
* (This property is meaningful only when `readOnlyHint == false`)
|
|
11289
|
+
*
|
|
11290
|
+
* Default: false
|
|
11291
|
+
*/
|
|
11292
|
+
idempotentHint: z.ZodOptional<z.ZodBoolean>;
|
|
11293
|
+
/**
|
|
11294
|
+
* If true, this tool may interact with an "open world" of external
|
|
11295
|
+
* entities. If false, the tool's domain of interaction is closed.
|
|
11296
|
+
* For example, the world of a web search tool is open, whereas that
|
|
11297
|
+
* of a memory tool is not.
|
|
11298
|
+
*
|
|
11299
|
+
* Default: true
|
|
11300
|
+
*/
|
|
11301
|
+
openWorldHint: z.ZodOptional<z.ZodBoolean>;
|
|
11302
|
+
}, z.ZodTypeAny, "passthrough">>>;
|
|
11303
|
+
}, "passthrough", z.ZodTypeAny, z.objectOutputType<{
|
|
11304
|
+
/**
|
|
11305
|
+
* The name of the tool.
|
|
11306
|
+
*/
|
|
10716
11307
|
name: z.ZodString;
|
|
10717
11308
|
/**
|
|
10718
11309
|
* A human-readable description of the tool.
|
|
@@ -10731,6 +11322,264 @@ export declare const ListToolsResultSchema: z.ZodObject<z.objectUtil.extendShape
|
|
|
10731
11322
|
type: z.ZodLiteral<"object">;
|
|
10732
11323
|
properties: z.ZodOptional<z.ZodObject<{}, "passthrough", z.ZodTypeAny, z.objectOutputType<{}, z.ZodTypeAny, "passthrough">, z.objectInputType<{}, z.ZodTypeAny, "passthrough">>>;
|
|
10733
11324
|
}, z.ZodTypeAny, "passthrough">>;
|
|
11325
|
+
/**
|
|
11326
|
+
* Optional additional tool information.
|
|
11327
|
+
*/
|
|
11328
|
+
annotations: z.ZodOptional<z.ZodObject<{
|
|
11329
|
+
/**
|
|
11330
|
+
* A human-readable title for the tool.
|
|
11331
|
+
*/
|
|
11332
|
+
title: z.ZodOptional<z.ZodString>;
|
|
11333
|
+
/**
|
|
11334
|
+
* If true, the tool does not modify its environment.
|
|
11335
|
+
*
|
|
11336
|
+
* Default: false
|
|
11337
|
+
*/
|
|
11338
|
+
readOnlyHint: z.ZodOptional<z.ZodBoolean>;
|
|
11339
|
+
/**
|
|
11340
|
+
* If true, the tool may perform destructive updates to its environment.
|
|
11341
|
+
* If false, the tool performs only additive updates.
|
|
11342
|
+
*
|
|
11343
|
+
* (This property is meaningful only when `readOnlyHint == false`)
|
|
11344
|
+
*
|
|
11345
|
+
* Default: true
|
|
11346
|
+
*/
|
|
11347
|
+
destructiveHint: z.ZodOptional<z.ZodBoolean>;
|
|
11348
|
+
/**
|
|
11349
|
+
* If true, calling the tool repeatedly with the same arguments
|
|
11350
|
+
* will have no additional effect on the its environment.
|
|
11351
|
+
*
|
|
11352
|
+
* (This property is meaningful only when `readOnlyHint == false`)
|
|
11353
|
+
*
|
|
11354
|
+
* Default: false
|
|
11355
|
+
*/
|
|
11356
|
+
idempotentHint: z.ZodOptional<z.ZodBoolean>;
|
|
11357
|
+
/**
|
|
11358
|
+
* If true, this tool may interact with an "open world" of external
|
|
11359
|
+
* entities. If false, the tool's domain of interaction is closed.
|
|
11360
|
+
* For example, the world of a web search tool is open, whereas that
|
|
11361
|
+
* of a memory tool is not.
|
|
11362
|
+
*
|
|
11363
|
+
* Default: true
|
|
11364
|
+
*/
|
|
11365
|
+
openWorldHint: z.ZodOptional<z.ZodBoolean>;
|
|
11366
|
+
}, "passthrough", z.ZodTypeAny, z.objectOutputType<{
|
|
11367
|
+
/**
|
|
11368
|
+
* A human-readable title for the tool.
|
|
11369
|
+
*/
|
|
11370
|
+
title: z.ZodOptional<z.ZodString>;
|
|
11371
|
+
/**
|
|
11372
|
+
* If true, the tool does not modify its environment.
|
|
11373
|
+
*
|
|
11374
|
+
* Default: false
|
|
11375
|
+
*/
|
|
11376
|
+
readOnlyHint: z.ZodOptional<z.ZodBoolean>;
|
|
11377
|
+
/**
|
|
11378
|
+
* If true, the tool may perform destructive updates to its environment.
|
|
11379
|
+
* If false, the tool performs only additive updates.
|
|
11380
|
+
*
|
|
11381
|
+
* (This property is meaningful only when `readOnlyHint == false`)
|
|
11382
|
+
*
|
|
11383
|
+
* Default: true
|
|
11384
|
+
*/
|
|
11385
|
+
destructiveHint: z.ZodOptional<z.ZodBoolean>;
|
|
11386
|
+
/**
|
|
11387
|
+
* If true, calling the tool repeatedly with the same arguments
|
|
11388
|
+
* will have no additional effect on the its environment.
|
|
11389
|
+
*
|
|
11390
|
+
* (This property is meaningful only when `readOnlyHint == false`)
|
|
11391
|
+
*
|
|
11392
|
+
* Default: false
|
|
11393
|
+
*/
|
|
11394
|
+
idempotentHint: z.ZodOptional<z.ZodBoolean>;
|
|
11395
|
+
/**
|
|
11396
|
+
* If true, this tool may interact with an "open world" of external
|
|
11397
|
+
* entities. If false, the tool's domain of interaction is closed.
|
|
11398
|
+
* For example, the world of a web search tool is open, whereas that
|
|
11399
|
+
* of a memory tool is not.
|
|
11400
|
+
*
|
|
11401
|
+
* Default: true
|
|
11402
|
+
*/
|
|
11403
|
+
openWorldHint: z.ZodOptional<z.ZodBoolean>;
|
|
11404
|
+
}, z.ZodTypeAny, "passthrough">, z.objectInputType<{
|
|
11405
|
+
/**
|
|
11406
|
+
* A human-readable title for the tool.
|
|
11407
|
+
*/
|
|
11408
|
+
title: z.ZodOptional<z.ZodString>;
|
|
11409
|
+
/**
|
|
11410
|
+
* If true, the tool does not modify its environment.
|
|
11411
|
+
*
|
|
11412
|
+
* Default: false
|
|
11413
|
+
*/
|
|
11414
|
+
readOnlyHint: z.ZodOptional<z.ZodBoolean>;
|
|
11415
|
+
/**
|
|
11416
|
+
* If true, the tool may perform destructive updates to its environment.
|
|
11417
|
+
* If false, the tool performs only additive updates.
|
|
11418
|
+
*
|
|
11419
|
+
* (This property is meaningful only when `readOnlyHint == false`)
|
|
11420
|
+
*
|
|
11421
|
+
* Default: true
|
|
11422
|
+
*/
|
|
11423
|
+
destructiveHint: z.ZodOptional<z.ZodBoolean>;
|
|
11424
|
+
/**
|
|
11425
|
+
* If true, calling the tool repeatedly with the same arguments
|
|
11426
|
+
* will have no additional effect on the its environment.
|
|
11427
|
+
*
|
|
11428
|
+
* (This property is meaningful only when `readOnlyHint == false`)
|
|
11429
|
+
*
|
|
11430
|
+
* Default: false
|
|
11431
|
+
*/
|
|
11432
|
+
idempotentHint: z.ZodOptional<z.ZodBoolean>;
|
|
11433
|
+
/**
|
|
11434
|
+
* If true, this tool may interact with an "open world" of external
|
|
11435
|
+
* entities. If false, the tool's domain of interaction is closed.
|
|
11436
|
+
* For example, the world of a web search tool is open, whereas that
|
|
11437
|
+
* of a memory tool is not.
|
|
11438
|
+
*
|
|
11439
|
+
* Default: true
|
|
11440
|
+
*/
|
|
11441
|
+
openWorldHint: z.ZodOptional<z.ZodBoolean>;
|
|
11442
|
+
}, z.ZodTypeAny, "passthrough">>>;
|
|
11443
|
+
}, z.ZodTypeAny, "passthrough">, z.objectInputType<{
|
|
11444
|
+
/**
|
|
11445
|
+
* The name of the tool.
|
|
11446
|
+
*/
|
|
11447
|
+
name: z.ZodString;
|
|
11448
|
+
/**
|
|
11449
|
+
* A human-readable description of the tool.
|
|
11450
|
+
*/
|
|
11451
|
+
description: z.ZodOptional<z.ZodString>;
|
|
11452
|
+
/**
|
|
11453
|
+
* A JSON Schema object defining the expected parameters for the tool.
|
|
11454
|
+
*/
|
|
11455
|
+
inputSchema: z.ZodObject<{
|
|
11456
|
+
type: z.ZodLiteral<"object">;
|
|
11457
|
+
properties: z.ZodOptional<z.ZodObject<{}, "passthrough", z.ZodTypeAny, z.objectOutputType<{}, z.ZodTypeAny, "passthrough">, z.objectInputType<{}, z.ZodTypeAny, "passthrough">>>;
|
|
11458
|
+
}, "passthrough", z.ZodTypeAny, z.objectOutputType<{
|
|
11459
|
+
type: z.ZodLiteral<"object">;
|
|
11460
|
+
properties: z.ZodOptional<z.ZodObject<{}, "passthrough", z.ZodTypeAny, z.objectOutputType<{}, z.ZodTypeAny, "passthrough">, z.objectInputType<{}, z.ZodTypeAny, "passthrough">>>;
|
|
11461
|
+
}, z.ZodTypeAny, "passthrough">, z.objectInputType<{
|
|
11462
|
+
type: z.ZodLiteral<"object">;
|
|
11463
|
+
properties: z.ZodOptional<z.ZodObject<{}, "passthrough", z.ZodTypeAny, z.objectOutputType<{}, z.ZodTypeAny, "passthrough">, z.objectInputType<{}, z.ZodTypeAny, "passthrough">>>;
|
|
11464
|
+
}, z.ZodTypeAny, "passthrough">>;
|
|
11465
|
+
/**
|
|
11466
|
+
* Optional additional tool information.
|
|
11467
|
+
*/
|
|
11468
|
+
annotations: z.ZodOptional<z.ZodObject<{
|
|
11469
|
+
/**
|
|
11470
|
+
* A human-readable title for the tool.
|
|
11471
|
+
*/
|
|
11472
|
+
title: z.ZodOptional<z.ZodString>;
|
|
11473
|
+
/**
|
|
11474
|
+
* If true, the tool does not modify its environment.
|
|
11475
|
+
*
|
|
11476
|
+
* Default: false
|
|
11477
|
+
*/
|
|
11478
|
+
readOnlyHint: z.ZodOptional<z.ZodBoolean>;
|
|
11479
|
+
/**
|
|
11480
|
+
* If true, the tool may perform destructive updates to its environment.
|
|
11481
|
+
* If false, the tool performs only additive updates.
|
|
11482
|
+
*
|
|
11483
|
+
* (This property is meaningful only when `readOnlyHint == false`)
|
|
11484
|
+
*
|
|
11485
|
+
* Default: true
|
|
11486
|
+
*/
|
|
11487
|
+
destructiveHint: z.ZodOptional<z.ZodBoolean>;
|
|
11488
|
+
/**
|
|
11489
|
+
* If true, calling the tool repeatedly with the same arguments
|
|
11490
|
+
* will have no additional effect on the its environment.
|
|
11491
|
+
*
|
|
11492
|
+
* (This property is meaningful only when `readOnlyHint == false`)
|
|
11493
|
+
*
|
|
11494
|
+
* Default: false
|
|
11495
|
+
*/
|
|
11496
|
+
idempotentHint: z.ZodOptional<z.ZodBoolean>;
|
|
11497
|
+
/**
|
|
11498
|
+
* If true, this tool may interact with an "open world" of external
|
|
11499
|
+
* entities. If false, the tool's domain of interaction is closed.
|
|
11500
|
+
* For example, the world of a web search tool is open, whereas that
|
|
11501
|
+
* of a memory tool is not.
|
|
11502
|
+
*
|
|
11503
|
+
* Default: true
|
|
11504
|
+
*/
|
|
11505
|
+
openWorldHint: z.ZodOptional<z.ZodBoolean>;
|
|
11506
|
+
}, "passthrough", z.ZodTypeAny, z.objectOutputType<{
|
|
11507
|
+
/**
|
|
11508
|
+
* A human-readable title for the tool.
|
|
11509
|
+
*/
|
|
11510
|
+
title: z.ZodOptional<z.ZodString>;
|
|
11511
|
+
/**
|
|
11512
|
+
* If true, the tool does not modify its environment.
|
|
11513
|
+
*
|
|
11514
|
+
* Default: false
|
|
11515
|
+
*/
|
|
11516
|
+
readOnlyHint: z.ZodOptional<z.ZodBoolean>;
|
|
11517
|
+
/**
|
|
11518
|
+
* If true, the tool may perform destructive updates to its environment.
|
|
11519
|
+
* If false, the tool performs only additive updates.
|
|
11520
|
+
*
|
|
11521
|
+
* (This property is meaningful only when `readOnlyHint == false`)
|
|
11522
|
+
*
|
|
11523
|
+
* Default: true
|
|
11524
|
+
*/
|
|
11525
|
+
destructiveHint: z.ZodOptional<z.ZodBoolean>;
|
|
11526
|
+
/**
|
|
11527
|
+
* If true, calling the tool repeatedly with the same arguments
|
|
11528
|
+
* will have no additional effect on the its environment.
|
|
11529
|
+
*
|
|
11530
|
+
* (This property is meaningful only when `readOnlyHint == false`)
|
|
11531
|
+
*
|
|
11532
|
+
* Default: false
|
|
11533
|
+
*/
|
|
11534
|
+
idempotentHint: z.ZodOptional<z.ZodBoolean>;
|
|
11535
|
+
/**
|
|
11536
|
+
* If true, this tool may interact with an "open world" of external
|
|
11537
|
+
* entities. If false, the tool's domain of interaction is closed.
|
|
11538
|
+
* For example, the world of a web search tool is open, whereas that
|
|
11539
|
+
* of a memory tool is not.
|
|
11540
|
+
*
|
|
11541
|
+
* Default: true
|
|
11542
|
+
*/
|
|
11543
|
+
openWorldHint: z.ZodOptional<z.ZodBoolean>;
|
|
11544
|
+
}, z.ZodTypeAny, "passthrough">, z.objectInputType<{
|
|
11545
|
+
/**
|
|
11546
|
+
* A human-readable title for the tool.
|
|
11547
|
+
*/
|
|
11548
|
+
title: z.ZodOptional<z.ZodString>;
|
|
11549
|
+
/**
|
|
11550
|
+
* If true, the tool does not modify its environment.
|
|
11551
|
+
*
|
|
11552
|
+
* Default: false
|
|
11553
|
+
*/
|
|
11554
|
+
readOnlyHint: z.ZodOptional<z.ZodBoolean>;
|
|
11555
|
+
/**
|
|
11556
|
+
* If true, the tool may perform destructive updates to its environment.
|
|
11557
|
+
* If false, the tool performs only additive updates.
|
|
11558
|
+
*
|
|
11559
|
+
* (This property is meaningful only when `readOnlyHint == false`)
|
|
11560
|
+
*
|
|
11561
|
+
* Default: true
|
|
11562
|
+
*/
|
|
11563
|
+
destructiveHint: z.ZodOptional<z.ZodBoolean>;
|
|
11564
|
+
/**
|
|
11565
|
+
* If true, calling the tool repeatedly with the same arguments
|
|
11566
|
+
* will have no additional effect on the its environment.
|
|
11567
|
+
*
|
|
11568
|
+
* (This property is meaningful only when `readOnlyHint == false`)
|
|
11569
|
+
*
|
|
11570
|
+
* Default: false
|
|
11571
|
+
*/
|
|
11572
|
+
idempotentHint: z.ZodOptional<z.ZodBoolean>;
|
|
11573
|
+
/**
|
|
11574
|
+
* If true, this tool may interact with an "open world" of external
|
|
11575
|
+
* entities. If false, the tool's domain of interaction is closed.
|
|
11576
|
+
* For example, the world of a web search tool is open, whereas that
|
|
11577
|
+
* of a memory tool is not.
|
|
11578
|
+
*
|
|
11579
|
+
* Default: true
|
|
11580
|
+
*/
|
|
11581
|
+
openWorldHint: z.ZodOptional<z.ZodBoolean>;
|
|
11582
|
+
}, z.ZodTypeAny, "passthrough">>>;
|
|
10734
11583
|
}, z.ZodTypeAny, "passthrough">>, "many">;
|
|
10735
11584
|
}>, "passthrough", z.ZodTypeAny, z.objectOutputType<z.objectUtil.extendShape<z.objectUtil.extendShape<{
|
|
10736
11585
|
/**
|
|
@@ -10766,6 +11615,124 @@ export declare const ListToolsResultSchema: z.ZodObject<z.objectUtil.extendShape
|
|
|
10766
11615
|
type: z.ZodLiteral<"object">;
|
|
10767
11616
|
properties: z.ZodOptional<z.ZodObject<{}, "passthrough", z.ZodTypeAny, z.objectOutputType<{}, z.ZodTypeAny, "passthrough">, z.objectInputType<{}, z.ZodTypeAny, "passthrough">>>;
|
|
10768
11617
|
}, z.ZodTypeAny, "passthrough">>;
|
|
11618
|
+
/**
|
|
11619
|
+
* Optional additional tool information.
|
|
11620
|
+
*/
|
|
11621
|
+
annotations: z.ZodOptional<z.ZodObject<{
|
|
11622
|
+
/**
|
|
11623
|
+
* A human-readable title for the tool.
|
|
11624
|
+
*/
|
|
11625
|
+
title: z.ZodOptional<z.ZodString>;
|
|
11626
|
+
/**
|
|
11627
|
+
* If true, the tool does not modify its environment.
|
|
11628
|
+
*
|
|
11629
|
+
* Default: false
|
|
11630
|
+
*/
|
|
11631
|
+
readOnlyHint: z.ZodOptional<z.ZodBoolean>;
|
|
11632
|
+
/**
|
|
11633
|
+
* If true, the tool may perform destructive updates to its environment.
|
|
11634
|
+
* If false, the tool performs only additive updates.
|
|
11635
|
+
*
|
|
11636
|
+
* (This property is meaningful only when `readOnlyHint == false`)
|
|
11637
|
+
*
|
|
11638
|
+
* Default: true
|
|
11639
|
+
*/
|
|
11640
|
+
destructiveHint: z.ZodOptional<z.ZodBoolean>;
|
|
11641
|
+
/**
|
|
11642
|
+
* If true, calling the tool repeatedly with the same arguments
|
|
11643
|
+
* will have no additional effect on the its environment.
|
|
11644
|
+
*
|
|
11645
|
+
* (This property is meaningful only when `readOnlyHint == false`)
|
|
11646
|
+
*
|
|
11647
|
+
* Default: false
|
|
11648
|
+
*/
|
|
11649
|
+
idempotentHint: z.ZodOptional<z.ZodBoolean>;
|
|
11650
|
+
/**
|
|
11651
|
+
* If true, this tool may interact with an "open world" of external
|
|
11652
|
+
* entities. If false, the tool's domain of interaction is closed.
|
|
11653
|
+
* For example, the world of a web search tool is open, whereas that
|
|
11654
|
+
* of a memory tool is not.
|
|
11655
|
+
*
|
|
11656
|
+
* Default: true
|
|
11657
|
+
*/
|
|
11658
|
+
openWorldHint: z.ZodOptional<z.ZodBoolean>;
|
|
11659
|
+
}, "passthrough", z.ZodTypeAny, z.objectOutputType<{
|
|
11660
|
+
/**
|
|
11661
|
+
* A human-readable title for the tool.
|
|
11662
|
+
*/
|
|
11663
|
+
title: z.ZodOptional<z.ZodString>;
|
|
11664
|
+
/**
|
|
11665
|
+
* If true, the tool does not modify its environment.
|
|
11666
|
+
*
|
|
11667
|
+
* Default: false
|
|
11668
|
+
*/
|
|
11669
|
+
readOnlyHint: z.ZodOptional<z.ZodBoolean>;
|
|
11670
|
+
/**
|
|
11671
|
+
* If true, the tool may perform destructive updates to its environment.
|
|
11672
|
+
* If false, the tool performs only additive updates.
|
|
11673
|
+
*
|
|
11674
|
+
* (This property is meaningful only when `readOnlyHint == false`)
|
|
11675
|
+
*
|
|
11676
|
+
* Default: true
|
|
11677
|
+
*/
|
|
11678
|
+
destructiveHint: z.ZodOptional<z.ZodBoolean>;
|
|
11679
|
+
/**
|
|
11680
|
+
* If true, calling the tool repeatedly with the same arguments
|
|
11681
|
+
* will have no additional effect on the its environment.
|
|
11682
|
+
*
|
|
11683
|
+
* (This property is meaningful only when `readOnlyHint == false`)
|
|
11684
|
+
*
|
|
11685
|
+
* Default: false
|
|
11686
|
+
*/
|
|
11687
|
+
idempotentHint: z.ZodOptional<z.ZodBoolean>;
|
|
11688
|
+
/**
|
|
11689
|
+
* If true, this tool may interact with an "open world" of external
|
|
11690
|
+
* entities. If false, the tool's domain of interaction is closed.
|
|
11691
|
+
* For example, the world of a web search tool is open, whereas that
|
|
11692
|
+
* of a memory tool is not.
|
|
11693
|
+
*
|
|
11694
|
+
* Default: true
|
|
11695
|
+
*/
|
|
11696
|
+
openWorldHint: z.ZodOptional<z.ZodBoolean>;
|
|
11697
|
+
}, z.ZodTypeAny, "passthrough">, z.objectInputType<{
|
|
11698
|
+
/**
|
|
11699
|
+
* A human-readable title for the tool.
|
|
11700
|
+
*/
|
|
11701
|
+
title: z.ZodOptional<z.ZodString>;
|
|
11702
|
+
/**
|
|
11703
|
+
* If true, the tool does not modify its environment.
|
|
11704
|
+
*
|
|
11705
|
+
* Default: false
|
|
11706
|
+
*/
|
|
11707
|
+
readOnlyHint: z.ZodOptional<z.ZodBoolean>;
|
|
11708
|
+
/**
|
|
11709
|
+
* If true, the tool may perform destructive updates to its environment.
|
|
11710
|
+
* If false, the tool performs only additive updates.
|
|
11711
|
+
*
|
|
11712
|
+
* (This property is meaningful only when `readOnlyHint == false`)
|
|
11713
|
+
*
|
|
11714
|
+
* Default: true
|
|
11715
|
+
*/
|
|
11716
|
+
destructiveHint: z.ZodOptional<z.ZodBoolean>;
|
|
11717
|
+
/**
|
|
11718
|
+
* If true, calling the tool repeatedly with the same arguments
|
|
11719
|
+
* will have no additional effect on the its environment.
|
|
11720
|
+
*
|
|
11721
|
+
* (This property is meaningful only when `readOnlyHint == false`)
|
|
11722
|
+
*
|
|
11723
|
+
* Default: false
|
|
11724
|
+
*/
|
|
11725
|
+
idempotentHint: z.ZodOptional<z.ZodBoolean>;
|
|
11726
|
+
/**
|
|
11727
|
+
* If true, this tool may interact with an "open world" of external
|
|
11728
|
+
* entities. If false, the tool's domain of interaction is closed.
|
|
11729
|
+
* For example, the world of a web search tool is open, whereas that
|
|
11730
|
+
* of a memory tool is not.
|
|
11731
|
+
*
|
|
11732
|
+
* Default: true
|
|
11733
|
+
*/
|
|
11734
|
+
openWorldHint: z.ZodOptional<z.ZodBoolean>;
|
|
11735
|
+
}, z.ZodTypeAny, "passthrough">>>;
|
|
10769
11736
|
}, "passthrough", z.ZodTypeAny, z.objectOutputType<{
|
|
10770
11737
|
/**
|
|
10771
11738
|
* The name of the tool.
|
|
@@ -10788,6 +11755,124 @@ export declare const ListToolsResultSchema: z.ZodObject<z.objectUtil.extendShape
|
|
|
10788
11755
|
type: z.ZodLiteral<"object">;
|
|
10789
11756
|
properties: z.ZodOptional<z.ZodObject<{}, "passthrough", z.ZodTypeAny, z.objectOutputType<{}, z.ZodTypeAny, "passthrough">, z.objectInputType<{}, z.ZodTypeAny, "passthrough">>>;
|
|
10790
11757
|
}, z.ZodTypeAny, "passthrough">>;
|
|
11758
|
+
/**
|
|
11759
|
+
* Optional additional tool information.
|
|
11760
|
+
*/
|
|
11761
|
+
annotations: z.ZodOptional<z.ZodObject<{
|
|
11762
|
+
/**
|
|
11763
|
+
* A human-readable title for the tool.
|
|
11764
|
+
*/
|
|
11765
|
+
title: z.ZodOptional<z.ZodString>;
|
|
11766
|
+
/**
|
|
11767
|
+
* If true, the tool does not modify its environment.
|
|
11768
|
+
*
|
|
11769
|
+
* Default: false
|
|
11770
|
+
*/
|
|
11771
|
+
readOnlyHint: z.ZodOptional<z.ZodBoolean>;
|
|
11772
|
+
/**
|
|
11773
|
+
* If true, the tool may perform destructive updates to its environment.
|
|
11774
|
+
* If false, the tool performs only additive updates.
|
|
11775
|
+
*
|
|
11776
|
+
* (This property is meaningful only when `readOnlyHint == false`)
|
|
11777
|
+
*
|
|
11778
|
+
* Default: true
|
|
11779
|
+
*/
|
|
11780
|
+
destructiveHint: z.ZodOptional<z.ZodBoolean>;
|
|
11781
|
+
/**
|
|
11782
|
+
* If true, calling the tool repeatedly with the same arguments
|
|
11783
|
+
* will have no additional effect on the its environment.
|
|
11784
|
+
*
|
|
11785
|
+
* (This property is meaningful only when `readOnlyHint == false`)
|
|
11786
|
+
*
|
|
11787
|
+
* Default: false
|
|
11788
|
+
*/
|
|
11789
|
+
idempotentHint: z.ZodOptional<z.ZodBoolean>;
|
|
11790
|
+
/**
|
|
11791
|
+
* If true, this tool may interact with an "open world" of external
|
|
11792
|
+
* entities. If false, the tool's domain of interaction is closed.
|
|
11793
|
+
* For example, the world of a web search tool is open, whereas that
|
|
11794
|
+
* of a memory tool is not.
|
|
11795
|
+
*
|
|
11796
|
+
* Default: true
|
|
11797
|
+
*/
|
|
11798
|
+
openWorldHint: z.ZodOptional<z.ZodBoolean>;
|
|
11799
|
+
}, "passthrough", z.ZodTypeAny, z.objectOutputType<{
|
|
11800
|
+
/**
|
|
11801
|
+
* A human-readable title for the tool.
|
|
11802
|
+
*/
|
|
11803
|
+
title: z.ZodOptional<z.ZodString>;
|
|
11804
|
+
/**
|
|
11805
|
+
* If true, the tool does not modify its environment.
|
|
11806
|
+
*
|
|
11807
|
+
* Default: false
|
|
11808
|
+
*/
|
|
11809
|
+
readOnlyHint: z.ZodOptional<z.ZodBoolean>;
|
|
11810
|
+
/**
|
|
11811
|
+
* If true, the tool may perform destructive updates to its environment.
|
|
11812
|
+
* If false, the tool performs only additive updates.
|
|
11813
|
+
*
|
|
11814
|
+
* (This property is meaningful only when `readOnlyHint == false`)
|
|
11815
|
+
*
|
|
11816
|
+
* Default: true
|
|
11817
|
+
*/
|
|
11818
|
+
destructiveHint: z.ZodOptional<z.ZodBoolean>;
|
|
11819
|
+
/**
|
|
11820
|
+
* If true, calling the tool repeatedly with the same arguments
|
|
11821
|
+
* will have no additional effect on the its environment.
|
|
11822
|
+
*
|
|
11823
|
+
* (This property is meaningful only when `readOnlyHint == false`)
|
|
11824
|
+
*
|
|
11825
|
+
* Default: false
|
|
11826
|
+
*/
|
|
11827
|
+
idempotentHint: z.ZodOptional<z.ZodBoolean>;
|
|
11828
|
+
/**
|
|
11829
|
+
* If true, this tool may interact with an "open world" of external
|
|
11830
|
+
* entities. If false, the tool's domain of interaction is closed.
|
|
11831
|
+
* For example, the world of a web search tool is open, whereas that
|
|
11832
|
+
* of a memory tool is not.
|
|
11833
|
+
*
|
|
11834
|
+
* Default: true
|
|
11835
|
+
*/
|
|
11836
|
+
openWorldHint: z.ZodOptional<z.ZodBoolean>;
|
|
11837
|
+
}, z.ZodTypeAny, "passthrough">, z.objectInputType<{
|
|
11838
|
+
/**
|
|
11839
|
+
* A human-readable title for the tool.
|
|
11840
|
+
*/
|
|
11841
|
+
title: z.ZodOptional<z.ZodString>;
|
|
11842
|
+
/**
|
|
11843
|
+
* If true, the tool does not modify its environment.
|
|
11844
|
+
*
|
|
11845
|
+
* Default: false
|
|
11846
|
+
*/
|
|
11847
|
+
readOnlyHint: z.ZodOptional<z.ZodBoolean>;
|
|
11848
|
+
/**
|
|
11849
|
+
* If true, the tool may perform destructive updates to its environment.
|
|
11850
|
+
* If false, the tool performs only additive updates.
|
|
11851
|
+
*
|
|
11852
|
+
* (This property is meaningful only when `readOnlyHint == false`)
|
|
11853
|
+
*
|
|
11854
|
+
* Default: true
|
|
11855
|
+
*/
|
|
11856
|
+
destructiveHint: z.ZodOptional<z.ZodBoolean>;
|
|
11857
|
+
/**
|
|
11858
|
+
* If true, calling the tool repeatedly with the same arguments
|
|
11859
|
+
* will have no additional effect on the its environment.
|
|
11860
|
+
*
|
|
11861
|
+
* (This property is meaningful only when `readOnlyHint == false`)
|
|
11862
|
+
*
|
|
11863
|
+
* Default: false
|
|
11864
|
+
*/
|
|
11865
|
+
idempotentHint: z.ZodOptional<z.ZodBoolean>;
|
|
11866
|
+
/**
|
|
11867
|
+
* If true, this tool may interact with an "open world" of external
|
|
11868
|
+
* entities. If false, the tool's domain of interaction is closed.
|
|
11869
|
+
* For example, the world of a web search tool is open, whereas that
|
|
11870
|
+
* of a memory tool is not.
|
|
11871
|
+
*
|
|
11872
|
+
* Default: true
|
|
11873
|
+
*/
|
|
11874
|
+
openWorldHint: z.ZodOptional<z.ZodBoolean>;
|
|
11875
|
+
}, z.ZodTypeAny, "passthrough">>>;
|
|
10791
11876
|
}, z.ZodTypeAny, "passthrough">, z.objectInputType<{
|
|
10792
11877
|
/**
|
|
10793
11878
|
* The name of the tool.
|
|
@@ -10810,6 +11895,124 @@ export declare const ListToolsResultSchema: z.ZodObject<z.objectUtil.extendShape
|
|
|
10810
11895
|
type: z.ZodLiteral<"object">;
|
|
10811
11896
|
properties: z.ZodOptional<z.ZodObject<{}, "passthrough", z.ZodTypeAny, z.objectOutputType<{}, z.ZodTypeAny, "passthrough">, z.objectInputType<{}, z.ZodTypeAny, "passthrough">>>;
|
|
10812
11897
|
}, z.ZodTypeAny, "passthrough">>;
|
|
11898
|
+
/**
|
|
11899
|
+
* Optional additional tool information.
|
|
11900
|
+
*/
|
|
11901
|
+
annotations: z.ZodOptional<z.ZodObject<{
|
|
11902
|
+
/**
|
|
11903
|
+
* A human-readable title for the tool.
|
|
11904
|
+
*/
|
|
11905
|
+
title: z.ZodOptional<z.ZodString>;
|
|
11906
|
+
/**
|
|
11907
|
+
* If true, the tool does not modify its environment.
|
|
11908
|
+
*
|
|
11909
|
+
* Default: false
|
|
11910
|
+
*/
|
|
11911
|
+
readOnlyHint: z.ZodOptional<z.ZodBoolean>;
|
|
11912
|
+
/**
|
|
11913
|
+
* If true, the tool may perform destructive updates to its environment.
|
|
11914
|
+
* If false, the tool performs only additive updates.
|
|
11915
|
+
*
|
|
11916
|
+
* (This property is meaningful only when `readOnlyHint == false`)
|
|
11917
|
+
*
|
|
11918
|
+
* Default: true
|
|
11919
|
+
*/
|
|
11920
|
+
destructiveHint: z.ZodOptional<z.ZodBoolean>;
|
|
11921
|
+
/**
|
|
11922
|
+
* If true, calling the tool repeatedly with the same arguments
|
|
11923
|
+
* will have no additional effect on the its environment.
|
|
11924
|
+
*
|
|
11925
|
+
* (This property is meaningful only when `readOnlyHint == false`)
|
|
11926
|
+
*
|
|
11927
|
+
* Default: false
|
|
11928
|
+
*/
|
|
11929
|
+
idempotentHint: z.ZodOptional<z.ZodBoolean>;
|
|
11930
|
+
/**
|
|
11931
|
+
* If true, this tool may interact with an "open world" of external
|
|
11932
|
+
* entities. If false, the tool's domain of interaction is closed.
|
|
11933
|
+
* For example, the world of a web search tool is open, whereas that
|
|
11934
|
+
* of a memory tool is not.
|
|
11935
|
+
*
|
|
11936
|
+
* Default: true
|
|
11937
|
+
*/
|
|
11938
|
+
openWorldHint: z.ZodOptional<z.ZodBoolean>;
|
|
11939
|
+
}, "passthrough", z.ZodTypeAny, z.objectOutputType<{
|
|
11940
|
+
/**
|
|
11941
|
+
* A human-readable title for the tool.
|
|
11942
|
+
*/
|
|
11943
|
+
title: z.ZodOptional<z.ZodString>;
|
|
11944
|
+
/**
|
|
11945
|
+
* If true, the tool does not modify its environment.
|
|
11946
|
+
*
|
|
11947
|
+
* Default: false
|
|
11948
|
+
*/
|
|
11949
|
+
readOnlyHint: z.ZodOptional<z.ZodBoolean>;
|
|
11950
|
+
/**
|
|
11951
|
+
* If true, the tool may perform destructive updates to its environment.
|
|
11952
|
+
* If false, the tool performs only additive updates.
|
|
11953
|
+
*
|
|
11954
|
+
* (This property is meaningful only when `readOnlyHint == false`)
|
|
11955
|
+
*
|
|
11956
|
+
* Default: true
|
|
11957
|
+
*/
|
|
11958
|
+
destructiveHint: z.ZodOptional<z.ZodBoolean>;
|
|
11959
|
+
/**
|
|
11960
|
+
* If true, calling the tool repeatedly with the same arguments
|
|
11961
|
+
* will have no additional effect on the its environment.
|
|
11962
|
+
*
|
|
11963
|
+
* (This property is meaningful only when `readOnlyHint == false`)
|
|
11964
|
+
*
|
|
11965
|
+
* Default: false
|
|
11966
|
+
*/
|
|
11967
|
+
idempotentHint: z.ZodOptional<z.ZodBoolean>;
|
|
11968
|
+
/**
|
|
11969
|
+
* If true, this tool may interact with an "open world" of external
|
|
11970
|
+
* entities. If false, the tool's domain of interaction is closed.
|
|
11971
|
+
* For example, the world of a web search tool is open, whereas that
|
|
11972
|
+
* of a memory tool is not.
|
|
11973
|
+
*
|
|
11974
|
+
* Default: true
|
|
11975
|
+
*/
|
|
11976
|
+
openWorldHint: z.ZodOptional<z.ZodBoolean>;
|
|
11977
|
+
}, z.ZodTypeAny, "passthrough">, z.objectInputType<{
|
|
11978
|
+
/**
|
|
11979
|
+
* A human-readable title for the tool.
|
|
11980
|
+
*/
|
|
11981
|
+
title: z.ZodOptional<z.ZodString>;
|
|
11982
|
+
/**
|
|
11983
|
+
* If true, the tool does not modify its environment.
|
|
11984
|
+
*
|
|
11985
|
+
* Default: false
|
|
11986
|
+
*/
|
|
11987
|
+
readOnlyHint: z.ZodOptional<z.ZodBoolean>;
|
|
11988
|
+
/**
|
|
11989
|
+
* If true, the tool may perform destructive updates to its environment.
|
|
11990
|
+
* If false, the tool performs only additive updates.
|
|
11991
|
+
*
|
|
11992
|
+
* (This property is meaningful only when `readOnlyHint == false`)
|
|
11993
|
+
*
|
|
11994
|
+
* Default: true
|
|
11995
|
+
*/
|
|
11996
|
+
destructiveHint: z.ZodOptional<z.ZodBoolean>;
|
|
11997
|
+
/**
|
|
11998
|
+
* If true, calling the tool repeatedly with the same arguments
|
|
11999
|
+
* will have no additional effect on the its environment.
|
|
12000
|
+
*
|
|
12001
|
+
* (This property is meaningful only when `readOnlyHint == false`)
|
|
12002
|
+
*
|
|
12003
|
+
* Default: false
|
|
12004
|
+
*/
|
|
12005
|
+
idempotentHint: z.ZodOptional<z.ZodBoolean>;
|
|
12006
|
+
/**
|
|
12007
|
+
* If true, this tool may interact with an "open world" of external
|
|
12008
|
+
* entities. If false, the tool's domain of interaction is closed.
|
|
12009
|
+
* For example, the world of a web search tool is open, whereas that
|
|
12010
|
+
* of a memory tool is not.
|
|
12011
|
+
*
|
|
12012
|
+
* Default: true
|
|
12013
|
+
*/
|
|
12014
|
+
openWorldHint: z.ZodOptional<z.ZodBoolean>;
|
|
12015
|
+
}, z.ZodTypeAny, "passthrough">>>;
|
|
10813
12016
|
}, z.ZodTypeAny, "passthrough">>, "many">;
|
|
10814
12017
|
}>, z.ZodTypeAny, "passthrough">, z.objectInputType<z.objectUtil.extendShape<z.objectUtil.extendShape<{
|
|
10815
12018
|
/**
|
|
@@ -10845,6 +12048,124 @@ export declare const ListToolsResultSchema: z.ZodObject<z.objectUtil.extendShape
|
|
|
10845
12048
|
type: z.ZodLiteral<"object">;
|
|
10846
12049
|
properties: z.ZodOptional<z.ZodObject<{}, "passthrough", z.ZodTypeAny, z.objectOutputType<{}, z.ZodTypeAny, "passthrough">, z.objectInputType<{}, z.ZodTypeAny, "passthrough">>>;
|
|
10847
12050
|
}, z.ZodTypeAny, "passthrough">>;
|
|
12051
|
+
/**
|
|
12052
|
+
* Optional additional tool information.
|
|
12053
|
+
*/
|
|
12054
|
+
annotations: z.ZodOptional<z.ZodObject<{
|
|
12055
|
+
/**
|
|
12056
|
+
* A human-readable title for the tool.
|
|
12057
|
+
*/
|
|
12058
|
+
title: z.ZodOptional<z.ZodString>;
|
|
12059
|
+
/**
|
|
12060
|
+
* If true, the tool does not modify its environment.
|
|
12061
|
+
*
|
|
12062
|
+
* Default: false
|
|
12063
|
+
*/
|
|
12064
|
+
readOnlyHint: z.ZodOptional<z.ZodBoolean>;
|
|
12065
|
+
/**
|
|
12066
|
+
* If true, the tool may perform destructive updates to its environment.
|
|
12067
|
+
* If false, the tool performs only additive updates.
|
|
12068
|
+
*
|
|
12069
|
+
* (This property is meaningful only when `readOnlyHint == false`)
|
|
12070
|
+
*
|
|
12071
|
+
* Default: true
|
|
12072
|
+
*/
|
|
12073
|
+
destructiveHint: z.ZodOptional<z.ZodBoolean>;
|
|
12074
|
+
/**
|
|
12075
|
+
* If true, calling the tool repeatedly with the same arguments
|
|
12076
|
+
* will have no additional effect on the its environment.
|
|
12077
|
+
*
|
|
12078
|
+
* (This property is meaningful only when `readOnlyHint == false`)
|
|
12079
|
+
*
|
|
12080
|
+
* Default: false
|
|
12081
|
+
*/
|
|
12082
|
+
idempotentHint: z.ZodOptional<z.ZodBoolean>;
|
|
12083
|
+
/**
|
|
12084
|
+
* If true, this tool may interact with an "open world" of external
|
|
12085
|
+
* entities. If false, the tool's domain of interaction is closed.
|
|
12086
|
+
* For example, the world of a web search tool is open, whereas that
|
|
12087
|
+
* of a memory tool is not.
|
|
12088
|
+
*
|
|
12089
|
+
* Default: true
|
|
12090
|
+
*/
|
|
12091
|
+
openWorldHint: z.ZodOptional<z.ZodBoolean>;
|
|
12092
|
+
}, "passthrough", z.ZodTypeAny, z.objectOutputType<{
|
|
12093
|
+
/**
|
|
12094
|
+
* A human-readable title for the tool.
|
|
12095
|
+
*/
|
|
12096
|
+
title: z.ZodOptional<z.ZodString>;
|
|
12097
|
+
/**
|
|
12098
|
+
* If true, the tool does not modify its environment.
|
|
12099
|
+
*
|
|
12100
|
+
* Default: false
|
|
12101
|
+
*/
|
|
12102
|
+
readOnlyHint: z.ZodOptional<z.ZodBoolean>;
|
|
12103
|
+
/**
|
|
12104
|
+
* If true, the tool may perform destructive updates to its environment.
|
|
12105
|
+
* If false, the tool performs only additive updates.
|
|
12106
|
+
*
|
|
12107
|
+
* (This property is meaningful only when `readOnlyHint == false`)
|
|
12108
|
+
*
|
|
12109
|
+
* Default: true
|
|
12110
|
+
*/
|
|
12111
|
+
destructiveHint: z.ZodOptional<z.ZodBoolean>;
|
|
12112
|
+
/**
|
|
12113
|
+
* If true, calling the tool repeatedly with the same arguments
|
|
12114
|
+
* will have no additional effect on the its environment.
|
|
12115
|
+
*
|
|
12116
|
+
* (This property is meaningful only when `readOnlyHint == false`)
|
|
12117
|
+
*
|
|
12118
|
+
* Default: false
|
|
12119
|
+
*/
|
|
12120
|
+
idempotentHint: z.ZodOptional<z.ZodBoolean>;
|
|
12121
|
+
/**
|
|
12122
|
+
* If true, this tool may interact with an "open world" of external
|
|
12123
|
+
* entities. If false, the tool's domain of interaction is closed.
|
|
12124
|
+
* For example, the world of a web search tool is open, whereas that
|
|
12125
|
+
* of a memory tool is not.
|
|
12126
|
+
*
|
|
12127
|
+
* Default: true
|
|
12128
|
+
*/
|
|
12129
|
+
openWorldHint: z.ZodOptional<z.ZodBoolean>;
|
|
12130
|
+
}, z.ZodTypeAny, "passthrough">, z.objectInputType<{
|
|
12131
|
+
/**
|
|
12132
|
+
* A human-readable title for the tool.
|
|
12133
|
+
*/
|
|
12134
|
+
title: z.ZodOptional<z.ZodString>;
|
|
12135
|
+
/**
|
|
12136
|
+
* If true, the tool does not modify its environment.
|
|
12137
|
+
*
|
|
12138
|
+
* Default: false
|
|
12139
|
+
*/
|
|
12140
|
+
readOnlyHint: z.ZodOptional<z.ZodBoolean>;
|
|
12141
|
+
/**
|
|
12142
|
+
* If true, the tool may perform destructive updates to its environment.
|
|
12143
|
+
* If false, the tool performs only additive updates.
|
|
12144
|
+
*
|
|
12145
|
+
* (This property is meaningful only when `readOnlyHint == false`)
|
|
12146
|
+
*
|
|
12147
|
+
* Default: true
|
|
12148
|
+
*/
|
|
12149
|
+
destructiveHint: z.ZodOptional<z.ZodBoolean>;
|
|
12150
|
+
/**
|
|
12151
|
+
* If true, calling the tool repeatedly with the same arguments
|
|
12152
|
+
* will have no additional effect on the its environment.
|
|
12153
|
+
*
|
|
12154
|
+
* (This property is meaningful only when `readOnlyHint == false`)
|
|
12155
|
+
*
|
|
12156
|
+
* Default: false
|
|
12157
|
+
*/
|
|
12158
|
+
idempotentHint: z.ZodOptional<z.ZodBoolean>;
|
|
12159
|
+
/**
|
|
12160
|
+
* If true, this tool may interact with an "open world" of external
|
|
12161
|
+
* entities. If false, the tool's domain of interaction is closed.
|
|
12162
|
+
* For example, the world of a web search tool is open, whereas that
|
|
12163
|
+
* of a memory tool is not.
|
|
12164
|
+
*
|
|
12165
|
+
* Default: true
|
|
12166
|
+
*/
|
|
12167
|
+
openWorldHint: z.ZodOptional<z.ZodBoolean>;
|
|
12168
|
+
}, z.ZodTypeAny, "passthrough">>>;
|
|
10848
12169
|
}, "passthrough", z.ZodTypeAny, z.objectOutputType<{
|
|
10849
12170
|
/**
|
|
10850
12171
|
* The name of the tool.
|
|
@@ -10867,6 +12188,124 @@ export declare const ListToolsResultSchema: z.ZodObject<z.objectUtil.extendShape
|
|
|
10867
12188
|
type: z.ZodLiteral<"object">;
|
|
10868
12189
|
properties: z.ZodOptional<z.ZodObject<{}, "passthrough", z.ZodTypeAny, z.objectOutputType<{}, z.ZodTypeAny, "passthrough">, z.objectInputType<{}, z.ZodTypeAny, "passthrough">>>;
|
|
10869
12190
|
}, z.ZodTypeAny, "passthrough">>;
|
|
12191
|
+
/**
|
|
12192
|
+
* Optional additional tool information.
|
|
12193
|
+
*/
|
|
12194
|
+
annotations: z.ZodOptional<z.ZodObject<{
|
|
12195
|
+
/**
|
|
12196
|
+
* A human-readable title for the tool.
|
|
12197
|
+
*/
|
|
12198
|
+
title: z.ZodOptional<z.ZodString>;
|
|
12199
|
+
/**
|
|
12200
|
+
* If true, the tool does not modify its environment.
|
|
12201
|
+
*
|
|
12202
|
+
* Default: false
|
|
12203
|
+
*/
|
|
12204
|
+
readOnlyHint: z.ZodOptional<z.ZodBoolean>;
|
|
12205
|
+
/**
|
|
12206
|
+
* If true, the tool may perform destructive updates to its environment.
|
|
12207
|
+
* If false, the tool performs only additive updates.
|
|
12208
|
+
*
|
|
12209
|
+
* (This property is meaningful only when `readOnlyHint == false`)
|
|
12210
|
+
*
|
|
12211
|
+
* Default: true
|
|
12212
|
+
*/
|
|
12213
|
+
destructiveHint: z.ZodOptional<z.ZodBoolean>;
|
|
12214
|
+
/**
|
|
12215
|
+
* If true, calling the tool repeatedly with the same arguments
|
|
12216
|
+
* will have no additional effect on the its environment.
|
|
12217
|
+
*
|
|
12218
|
+
* (This property is meaningful only when `readOnlyHint == false`)
|
|
12219
|
+
*
|
|
12220
|
+
* Default: false
|
|
12221
|
+
*/
|
|
12222
|
+
idempotentHint: z.ZodOptional<z.ZodBoolean>;
|
|
12223
|
+
/**
|
|
12224
|
+
* If true, this tool may interact with an "open world" of external
|
|
12225
|
+
* entities. If false, the tool's domain of interaction is closed.
|
|
12226
|
+
* For example, the world of a web search tool is open, whereas that
|
|
12227
|
+
* of a memory tool is not.
|
|
12228
|
+
*
|
|
12229
|
+
* Default: true
|
|
12230
|
+
*/
|
|
12231
|
+
openWorldHint: z.ZodOptional<z.ZodBoolean>;
|
|
12232
|
+
}, "passthrough", z.ZodTypeAny, z.objectOutputType<{
|
|
12233
|
+
/**
|
|
12234
|
+
* A human-readable title for the tool.
|
|
12235
|
+
*/
|
|
12236
|
+
title: z.ZodOptional<z.ZodString>;
|
|
12237
|
+
/**
|
|
12238
|
+
* If true, the tool does not modify its environment.
|
|
12239
|
+
*
|
|
12240
|
+
* Default: false
|
|
12241
|
+
*/
|
|
12242
|
+
readOnlyHint: z.ZodOptional<z.ZodBoolean>;
|
|
12243
|
+
/**
|
|
12244
|
+
* If true, the tool may perform destructive updates to its environment.
|
|
12245
|
+
* If false, the tool performs only additive updates.
|
|
12246
|
+
*
|
|
12247
|
+
* (This property is meaningful only when `readOnlyHint == false`)
|
|
12248
|
+
*
|
|
12249
|
+
* Default: true
|
|
12250
|
+
*/
|
|
12251
|
+
destructiveHint: z.ZodOptional<z.ZodBoolean>;
|
|
12252
|
+
/**
|
|
12253
|
+
* If true, calling the tool repeatedly with the same arguments
|
|
12254
|
+
* will have no additional effect on the its environment.
|
|
12255
|
+
*
|
|
12256
|
+
* (This property is meaningful only when `readOnlyHint == false`)
|
|
12257
|
+
*
|
|
12258
|
+
* Default: false
|
|
12259
|
+
*/
|
|
12260
|
+
idempotentHint: z.ZodOptional<z.ZodBoolean>;
|
|
12261
|
+
/**
|
|
12262
|
+
* If true, this tool may interact with an "open world" of external
|
|
12263
|
+
* entities. If false, the tool's domain of interaction is closed.
|
|
12264
|
+
* For example, the world of a web search tool is open, whereas that
|
|
12265
|
+
* of a memory tool is not.
|
|
12266
|
+
*
|
|
12267
|
+
* Default: true
|
|
12268
|
+
*/
|
|
12269
|
+
openWorldHint: z.ZodOptional<z.ZodBoolean>;
|
|
12270
|
+
}, z.ZodTypeAny, "passthrough">, z.objectInputType<{
|
|
12271
|
+
/**
|
|
12272
|
+
* A human-readable title for the tool.
|
|
12273
|
+
*/
|
|
12274
|
+
title: z.ZodOptional<z.ZodString>;
|
|
12275
|
+
/**
|
|
12276
|
+
* If true, the tool does not modify its environment.
|
|
12277
|
+
*
|
|
12278
|
+
* Default: false
|
|
12279
|
+
*/
|
|
12280
|
+
readOnlyHint: z.ZodOptional<z.ZodBoolean>;
|
|
12281
|
+
/**
|
|
12282
|
+
* If true, the tool may perform destructive updates to its environment.
|
|
12283
|
+
* If false, the tool performs only additive updates.
|
|
12284
|
+
*
|
|
12285
|
+
* (This property is meaningful only when `readOnlyHint == false`)
|
|
12286
|
+
*
|
|
12287
|
+
* Default: true
|
|
12288
|
+
*/
|
|
12289
|
+
destructiveHint: z.ZodOptional<z.ZodBoolean>;
|
|
12290
|
+
/**
|
|
12291
|
+
* If true, calling the tool repeatedly with the same arguments
|
|
12292
|
+
* will have no additional effect on the its environment.
|
|
12293
|
+
*
|
|
12294
|
+
* (This property is meaningful only when `readOnlyHint == false`)
|
|
12295
|
+
*
|
|
12296
|
+
* Default: false
|
|
12297
|
+
*/
|
|
12298
|
+
idempotentHint: z.ZodOptional<z.ZodBoolean>;
|
|
12299
|
+
/**
|
|
12300
|
+
* If true, this tool may interact with an "open world" of external
|
|
12301
|
+
* entities. If false, the tool's domain of interaction is closed.
|
|
12302
|
+
* For example, the world of a web search tool is open, whereas that
|
|
12303
|
+
* of a memory tool is not.
|
|
12304
|
+
*
|
|
12305
|
+
* Default: true
|
|
12306
|
+
*/
|
|
12307
|
+
openWorldHint: z.ZodOptional<z.ZodBoolean>;
|
|
12308
|
+
}, z.ZodTypeAny, "passthrough">>>;
|
|
10870
12309
|
}, z.ZodTypeAny, "passthrough">, z.objectInputType<{
|
|
10871
12310
|
/**
|
|
10872
12311
|
* The name of the tool.
|
|
@@ -10889,6 +12328,124 @@ export declare const ListToolsResultSchema: z.ZodObject<z.objectUtil.extendShape
|
|
|
10889
12328
|
type: z.ZodLiteral<"object">;
|
|
10890
12329
|
properties: z.ZodOptional<z.ZodObject<{}, "passthrough", z.ZodTypeAny, z.objectOutputType<{}, z.ZodTypeAny, "passthrough">, z.objectInputType<{}, z.ZodTypeAny, "passthrough">>>;
|
|
10891
12330
|
}, z.ZodTypeAny, "passthrough">>;
|
|
12331
|
+
/**
|
|
12332
|
+
* Optional additional tool information.
|
|
12333
|
+
*/
|
|
12334
|
+
annotations: z.ZodOptional<z.ZodObject<{
|
|
12335
|
+
/**
|
|
12336
|
+
* A human-readable title for the tool.
|
|
12337
|
+
*/
|
|
12338
|
+
title: z.ZodOptional<z.ZodString>;
|
|
12339
|
+
/**
|
|
12340
|
+
* If true, the tool does not modify its environment.
|
|
12341
|
+
*
|
|
12342
|
+
* Default: false
|
|
12343
|
+
*/
|
|
12344
|
+
readOnlyHint: z.ZodOptional<z.ZodBoolean>;
|
|
12345
|
+
/**
|
|
12346
|
+
* If true, the tool may perform destructive updates to its environment.
|
|
12347
|
+
* If false, the tool performs only additive updates.
|
|
12348
|
+
*
|
|
12349
|
+
* (This property is meaningful only when `readOnlyHint == false`)
|
|
12350
|
+
*
|
|
12351
|
+
* Default: true
|
|
12352
|
+
*/
|
|
12353
|
+
destructiveHint: z.ZodOptional<z.ZodBoolean>;
|
|
12354
|
+
/**
|
|
12355
|
+
* If true, calling the tool repeatedly with the same arguments
|
|
12356
|
+
* will have no additional effect on the its environment.
|
|
12357
|
+
*
|
|
12358
|
+
* (This property is meaningful only when `readOnlyHint == false`)
|
|
12359
|
+
*
|
|
12360
|
+
* Default: false
|
|
12361
|
+
*/
|
|
12362
|
+
idempotentHint: z.ZodOptional<z.ZodBoolean>;
|
|
12363
|
+
/**
|
|
12364
|
+
* If true, this tool may interact with an "open world" of external
|
|
12365
|
+
* entities. If false, the tool's domain of interaction is closed.
|
|
12366
|
+
* For example, the world of a web search tool is open, whereas that
|
|
12367
|
+
* of a memory tool is not.
|
|
12368
|
+
*
|
|
12369
|
+
* Default: true
|
|
12370
|
+
*/
|
|
12371
|
+
openWorldHint: z.ZodOptional<z.ZodBoolean>;
|
|
12372
|
+
}, "passthrough", z.ZodTypeAny, z.objectOutputType<{
|
|
12373
|
+
/**
|
|
12374
|
+
* A human-readable title for the tool.
|
|
12375
|
+
*/
|
|
12376
|
+
title: z.ZodOptional<z.ZodString>;
|
|
12377
|
+
/**
|
|
12378
|
+
* If true, the tool does not modify its environment.
|
|
12379
|
+
*
|
|
12380
|
+
* Default: false
|
|
12381
|
+
*/
|
|
12382
|
+
readOnlyHint: z.ZodOptional<z.ZodBoolean>;
|
|
12383
|
+
/**
|
|
12384
|
+
* If true, the tool may perform destructive updates to its environment.
|
|
12385
|
+
* If false, the tool performs only additive updates.
|
|
12386
|
+
*
|
|
12387
|
+
* (This property is meaningful only when `readOnlyHint == false`)
|
|
12388
|
+
*
|
|
12389
|
+
* Default: true
|
|
12390
|
+
*/
|
|
12391
|
+
destructiveHint: z.ZodOptional<z.ZodBoolean>;
|
|
12392
|
+
/**
|
|
12393
|
+
* If true, calling the tool repeatedly with the same arguments
|
|
12394
|
+
* will have no additional effect on the its environment.
|
|
12395
|
+
*
|
|
12396
|
+
* (This property is meaningful only when `readOnlyHint == false`)
|
|
12397
|
+
*
|
|
12398
|
+
* Default: false
|
|
12399
|
+
*/
|
|
12400
|
+
idempotentHint: z.ZodOptional<z.ZodBoolean>;
|
|
12401
|
+
/**
|
|
12402
|
+
* If true, this tool may interact with an "open world" of external
|
|
12403
|
+
* entities. If false, the tool's domain of interaction is closed.
|
|
12404
|
+
* For example, the world of a web search tool is open, whereas that
|
|
12405
|
+
* of a memory tool is not.
|
|
12406
|
+
*
|
|
12407
|
+
* Default: true
|
|
12408
|
+
*/
|
|
12409
|
+
openWorldHint: z.ZodOptional<z.ZodBoolean>;
|
|
12410
|
+
}, z.ZodTypeAny, "passthrough">, z.objectInputType<{
|
|
12411
|
+
/**
|
|
12412
|
+
* A human-readable title for the tool.
|
|
12413
|
+
*/
|
|
12414
|
+
title: z.ZodOptional<z.ZodString>;
|
|
12415
|
+
/**
|
|
12416
|
+
* If true, the tool does not modify its environment.
|
|
12417
|
+
*
|
|
12418
|
+
* Default: false
|
|
12419
|
+
*/
|
|
12420
|
+
readOnlyHint: z.ZodOptional<z.ZodBoolean>;
|
|
12421
|
+
/**
|
|
12422
|
+
* If true, the tool may perform destructive updates to its environment.
|
|
12423
|
+
* If false, the tool performs only additive updates.
|
|
12424
|
+
*
|
|
12425
|
+
* (This property is meaningful only when `readOnlyHint == false`)
|
|
12426
|
+
*
|
|
12427
|
+
* Default: true
|
|
12428
|
+
*/
|
|
12429
|
+
destructiveHint: z.ZodOptional<z.ZodBoolean>;
|
|
12430
|
+
/**
|
|
12431
|
+
* If true, calling the tool repeatedly with the same arguments
|
|
12432
|
+
* will have no additional effect on the its environment.
|
|
12433
|
+
*
|
|
12434
|
+
* (This property is meaningful only when `readOnlyHint == false`)
|
|
12435
|
+
*
|
|
12436
|
+
* Default: false
|
|
12437
|
+
*/
|
|
12438
|
+
idempotentHint: z.ZodOptional<z.ZodBoolean>;
|
|
12439
|
+
/**
|
|
12440
|
+
* If true, this tool may interact with an "open world" of external
|
|
12441
|
+
* entities. If false, the tool's domain of interaction is closed.
|
|
12442
|
+
* For example, the world of a web search tool is open, whereas that
|
|
12443
|
+
* of a memory tool is not.
|
|
12444
|
+
*
|
|
12445
|
+
* Default: true
|
|
12446
|
+
*/
|
|
12447
|
+
openWorldHint: z.ZodOptional<z.ZodBoolean>;
|
|
12448
|
+
}, z.ZodTypeAny, "passthrough">>>;
|
|
10892
12449
|
}, z.ZodTypeAny, "passthrough">>, "many">;
|
|
10893
12450
|
}>, z.ZodTypeAny, "passthrough">>;
|
|
10894
12451
|
/**
|
|
@@ -28126,6 +29683,124 @@ export declare const ServerResultSchema: z.ZodUnion<[z.ZodObject<{
|
|
|
28126
29683
|
type: z.ZodLiteral<"object">;
|
|
28127
29684
|
properties: z.ZodOptional<z.ZodObject<{}, "passthrough", z.ZodTypeAny, z.objectOutputType<{}, z.ZodTypeAny, "passthrough">, z.objectInputType<{}, z.ZodTypeAny, "passthrough">>>;
|
|
28128
29685
|
}, z.ZodTypeAny, "passthrough">>;
|
|
29686
|
+
/**
|
|
29687
|
+
* Optional additional tool information.
|
|
29688
|
+
*/
|
|
29689
|
+
annotations: z.ZodOptional<z.ZodObject<{
|
|
29690
|
+
/**
|
|
29691
|
+
* A human-readable title for the tool.
|
|
29692
|
+
*/
|
|
29693
|
+
title: z.ZodOptional<z.ZodString>;
|
|
29694
|
+
/**
|
|
29695
|
+
* If true, the tool does not modify its environment.
|
|
29696
|
+
*
|
|
29697
|
+
* Default: false
|
|
29698
|
+
*/
|
|
29699
|
+
readOnlyHint: z.ZodOptional<z.ZodBoolean>;
|
|
29700
|
+
/**
|
|
29701
|
+
* If true, the tool may perform destructive updates to its environment.
|
|
29702
|
+
* If false, the tool performs only additive updates.
|
|
29703
|
+
*
|
|
29704
|
+
* (This property is meaningful only when `readOnlyHint == false`)
|
|
29705
|
+
*
|
|
29706
|
+
* Default: true
|
|
29707
|
+
*/
|
|
29708
|
+
destructiveHint: z.ZodOptional<z.ZodBoolean>;
|
|
29709
|
+
/**
|
|
29710
|
+
* If true, calling the tool repeatedly with the same arguments
|
|
29711
|
+
* will have no additional effect on the its environment.
|
|
29712
|
+
*
|
|
29713
|
+
* (This property is meaningful only when `readOnlyHint == false`)
|
|
29714
|
+
*
|
|
29715
|
+
* Default: false
|
|
29716
|
+
*/
|
|
29717
|
+
idempotentHint: z.ZodOptional<z.ZodBoolean>;
|
|
29718
|
+
/**
|
|
29719
|
+
* If true, this tool may interact with an "open world" of external
|
|
29720
|
+
* entities. If false, the tool's domain of interaction is closed.
|
|
29721
|
+
* For example, the world of a web search tool is open, whereas that
|
|
29722
|
+
* of a memory tool is not.
|
|
29723
|
+
*
|
|
29724
|
+
* Default: true
|
|
29725
|
+
*/
|
|
29726
|
+
openWorldHint: z.ZodOptional<z.ZodBoolean>;
|
|
29727
|
+
}, "passthrough", z.ZodTypeAny, z.objectOutputType<{
|
|
29728
|
+
/**
|
|
29729
|
+
* A human-readable title for the tool.
|
|
29730
|
+
*/
|
|
29731
|
+
title: z.ZodOptional<z.ZodString>;
|
|
29732
|
+
/**
|
|
29733
|
+
* If true, the tool does not modify its environment.
|
|
29734
|
+
*
|
|
29735
|
+
* Default: false
|
|
29736
|
+
*/
|
|
29737
|
+
readOnlyHint: z.ZodOptional<z.ZodBoolean>;
|
|
29738
|
+
/**
|
|
29739
|
+
* If true, the tool may perform destructive updates to its environment.
|
|
29740
|
+
* If false, the tool performs only additive updates.
|
|
29741
|
+
*
|
|
29742
|
+
* (This property is meaningful only when `readOnlyHint == false`)
|
|
29743
|
+
*
|
|
29744
|
+
* Default: true
|
|
29745
|
+
*/
|
|
29746
|
+
destructiveHint: z.ZodOptional<z.ZodBoolean>;
|
|
29747
|
+
/**
|
|
29748
|
+
* If true, calling the tool repeatedly with the same arguments
|
|
29749
|
+
* will have no additional effect on the its environment.
|
|
29750
|
+
*
|
|
29751
|
+
* (This property is meaningful only when `readOnlyHint == false`)
|
|
29752
|
+
*
|
|
29753
|
+
* Default: false
|
|
29754
|
+
*/
|
|
29755
|
+
idempotentHint: z.ZodOptional<z.ZodBoolean>;
|
|
29756
|
+
/**
|
|
29757
|
+
* If true, this tool may interact with an "open world" of external
|
|
29758
|
+
* entities. If false, the tool's domain of interaction is closed.
|
|
29759
|
+
* For example, the world of a web search tool is open, whereas that
|
|
29760
|
+
* of a memory tool is not.
|
|
29761
|
+
*
|
|
29762
|
+
* Default: true
|
|
29763
|
+
*/
|
|
29764
|
+
openWorldHint: z.ZodOptional<z.ZodBoolean>;
|
|
29765
|
+
}, z.ZodTypeAny, "passthrough">, z.objectInputType<{
|
|
29766
|
+
/**
|
|
29767
|
+
* A human-readable title for the tool.
|
|
29768
|
+
*/
|
|
29769
|
+
title: z.ZodOptional<z.ZodString>;
|
|
29770
|
+
/**
|
|
29771
|
+
* If true, the tool does not modify its environment.
|
|
29772
|
+
*
|
|
29773
|
+
* Default: false
|
|
29774
|
+
*/
|
|
29775
|
+
readOnlyHint: z.ZodOptional<z.ZodBoolean>;
|
|
29776
|
+
/**
|
|
29777
|
+
* If true, the tool may perform destructive updates to its environment.
|
|
29778
|
+
* If false, the tool performs only additive updates.
|
|
29779
|
+
*
|
|
29780
|
+
* (This property is meaningful only when `readOnlyHint == false`)
|
|
29781
|
+
*
|
|
29782
|
+
* Default: true
|
|
29783
|
+
*/
|
|
29784
|
+
destructiveHint: z.ZodOptional<z.ZodBoolean>;
|
|
29785
|
+
/**
|
|
29786
|
+
* If true, calling the tool repeatedly with the same arguments
|
|
29787
|
+
* will have no additional effect on the its environment.
|
|
29788
|
+
*
|
|
29789
|
+
* (This property is meaningful only when `readOnlyHint == false`)
|
|
29790
|
+
*
|
|
29791
|
+
* Default: false
|
|
29792
|
+
*/
|
|
29793
|
+
idempotentHint: z.ZodOptional<z.ZodBoolean>;
|
|
29794
|
+
/**
|
|
29795
|
+
* If true, this tool may interact with an "open world" of external
|
|
29796
|
+
* entities. If false, the tool's domain of interaction is closed.
|
|
29797
|
+
* For example, the world of a web search tool is open, whereas that
|
|
29798
|
+
* of a memory tool is not.
|
|
29799
|
+
*
|
|
29800
|
+
* Default: true
|
|
29801
|
+
*/
|
|
29802
|
+
openWorldHint: z.ZodOptional<z.ZodBoolean>;
|
|
29803
|
+
}, z.ZodTypeAny, "passthrough">>>;
|
|
28129
29804
|
}, "passthrough", z.ZodTypeAny, z.objectOutputType<{
|
|
28130
29805
|
/**
|
|
28131
29806
|
* The name of the tool.
|
|
@@ -28148,6 +29823,124 @@ export declare const ServerResultSchema: z.ZodUnion<[z.ZodObject<{
|
|
|
28148
29823
|
type: z.ZodLiteral<"object">;
|
|
28149
29824
|
properties: z.ZodOptional<z.ZodObject<{}, "passthrough", z.ZodTypeAny, z.objectOutputType<{}, z.ZodTypeAny, "passthrough">, z.objectInputType<{}, z.ZodTypeAny, "passthrough">>>;
|
|
28150
29825
|
}, z.ZodTypeAny, "passthrough">>;
|
|
29826
|
+
/**
|
|
29827
|
+
* Optional additional tool information.
|
|
29828
|
+
*/
|
|
29829
|
+
annotations: z.ZodOptional<z.ZodObject<{
|
|
29830
|
+
/**
|
|
29831
|
+
* A human-readable title for the tool.
|
|
29832
|
+
*/
|
|
29833
|
+
title: z.ZodOptional<z.ZodString>;
|
|
29834
|
+
/**
|
|
29835
|
+
* If true, the tool does not modify its environment.
|
|
29836
|
+
*
|
|
29837
|
+
* Default: false
|
|
29838
|
+
*/
|
|
29839
|
+
readOnlyHint: z.ZodOptional<z.ZodBoolean>;
|
|
29840
|
+
/**
|
|
29841
|
+
* If true, the tool may perform destructive updates to its environment.
|
|
29842
|
+
* If false, the tool performs only additive updates.
|
|
29843
|
+
*
|
|
29844
|
+
* (This property is meaningful only when `readOnlyHint == false`)
|
|
29845
|
+
*
|
|
29846
|
+
* Default: true
|
|
29847
|
+
*/
|
|
29848
|
+
destructiveHint: z.ZodOptional<z.ZodBoolean>;
|
|
29849
|
+
/**
|
|
29850
|
+
* If true, calling the tool repeatedly with the same arguments
|
|
29851
|
+
* will have no additional effect on the its environment.
|
|
29852
|
+
*
|
|
29853
|
+
* (This property is meaningful only when `readOnlyHint == false`)
|
|
29854
|
+
*
|
|
29855
|
+
* Default: false
|
|
29856
|
+
*/
|
|
29857
|
+
idempotentHint: z.ZodOptional<z.ZodBoolean>;
|
|
29858
|
+
/**
|
|
29859
|
+
* If true, this tool may interact with an "open world" of external
|
|
29860
|
+
* entities. If false, the tool's domain of interaction is closed.
|
|
29861
|
+
* For example, the world of a web search tool is open, whereas that
|
|
29862
|
+
* of a memory tool is not.
|
|
29863
|
+
*
|
|
29864
|
+
* Default: true
|
|
29865
|
+
*/
|
|
29866
|
+
openWorldHint: z.ZodOptional<z.ZodBoolean>;
|
|
29867
|
+
}, "passthrough", z.ZodTypeAny, z.objectOutputType<{
|
|
29868
|
+
/**
|
|
29869
|
+
* A human-readable title for the tool.
|
|
29870
|
+
*/
|
|
29871
|
+
title: z.ZodOptional<z.ZodString>;
|
|
29872
|
+
/**
|
|
29873
|
+
* If true, the tool does not modify its environment.
|
|
29874
|
+
*
|
|
29875
|
+
* Default: false
|
|
29876
|
+
*/
|
|
29877
|
+
readOnlyHint: z.ZodOptional<z.ZodBoolean>;
|
|
29878
|
+
/**
|
|
29879
|
+
* If true, the tool may perform destructive updates to its environment.
|
|
29880
|
+
* If false, the tool performs only additive updates.
|
|
29881
|
+
*
|
|
29882
|
+
* (This property is meaningful only when `readOnlyHint == false`)
|
|
29883
|
+
*
|
|
29884
|
+
* Default: true
|
|
29885
|
+
*/
|
|
29886
|
+
destructiveHint: z.ZodOptional<z.ZodBoolean>;
|
|
29887
|
+
/**
|
|
29888
|
+
* If true, calling the tool repeatedly with the same arguments
|
|
29889
|
+
* will have no additional effect on the its environment.
|
|
29890
|
+
*
|
|
29891
|
+
* (This property is meaningful only when `readOnlyHint == false`)
|
|
29892
|
+
*
|
|
29893
|
+
* Default: false
|
|
29894
|
+
*/
|
|
29895
|
+
idempotentHint: z.ZodOptional<z.ZodBoolean>;
|
|
29896
|
+
/**
|
|
29897
|
+
* If true, this tool may interact with an "open world" of external
|
|
29898
|
+
* entities. If false, the tool's domain of interaction is closed.
|
|
29899
|
+
* For example, the world of a web search tool is open, whereas that
|
|
29900
|
+
* of a memory tool is not.
|
|
29901
|
+
*
|
|
29902
|
+
* Default: true
|
|
29903
|
+
*/
|
|
29904
|
+
openWorldHint: z.ZodOptional<z.ZodBoolean>;
|
|
29905
|
+
}, z.ZodTypeAny, "passthrough">, z.objectInputType<{
|
|
29906
|
+
/**
|
|
29907
|
+
* A human-readable title for the tool.
|
|
29908
|
+
*/
|
|
29909
|
+
title: z.ZodOptional<z.ZodString>;
|
|
29910
|
+
/**
|
|
29911
|
+
* If true, the tool does not modify its environment.
|
|
29912
|
+
*
|
|
29913
|
+
* Default: false
|
|
29914
|
+
*/
|
|
29915
|
+
readOnlyHint: z.ZodOptional<z.ZodBoolean>;
|
|
29916
|
+
/**
|
|
29917
|
+
* If true, the tool may perform destructive updates to its environment.
|
|
29918
|
+
* If false, the tool performs only additive updates.
|
|
29919
|
+
*
|
|
29920
|
+
* (This property is meaningful only when `readOnlyHint == false`)
|
|
29921
|
+
*
|
|
29922
|
+
* Default: true
|
|
29923
|
+
*/
|
|
29924
|
+
destructiveHint: z.ZodOptional<z.ZodBoolean>;
|
|
29925
|
+
/**
|
|
29926
|
+
* If true, calling the tool repeatedly with the same arguments
|
|
29927
|
+
* will have no additional effect on the its environment.
|
|
29928
|
+
*
|
|
29929
|
+
* (This property is meaningful only when `readOnlyHint == false`)
|
|
29930
|
+
*
|
|
29931
|
+
* Default: false
|
|
29932
|
+
*/
|
|
29933
|
+
idempotentHint: z.ZodOptional<z.ZodBoolean>;
|
|
29934
|
+
/**
|
|
29935
|
+
* If true, this tool may interact with an "open world" of external
|
|
29936
|
+
* entities. If false, the tool's domain of interaction is closed.
|
|
29937
|
+
* For example, the world of a web search tool is open, whereas that
|
|
29938
|
+
* of a memory tool is not.
|
|
29939
|
+
*
|
|
29940
|
+
* Default: true
|
|
29941
|
+
*/
|
|
29942
|
+
openWorldHint: z.ZodOptional<z.ZodBoolean>;
|
|
29943
|
+
}, z.ZodTypeAny, "passthrough">>>;
|
|
28151
29944
|
}, z.ZodTypeAny, "passthrough">, z.objectInputType<{
|
|
28152
29945
|
/**
|
|
28153
29946
|
* The name of the tool.
|
|
@@ -28170,6 +29963,124 @@ export declare const ServerResultSchema: z.ZodUnion<[z.ZodObject<{
|
|
|
28170
29963
|
type: z.ZodLiteral<"object">;
|
|
28171
29964
|
properties: z.ZodOptional<z.ZodObject<{}, "passthrough", z.ZodTypeAny, z.objectOutputType<{}, z.ZodTypeAny, "passthrough">, z.objectInputType<{}, z.ZodTypeAny, "passthrough">>>;
|
|
28172
29965
|
}, z.ZodTypeAny, "passthrough">>;
|
|
29966
|
+
/**
|
|
29967
|
+
* Optional additional tool information.
|
|
29968
|
+
*/
|
|
29969
|
+
annotations: z.ZodOptional<z.ZodObject<{
|
|
29970
|
+
/**
|
|
29971
|
+
* A human-readable title for the tool.
|
|
29972
|
+
*/
|
|
29973
|
+
title: z.ZodOptional<z.ZodString>;
|
|
29974
|
+
/**
|
|
29975
|
+
* If true, the tool does not modify its environment.
|
|
29976
|
+
*
|
|
29977
|
+
* Default: false
|
|
29978
|
+
*/
|
|
29979
|
+
readOnlyHint: z.ZodOptional<z.ZodBoolean>;
|
|
29980
|
+
/**
|
|
29981
|
+
* If true, the tool may perform destructive updates to its environment.
|
|
29982
|
+
* If false, the tool performs only additive updates.
|
|
29983
|
+
*
|
|
29984
|
+
* (This property is meaningful only when `readOnlyHint == false`)
|
|
29985
|
+
*
|
|
29986
|
+
* Default: true
|
|
29987
|
+
*/
|
|
29988
|
+
destructiveHint: z.ZodOptional<z.ZodBoolean>;
|
|
29989
|
+
/**
|
|
29990
|
+
* If true, calling the tool repeatedly with the same arguments
|
|
29991
|
+
* will have no additional effect on the its environment.
|
|
29992
|
+
*
|
|
29993
|
+
* (This property is meaningful only when `readOnlyHint == false`)
|
|
29994
|
+
*
|
|
29995
|
+
* Default: false
|
|
29996
|
+
*/
|
|
29997
|
+
idempotentHint: z.ZodOptional<z.ZodBoolean>;
|
|
29998
|
+
/**
|
|
29999
|
+
* If true, this tool may interact with an "open world" of external
|
|
30000
|
+
* entities. If false, the tool's domain of interaction is closed.
|
|
30001
|
+
* For example, the world of a web search tool is open, whereas that
|
|
30002
|
+
* of a memory tool is not.
|
|
30003
|
+
*
|
|
30004
|
+
* Default: true
|
|
30005
|
+
*/
|
|
30006
|
+
openWorldHint: z.ZodOptional<z.ZodBoolean>;
|
|
30007
|
+
}, "passthrough", z.ZodTypeAny, z.objectOutputType<{
|
|
30008
|
+
/**
|
|
30009
|
+
* A human-readable title for the tool.
|
|
30010
|
+
*/
|
|
30011
|
+
title: z.ZodOptional<z.ZodString>;
|
|
30012
|
+
/**
|
|
30013
|
+
* If true, the tool does not modify its environment.
|
|
30014
|
+
*
|
|
30015
|
+
* Default: false
|
|
30016
|
+
*/
|
|
30017
|
+
readOnlyHint: z.ZodOptional<z.ZodBoolean>;
|
|
30018
|
+
/**
|
|
30019
|
+
* If true, the tool may perform destructive updates to its environment.
|
|
30020
|
+
* If false, the tool performs only additive updates.
|
|
30021
|
+
*
|
|
30022
|
+
* (This property is meaningful only when `readOnlyHint == false`)
|
|
30023
|
+
*
|
|
30024
|
+
* Default: true
|
|
30025
|
+
*/
|
|
30026
|
+
destructiveHint: z.ZodOptional<z.ZodBoolean>;
|
|
30027
|
+
/**
|
|
30028
|
+
* If true, calling the tool repeatedly with the same arguments
|
|
30029
|
+
* will have no additional effect on the its environment.
|
|
30030
|
+
*
|
|
30031
|
+
* (This property is meaningful only when `readOnlyHint == false`)
|
|
30032
|
+
*
|
|
30033
|
+
* Default: false
|
|
30034
|
+
*/
|
|
30035
|
+
idempotentHint: z.ZodOptional<z.ZodBoolean>;
|
|
30036
|
+
/**
|
|
30037
|
+
* If true, this tool may interact with an "open world" of external
|
|
30038
|
+
* entities. If false, the tool's domain of interaction is closed.
|
|
30039
|
+
* For example, the world of a web search tool is open, whereas that
|
|
30040
|
+
* of a memory tool is not.
|
|
30041
|
+
*
|
|
30042
|
+
* Default: true
|
|
30043
|
+
*/
|
|
30044
|
+
openWorldHint: z.ZodOptional<z.ZodBoolean>;
|
|
30045
|
+
}, z.ZodTypeAny, "passthrough">, z.objectInputType<{
|
|
30046
|
+
/**
|
|
30047
|
+
* A human-readable title for the tool.
|
|
30048
|
+
*/
|
|
30049
|
+
title: z.ZodOptional<z.ZodString>;
|
|
30050
|
+
/**
|
|
30051
|
+
* If true, the tool does not modify its environment.
|
|
30052
|
+
*
|
|
30053
|
+
* Default: false
|
|
30054
|
+
*/
|
|
30055
|
+
readOnlyHint: z.ZodOptional<z.ZodBoolean>;
|
|
30056
|
+
/**
|
|
30057
|
+
* If true, the tool may perform destructive updates to its environment.
|
|
30058
|
+
* If false, the tool performs only additive updates.
|
|
30059
|
+
*
|
|
30060
|
+
* (This property is meaningful only when `readOnlyHint == false`)
|
|
30061
|
+
*
|
|
30062
|
+
* Default: true
|
|
30063
|
+
*/
|
|
30064
|
+
destructiveHint: z.ZodOptional<z.ZodBoolean>;
|
|
30065
|
+
/**
|
|
30066
|
+
* If true, calling the tool repeatedly with the same arguments
|
|
30067
|
+
* will have no additional effect on the its environment.
|
|
30068
|
+
*
|
|
30069
|
+
* (This property is meaningful only when `readOnlyHint == false`)
|
|
30070
|
+
*
|
|
30071
|
+
* Default: false
|
|
30072
|
+
*/
|
|
30073
|
+
idempotentHint: z.ZodOptional<z.ZodBoolean>;
|
|
30074
|
+
/**
|
|
30075
|
+
* If true, this tool may interact with an "open world" of external
|
|
30076
|
+
* entities. If false, the tool's domain of interaction is closed.
|
|
30077
|
+
* For example, the world of a web search tool is open, whereas that
|
|
30078
|
+
* of a memory tool is not.
|
|
30079
|
+
*
|
|
30080
|
+
* Default: true
|
|
30081
|
+
*/
|
|
30082
|
+
openWorldHint: z.ZodOptional<z.ZodBoolean>;
|
|
30083
|
+
}, z.ZodTypeAny, "passthrough">>>;
|
|
28173
30084
|
}, z.ZodTypeAny, "passthrough">>, "many">;
|
|
28174
30085
|
}>, "passthrough", z.ZodTypeAny, z.objectOutputType<z.objectUtil.extendShape<z.objectUtil.extendShape<{
|
|
28175
30086
|
/**
|
|
@@ -28205,6 +30116,124 @@ export declare const ServerResultSchema: z.ZodUnion<[z.ZodObject<{
|
|
|
28205
30116
|
type: z.ZodLiteral<"object">;
|
|
28206
30117
|
properties: z.ZodOptional<z.ZodObject<{}, "passthrough", z.ZodTypeAny, z.objectOutputType<{}, z.ZodTypeAny, "passthrough">, z.objectInputType<{}, z.ZodTypeAny, "passthrough">>>;
|
|
28207
30118
|
}, z.ZodTypeAny, "passthrough">>;
|
|
30119
|
+
/**
|
|
30120
|
+
* Optional additional tool information.
|
|
30121
|
+
*/
|
|
30122
|
+
annotations: z.ZodOptional<z.ZodObject<{
|
|
30123
|
+
/**
|
|
30124
|
+
* A human-readable title for the tool.
|
|
30125
|
+
*/
|
|
30126
|
+
title: z.ZodOptional<z.ZodString>;
|
|
30127
|
+
/**
|
|
30128
|
+
* If true, the tool does not modify its environment.
|
|
30129
|
+
*
|
|
30130
|
+
* Default: false
|
|
30131
|
+
*/
|
|
30132
|
+
readOnlyHint: z.ZodOptional<z.ZodBoolean>;
|
|
30133
|
+
/**
|
|
30134
|
+
* If true, the tool may perform destructive updates to its environment.
|
|
30135
|
+
* If false, the tool performs only additive updates.
|
|
30136
|
+
*
|
|
30137
|
+
* (This property is meaningful only when `readOnlyHint == false`)
|
|
30138
|
+
*
|
|
30139
|
+
* Default: true
|
|
30140
|
+
*/
|
|
30141
|
+
destructiveHint: z.ZodOptional<z.ZodBoolean>;
|
|
30142
|
+
/**
|
|
30143
|
+
* If true, calling the tool repeatedly with the same arguments
|
|
30144
|
+
* will have no additional effect on the its environment.
|
|
30145
|
+
*
|
|
30146
|
+
* (This property is meaningful only when `readOnlyHint == false`)
|
|
30147
|
+
*
|
|
30148
|
+
* Default: false
|
|
30149
|
+
*/
|
|
30150
|
+
idempotentHint: z.ZodOptional<z.ZodBoolean>;
|
|
30151
|
+
/**
|
|
30152
|
+
* If true, this tool may interact with an "open world" of external
|
|
30153
|
+
* entities. If false, the tool's domain of interaction is closed.
|
|
30154
|
+
* For example, the world of a web search tool is open, whereas that
|
|
30155
|
+
* of a memory tool is not.
|
|
30156
|
+
*
|
|
30157
|
+
* Default: true
|
|
30158
|
+
*/
|
|
30159
|
+
openWorldHint: z.ZodOptional<z.ZodBoolean>;
|
|
30160
|
+
}, "passthrough", z.ZodTypeAny, z.objectOutputType<{
|
|
30161
|
+
/**
|
|
30162
|
+
* A human-readable title for the tool.
|
|
30163
|
+
*/
|
|
30164
|
+
title: z.ZodOptional<z.ZodString>;
|
|
30165
|
+
/**
|
|
30166
|
+
* If true, the tool does not modify its environment.
|
|
30167
|
+
*
|
|
30168
|
+
* Default: false
|
|
30169
|
+
*/
|
|
30170
|
+
readOnlyHint: z.ZodOptional<z.ZodBoolean>;
|
|
30171
|
+
/**
|
|
30172
|
+
* If true, the tool may perform destructive updates to its environment.
|
|
30173
|
+
* If false, the tool performs only additive updates.
|
|
30174
|
+
*
|
|
30175
|
+
* (This property is meaningful only when `readOnlyHint == false`)
|
|
30176
|
+
*
|
|
30177
|
+
* Default: true
|
|
30178
|
+
*/
|
|
30179
|
+
destructiveHint: z.ZodOptional<z.ZodBoolean>;
|
|
30180
|
+
/**
|
|
30181
|
+
* If true, calling the tool repeatedly with the same arguments
|
|
30182
|
+
* will have no additional effect on the its environment.
|
|
30183
|
+
*
|
|
30184
|
+
* (This property is meaningful only when `readOnlyHint == false`)
|
|
30185
|
+
*
|
|
30186
|
+
* Default: false
|
|
30187
|
+
*/
|
|
30188
|
+
idempotentHint: z.ZodOptional<z.ZodBoolean>;
|
|
30189
|
+
/**
|
|
30190
|
+
* If true, this tool may interact with an "open world" of external
|
|
30191
|
+
* entities. If false, the tool's domain of interaction is closed.
|
|
30192
|
+
* For example, the world of a web search tool is open, whereas that
|
|
30193
|
+
* of a memory tool is not.
|
|
30194
|
+
*
|
|
30195
|
+
* Default: true
|
|
30196
|
+
*/
|
|
30197
|
+
openWorldHint: z.ZodOptional<z.ZodBoolean>;
|
|
30198
|
+
}, z.ZodTypeAny, "passthrough">, z.objectInputType<{
|
|
30199
|
+
/**
|
|
30200
|
+
* A human-readable title for the tool.
|
|
30201
|
+
*/
|
|
30202
|
+
title: z.ZodOptional<z.ZodString>;
|
|
30203
|
+
/**
|
|
30204
|
+
* If true, the tool does not modify its environment.
|
|
30205
|
+
*
|
|
30206
|
+
* Default: false
|
|
30207
|
+
*/
|
|
30208
|
+
readOnlyHint: z.ZodOptional<z.ZodBoolean>;
|
|
30209
|
+
/**
|
|
30210
|
+
* If true, the tool may perform destructive updates to its environment.
|
|
30211
|
+
* If false, the tool performs only additive updates.
|
|
30212
|
+
*
|
|
30213
|
+
* (This property is meaningful only when `readOnlyHint == false`)
|
|
30214
|
+
*
|
|
30215
|
+
* Default: true
|
|
30216
|
+
*/
|
|
30217
|
+
destructiveHint: z.ZodOptional<z.ZodBoolean>;
|
|
30218
|
+
/**
|
|
30219
|
+
* If true, calling the tool repeatedly with the same arguments
|
|
30220
|
+
* will have no additional effect on the its environment.
|
|
30221
|
+
*
|
|
30222
|
+
* (This property is meaningful only when `readOnlyHint == false`)
|
|
30223
|
+
*
|
|
30224
|
+
* Default: false
|
|
30225
|
+
*/
|
|
30226
|
+
idempotentHint: z.ZodOptional<z.ZodBoolean>;
|
|
30227
|
+
/**
|
|
30228
|
+
* If true, this tool may interact with an "open world" of external
|
|
30229
|
+
* entities. If false, the tool's domain of interaction is closed.
|
|
30230
|
+
* For example, the world of a web search tool is open, whereas that
|
|
30231
|
+
* of a memory tool is not.
|
|
30232
|
+
*
|
|
30233
|
+
* Default: true
|
|
30234
|
+
*/
|
|
30235
|
+
openWorldHint: z.ZodOptional<z.ZodBoolean>;
|
|
30236
|
+
}, z.ZodTypeAny, "passthrough">>>;
|
|
28208
30237
|
}, "passthrough", z.ZodTypeAny, z.objectOutputType<{
|
|
28209
30238
|
/**
|
|
28210
30239
|
* The name of the tool.
|
|
@@ -28227,6 +30256,124 @@ export declare const ServerResultSchema: z.ZodUnion<[z.ZodObject<{
|
|
|
28227
30256
|
type: z.ZodLiteral<"object">;
|
|
28228
30257
|
properties: z.ZodOptional<z.ZodObject<{}, "passthrough", z.ZodTypeAny, z.objectOutputType<{}, z.ZodTypeAny, "passthrough">, z.objectInputType<{}, z.ZodTypeAny, "passthrough">>>;
|
|
28229
30258
|
}, z.ZodTypeAny, "passthrough">>;
|
|
30259
|
+
/**
|
|
30260
|
+
* Optional additional tool information.
|
|
30261
|
+
*/
|
|
30262
|
+
annotations: z.ZodOptional<z.ZodObject<{
|
|
30263
|
+
/**
|
|
30264
|
+
* A human-readable title for the tool.
|
|
30265
|
+
*/
|
|
30266
|
+
title: z.ZodOptional<z.ZodString>;
|
|
30267
|
+
/**
|
|
30268
|
+
* If true, the tool does not modify its environment.
|
|
30269
|
+
*
|
|
30270
|
+
* Default: false
|
|
30271
|
+
*/
|
|
30272
|
+
readOnlyHint: z.ZodOptional<z.ZodBoolean>;
|
|
30273
|
+
/**
|
|
30274
|
+
* If true, the tool may perform destructive updates to its environment.
|
|
30275
|
+
* If false, the tool performs only additive updates.
|
|
30276
|
+
*
|
|
30277
|
+
* (This property is meaningful only when `readOnlyHint == false`)
|
|
30278
|
+
*
|
|
30279
|
+
* Default: true
|
|
30280
|
+
*/
|
|
30281
|
+
destructiveHint: z.ZodOptional<z.ZodBoolean>;
|
|
30282
|
+
/**
|
|
30283
|
+
* If true, calling the tool repeatedly with the same arguments
|
|
30284
|
+
* will have no additional effect on the its environment.
|
|
30285
|
+
*
|
|
30286
|
+
* (This property is meaningful only when `readOnlyHint == false`)
|
|
30287
|
+
*
|
|
30288
|
+
* Default: false
|
|
30289
|
+
*/
|
|
30290
|
+
idempotentHint: z.ZodOptional<z.ZodBoolean>;
|
|
30291
|
+
/**
|
|
30292
|
+
* If true, this tool may interact with an "open world" of external
|
|
30293
|
+
* entities. If false, the tool's domain of interaction is closed.
|
|
30294
|
+
* For example, the world of a web search tool is open, whereas that
|
|
30295
|
+
* of a memory tool is not.
|
|
30296
|
+
*
|
|
30297
|
+
* Default: true
|
|
30298
|
+
*/
|
|
30299
|
+
openWorldHint: z.ZodOptional<z.ZodBoolean>;
|
|
30300
|
+
}, "passthrough", z.ZodTypeAny, z.objectOutputType<{
|
|
30301
|
+
/**
|
|
30302
|
+
* A human-readable title for the tool.
|
|
30303
|
+
*/
|
|
30304
|
+
title: z.ZodOptional<z.ZodString>;
|
|
30305
|
+
/**
|
|
30306
|
+
* If true, the tool does not modify its environment.
|
|
30307
|
+
*
|
|
30308
|
+
* Default: false
|
|
30309
|
+
*/
|
|
30310
|
+
readOnlyHint: z.ZodOptional<z.ZodBoolean>;
|
|
30311
|
+
/**
|
|
30312
|
+
* If true, the tool may perform destructive updates to its environment.
|
|
30313
|
+
* If false, the tool performs only additive updates.
|
|
30314
|
+
*
|
|
30315
|
+
* (This property is meaningful only when `readOnlyHint == false`)
|
|
30316
|
+
*
|
|
30317
|
+
* Default: true
|
|
30318
|
+
*/
|
|
30319
|
+
destructiveHint: z.ZodOptional<z.ZodBoolean>;
|
|
30320
|
+
/**
|
|
30321
|
+
* If true, calling the tool repeatedly with the same arguments
|
|
30322
|
+
* will have no additional effect on the its environment.
|
|
30323
|
+
*
|
|
30324
|
+
* (This property is meaningful only when `readOnlyHint == false`)
|
|
30325
|
+
*
|
|
30326
|
+
* Default: false
|
|
30327
|
+
*/
|
|
30328
|
+
idempotentHint: z.ZodOptional<z.ZodBoolean>;
|
|
30329
|
+
/**
|
|
30330
|
+
* If true, this tool may interact with an "open world" of external
|
|
30331
|
+
* entities. If false, the tool's domain of interaction is closed.
|
|
30332
|
+
* For example, the world of a web search tool is open, whereas that
|
|
30333
|
+
* of a memory tool is not.
|
|
30334
|
+
*
|
|
30335
|
+
* Default: true
|
|
30336
|
+
*/
|
|
30337
|
+
openWorldHint: z.ZodOptional<z.ZodBoolean>;
|
|
30338
|
+
}, z.ZodTypeAny, "passthrough">, z.objectInputType<{
|
|
30339
|
+
/**
|
|
30340
|
+
* A human-readable title for the tool.
|
|
30341
|
+
*/
|
|
30342
|
+
title: z.ZodOptional<z.ZodString>;
|
|
30343
|
+
/**
|
|
30344
|
+
* If true, the tool does not modify its environment.
|
|
30345
|
+
*
|
|
30346
|
+
* Default: false
|
|
30347
|
+
*/
|
|
30348
|
+
readOnlyHint: z.ZodOptional<z.ZodBoolean>;
|
|
30349
|
+
/**
|
|
30350
|
+
* If true, the tool may perform destructive updates to its environment.
|
|
30351
|
+
* If false, the tool performs only additive updates.
|
|
30352
|
+
*
|
|
30353
|
+
* (This property is meaningful only when `readOnlyHint == false`)
|
|
30354
|
+
*
|
|
30355
|
+
* Default: true
|
|
30356
|
+
*/
|
|
30357
|
+
destructiveHint: z.ZodOptional<z.ZodBoolean>;
|
|
30358
|
+
/**
|
|
30359
|
+
* If true, calling the tool repeatedly with the same arguments
|
|
30360
|
+
* will have no additional effect on the its environment.
|
|
30361
|
+
*
|
|
30362
|
+
* (This property is meaningful only when `readOnlyHint == false`)
|
|
30363
|
+
*
|
|
30364
|
+
* Default: false
|
|
30365
|
+
*/
|
|
30366
|
+
idempotentHint: z.ZodOptional<z.ZodBoolean>;
|
|
30367
|
+
/**
|
|
30368
|
+
* If true, this tool may interact with an "open world" of external
|
|
30369
|
+
* entities. If false, the tool's domain of interaction is closed.
|
|
30370
|
+
* For example, the world of a web search tool is open, whereas that
|
|
30371
|
+
* of a memory tool is not.
|
|
30372
|
+
*
|
|
30373
|
+
* Default: true
|
|
30374
|
+
*/
|
|
30375
|
+
openWorldHint: z.ZodOptional<z.ZodBoolean>;
|
|
30376
|
+
}, z.ZodTypeAny, "passthrough">>>;
|
|
28230
30377
|
}, z.ZodTypeAny, "passthrough">, z.objectInputType<{
|
|
28231
30378
|
/**
|
|
28232
30379
|
* The name of the tool.
|
|
@@ -28249,6 +30396,124 @@ export declare const ServerResultSchema: z.ZodUnion<[z.ZodObject<{
|
|
|
28249
30396
|
type: z.ZodLiteral<"object">;
|
|
28250
30397
|
properties: z.ZodOptional<z.ZodObject<{}, "passthrough", z.ZodTypeAny, z.objectOutputType<{}, z.ZodTypeAny, "passthrough">, z.objectInputType<{}, z.ZodTypeAny, "passthrough">>>;
|
|
28251
30398
|
}, z.ZodTypeAny, "passthrough">>;
|
|
30399
|
+
/**
|
|
30400
|
+
* Optional additional tool information.
|
|
30401
|
+
*/
|
|
30402
|
+
annotations: z.ZodOptional<z.ZodObject<{
|
|
30403
|
+
/**
|
|
30404
|
+
* A human-readable title for the tool.
|
|
30405
|
+
*/
|
|
30406
|
+
title: z.ZodOptional<z.ZodString>;
|
|
30407
|
+
/**
|
|
30408
|
+
* If true, the tool does not modify its environment.
|
|
30409
|
+
*
|
|
30410
|
+
* Default: false
|
|
30411
|
+
*/
|
|
30412
|
+
readOnlyHint: z.ZodOptional<z.ZodBoolean>;
|
|
30413
|
+
/**
|
|
30414
|
+
* If true, the tool may perform destructive updates to its environment.
|
|
30415
|
+
* If false, the tool performs only additive updates.
|
|
30416
|
+
*
|
|
30417
|
+
* (This property is meaningful only when `readOnlyHint == false`)
|
|
30418
|
+
*
|
|
30419
|
+
* Default: true
|
|
30420
|
+
*/
|
|
30421
|
+
destructiveHint: z.ZodOptional<z.ZodBoolean>;
|
|
30422
|
+
/**
|
|
30423
|
+
* If true, calling the tool repeatedly with the same arguments
|
|
30424
|
+
* will have no additional effect on the its environment.
|
|
30425
|
+
*
|
|
30426
|
+
* (This property is meaningful only when `readOnlyHint == false`)
|
|
30427
|
+
*
|
|
30428
|
+
* Default: false
|
|
30429
|
+
*/
|
|
30430
|
+
idempotentHint: z.ZodOptional<z.ZodBoolean>;
|
|
30431
|
+
/**
|
|
30432
|
+
* If true, this tool may interact with an "open world" of external
|
|
30433
|
+
* entities. If false, the tool's domain of interaction is closed.
|
|
30434
|
+
* For example, the world of a web search tool is open, whereas that
|
|
30435
|
+
* of a memory tool is not.
|
|
30436
|
+
*
|
|
30437
|
+
* Default: true
|
|
30438
|
+
*/
|
|
30439
|
+
openWorldHint: z.ZodOptional<z.ZodBoolean>;
|
|
30440
|
+
}, "passthrough", z.ZodTypeAny, z.objectOutputType<{
|
|
30441
|
+
/**
|
|
30442
|
+
* A human-readable title for the tool.
|
|
30443
|
+
*/
|
|
30444
|
+
title: z.ZodOptional<z.ZodString>;
|
|
30445
|
+
/**
|
|
30446
|
+
* If true, the tool does not modify its environment.
|
|
30447
|
+
*
|
|
30448
|
+
* Default: false
|
|
30449
|
+
*/
|
|
30450
|
+
readOnlyHint: z.ZodOptional<z.ZodBoolean>;
|
|
30451
|
+
/**
|
|
30452
|
+
* If true, the tool may perform destructive updates to its environment.
|
|
30453
|
+
* If false, the tool performs only additive updates.
|
|
30454
|
+
*
|
|
30455
|
+
* (This property is meaningful only when `readOnlyHint == false`)
|
|
30456
|
+
*
|
|
30457
|
+
* Default: true
|
|
30458
|
+
*/
|
|
30459
|
+
destructiveHint: z.ZodOptional<z.ZodBoolean>;
|
|
30460
|
+
/**
|
|
30461
|
+
* If true, calling the tool repeatedly with the same arguments
|
|
30462
|
+
* will have no additional effect on the its environment.
|
|
30463
|
+
*
|
|
30464
|
+
* (This property is meaningful only when `readOnlyHint == false`)
|
|
30465
|
+
*
|
|
30466
|
+
* Default: false
|
|
30467
|
+
*/
|
|
30468
|
+
idempotentHint: z.ZodOptional<z.ZodBoolean>;
|
|
30469
|
+
/**
|
|
30470
|
+
* If true, this tool may interact with an "open world" of external
|
|
30471
|
+
* entities. If false, the tool's domain of interaction is closed.
|
|
30472
|
+
* For example, the world of a web search tool is open, whereas that
|
|
30473
|
+
* of a memory tool is not.
|
|
30474
|
+
*
|
|
30475
|
+
* Default: true
|
|
30476
|
+
*/
|
|
30477
|
+
openWorldHint: z.ZodOptional<z.ZodBoolean>;
|
|
30478
|
+
}, z.ZodTypeAny, "passthrough">, z.objectInputType<{
|
|
30479
|
+
/**
|
|
30480
|
+
* A human-readable title for the tool.
|
|
30481
|
+
*/
|
|
30482
|
+
title: z.ZodOptional<z.ZodString>;
|
|
30483
|
+
/**
|
|
30484
|
+
* If true, the tool does not modify its environment.
|
|
30485
|
+
*
|
|
30486
|
+
* Default: false
|
|
30487
|
+
*/
|
|
30488
|
+
readOnlyHint: z.ZodOptional<z.ZodBoolean>;
|
|
30489
|
+
/**
|
|
30490
|
+
* If true, the tool may perform destructive updates to its environment.
|
|
30491
|
+
* If false, the tool performs only additive updates.
|
|
30492
|
+
*
|
|
30493
|
+
* (This property is meaningful only when `readOnlyHint == false`)
|
|
30494
|
+
*
|
|
30495
|
+
* Default: true
|
|
30496
|
+
*/
|
|
30497
|
+
destructiveHint: z.ZodOptional<z.ZodBoolean>;
|
|
30498
|
+
/**
|
|
30499
|
+
* If true, calling the tool repeatedly with the same arguments
|
|
30500
|
+
* will have no additional effect on the its environment.
|
|
30501
|
+
*
|
|
30502
|
+
* (This property is meaningful only when `readOnlyHint == false`)
|
|
30503
|
+
*
|
|
30504
|
+
* Default: false
|
|
30505
|
+
*/
|
|
30506
|
+
idempotentHint: z.ZodOptional<z.ZodBoolean>;
|
|
30507
|
+
/**
|
|
30508
|
+
* If true, this tool may interact with an "open world" of external
|
|
30509
|
+
* entities. If false, the tool's domain of interaction is closed.
|
|
30510
|
+
* For example, the world of a web search tool is open, whereas that
|
|
30511
|
+
* of a memory tool is not.
|
|
30512
|
+
*
|
|
30513
|
+
* Default: true
|
|
30514
|
+
*/
|
|
30515
|
+
openWorldHint: z.ZodOptional<z.ZodBoolean>;
|
|
30516
|
+
}, z.ZodTypeAny, "passthrough">>>;
|
|
28252
30517
|
}, z.ZodTypeAny, "passthrough">>, "many">;
|
|
28253
30518
|
}>, z.ZodTypeAny, "passthrough">, z.objectInputType<z.objectUtil.extendShape<z.objectUtil.extendShape<{
|
|
28254
30519
|
/**
|
|
@@ -28284,6 +30549,124 @@ export declare const ServerResultSchema: z.ZodUnion<[z.ZodObject<{
|
|
|
28284
30549
|
type: z.ZodLiteral<"object">;
|
|
28285
30550
|
properties: z.ZodOptional<z.ZodObject<{}, "passthrough", z.ZodTypeAny, z.objectOutputType<{}, z.ZodTypeAny, "passthrough">, z.objectInputType<{}, z.ZodTypeAny, "passthrough">>>;
|
|
28286
30551
|
}, z.ZodTypeAny, "passthrough">>;
|
|
30552
|
+
/**
|
|
30553
|
+
* Optional additional tool information.
|
|
30554
|
+
*/
|
|
30555
|
+
annotations: z.ZodOptional<z.ZodObject<{
|
|
30556
|
+
/**
|
|
30557
|
+
* A human-readable title for the tool.
|
|
30558
|
+
*/
|
|
30559
|
+
title: z.ZodOptional<z.ZodString>;
|
|
30560
|
+
/**
|
|
30561
|
+
* If true, the tool does not modify its environment.
|
|
30562
|
+
*
|
|
30563
|
+
* Default: false
|
|
30564
|
+
*/
|
|
30565
|
+
readOnlyHint: z.ZodOptional<z.ZodBoolean>;
|
|
30566
|
+
/**
|
|
30567
|
+
* If true, the tool may perform destructive updates to its environment.
|
|
30568
|
+
* If false, the tool performs only additive updates.
|
|
30569
|
+
*
|
|
30570
|
+
* (This property is meaningful only when `readOnlyHint == false`)
|
|
30571
|
+
*
|
|
30572
|
+
* Default: true
|
|
30573
|
+
*/
|
|
30574
|
+
destructiveHint: z.ZodOptional<z.ZodBoolean>;
|
|
30575
|
+
/**
|
|
30576
|
+
* If true, calling the tool repeatedly with the same arguments
|
|
30577
|
+
* will have no additional effect on the its environment.
|
|
30578
|
+
*
|
|
30579
|
+
* (This property is meaningful only when `readOnlyHint == false`)
|
|
30580
|
+
*
|
|
30581
|
+
* Default: false
|
|
30582
|
+
*/
|
|
30583
|
+
idempotentHint: z.ZodOptional<z.ZodBoolean>;
|
|
30584
|
+
/**
|
|
30585
|
+
* If true, this tool may interact with an "open world" of external
|
|
30586
|
+
* entities. If false, the tool's domain of interaction is closed.
|
|
30587
|
+
* For example, the world of a web search tool is open, whereas that
|
|
30588
|
+
* of a memory tool is not.
|
|
30589
|
+
*
|
|
30590
|
+
* Default: true
|
|
30591
|
+
*/
|
|
30592
|
+
openWorldHint: z.ZodOptional<z.ZodBoolean>;
|
|
30593
|
+
}, "passthrough", z.ZodTypeAny, z.objectOutputType<{
|
|
30594
|
+
/**
|
|
30595
|
+
* A human-readable title for the tool.
|
|
30596
|
+
*/
|
|
30597
|
+
title: z.ZodOptional<z.ZodString>;
|
|
30598
|
+
/**
|
|
30599
|
+
* If true, the tool does not modify its environment.
|
|
30600
|
+
*
|
|
30601
|
+
* Default: false
|
|
30602
|
+
*/
|
|
30603
|
+
readOnlyHint: z.ZodOptional<z.ZodBoolean>;
|
|
30604
|
+
/**
|
|
30605
|
+
* If true, the tool may perform destructive updates to its environment.
|
|
30606
|
+
* If false, the tool performs only additive updates.
|
|
30607
|
+
*
|
|
30608
|
+
* (This property is meaningful only when `readOnlyHint == false`)
|
|
30609
|
+
*
|
|
30610
|
+
* Default: true
|
|
30611
|
+
*/
|
|
30612
|
+
destructiveHint: z.ZodOptional<z.ZodBoolean>;
|
|
30613
|
+
/**
|
|
30614
|
+
* If true, calling the tool repeatedly with the same arguments
|
|
30615
|
+
* will have no additional effect on the its environment.
|
|
30616
|
+
*
|
|
30617
|
+
* (This property is meaningful only when `readOnlyHint == false`)
|
|
30618
|
+
*
|
|
30619
|
+
* Default: false
|
|
30620
|
+
*/
|
|
30621
|
+
idempotentHint: z.ZodOptional<z.ZodBoolean>;
|
|
30622
|
+
/**
|
|
30623
|
+
* If true, this tool may interact with an "open world" of external
|
|
30624
|
+
* entities. If false, the tool's domain of interaction is closed.
|
|
30625
|
+
* For example, the world of a web search tool is open, whereas that
|
|
30626
|
+
* of a memory tool is not.
|
|
30627
|
+
*
|
|
30628
|
+
* Default: true
|
|
30629
|
+
*/
|
|
30630
|
+
openWorldHint: z.ZodOptional<z.ZodBoolean>;
|
|
30631
|
+
}, z.ZodTypeAny, "passthrough">, z.objectInputType<{
|
|
30632
|
+
/**
|
|
30633
|
+
* A human-readable title for the tool.
|
|
30634
|
+
*/
|
|
30635
|
+
title: z.ZodOptional<z.ZodString>;
|
|
30636
|
+
/**
|
|
30637
|
+
* If true, the tool does not modify its environment.
|
|
30638
|
+
*
|
|
30639
|
+
* Default: false
|
|
30640
|
+
*/
|
|
30641
|
+
readOnlyHint: z.ZodOptional<z.ZodBoolean>;
|
|
30642
|
+
/**
|
|
30643
|
+
* If true, the tool may perform destructive updates to its environment.
|
|
30644
|
+
* If false, the tool performs only additive updates.
|
|
30645
|
+
*
|
|
30646
|
+
* (This property is meaningful only when `readOnlyHint == false`)
|
|
30647
|
+
*
|
|
30648
|
+
* Default: true
|
|
30649
|
+
*/
|
|
30650
|
+
destructiveHint: z.ZodOptional<z.ZodBoolean>;
|
|
30651
|
+
/**
|
|
30652
|
+
* If true, calling the tool repeatedly with the same arguments
|
|
30653
|
+
* will have no additional effect on the its environment.
|
|
30654
|
+
*
|
|
30655
|
+
* (This property is meaningful only when `readOnlyHint == false`)
|
|
30656
|
+
*
|
|
30657
|
+
* Default: false
|
|
30658
|
+
*/
|
|
30659
|
+
idempotentHint: z.ZodOptional<z.ZodBoolean>;
|
|
30660
|
+
/**
|
|
30661
|
+
* If true, this tool may interact with an "open world" of external
|
|
30662
|
+
* entities. If false, the tool's domain of interaction is closed.
|
|
30663
|
+
* For example, the world of a web search tool is open, whereas that
|
|
30664
|
+
* of a memory tool is not.
|
|
30665
|
+
*
|
|
30666
|
+
* Default: true
|
|
30667
|
+
*/
|
|
30668
|
+
openWorldHint: z.ZodOptional<z.ZodBoolean>;
|
|
30669
|
+
}, z.ZodTypeAny, "passthrough">>>;
|
|
28287
30670
|
}, "passthrough", z.ZodTypeAny, z.objectOutputType<{
|
|
28288
30671
|
/**
|
|
28289
30672
|
* The name of the tool.
|
|
@@ -28306,6 +30689,124 @@ export declare const ServerResultSchema: z.ZodUnion<[z.ZodObject<{
|
|
|
28306
30689
|
type: z.ZodLiteral<"object">;
|
|
28307
30690
|
properties: z.ZodOptional<z.ZodObject<{}, "passthrough", z.ZodTypeAny, z.objectOutputType<{}, z.ZodTypeAny, "passthrough">, z.objectInputType<{}, z.ZodTypeAny, "passthrough">>>;
|
|
28308
30691
|
}, z.ZodTypeAny, "passthrough">>;
|
|
30692
|
+
/**
|
|
30693
|
+
* Optional additional tool information.
|
|
30694
|
+
*/
|
|
30695
|
+
annotations: z.ZodOptional<z.ZodObject<{
|
|
30696
|
+
/**
|
|
30697
|
+
* A human-readable title for the tool.
|
|
30698
|
+
*/
|
|
30699
|
+
title: z.ZodOptional<z.ZodString>;
|
|
30700
|
+
/**
|
|
30701
|
+
* If true, the tool does not modify its environment.
|
|
30702
|
+
*
|
|
30703
|
+
* Default: false
|
|
30704
|
+
*/
|
|
30705
|
+
readOnlyHint: z.ZodOptional<z.ZodBoolean>;
|
|
30706
|
+
/**
|
|
30707
|
+
* If true, the tool may perform destructive updates to its environment.
|
|
30708
|
+
* If false, the tool performs only additive updates.
|
|
30709
|
+
*
|
|
30710
|
+
* (This property is meaningful only when `readOnlyHint == false`)
|
|
30711
|
+
*
|
|
30712
|
+
* Default: true
|
|
30713
|
+
*/
|
|
30714
|
+
destructiveHint: z.ZodOptional<z.ZodBoolean>;
|
|
30715
|
+
/**
|
|
30716
|
+
* If true, calling the tool repeatedly with the same arguments
|
|
30717
|
+
* will have no additional effect on the its environment.
|
|
30718
|
+
*
|
|
30719
|
+
* (This property is meaningful only when `readOnlyHint == false`)
|
|
30720
|
+
*
|
|
30721
|
+
* Default: false
|
|
30722
|
+
*/
|
|
30723
|
+
idempotentHint: z.ZodOptional<z.ZodBoolean>;
|
|
30724
|
+
/**
|
|
30725
|
+
* If true, this tool may interact with an "open world" of external
|
|
30726
|
+
* entities. If false, the tool's domain of interaction is closed.
|
|
30727
|
+
* For example, the world of a web search tool is open, whereas that
|
|
30728
|
+
* of a memory tool is not.
|
|
30729
|
+
*
|
|
30730
|
+
* Default: true
|
|
30731
|
+
*/
|
|
30732
|
+
openWorldHint: z.ZodOptional<z.ZodBoolean>;
|
|
30733
|
+
}, "passthrough", z.ZodTypeAny, z.objectOutputType<{
|
|
30734
|
+
/**
|
|
30735
|
+
* A human-readable title for the tool.
|
|
30736
|
+
*/
|
|
30737
|
+
title: z.ZodOptional<z.ZodString>;
|
|
30738
|
+
/**
|
|
30739
|
+
* If true, the tool does not modify its environment.
|
|
30740
|
+
*
|
|
30741
|
+
* Default: false
|
|
30742
|
+
*/
|
|
30743
|
+
readOnlyHint: z.ZodOptional<z.ZodBoolean>;
|
|
30744
|
+
/**
|
|
30745
|
+
* If true, the tool may perform destructive updates to its environment.
|
|
30746
|
+
* If false, the tool performs only additive updates.
|
|
30747
|
+
*
|
|
30748
|
+
* (This property is meaningful only when `readOnlyHint == false`)
|
|
30749
|
+
*
|
|
30750
|
+
* Default: true
|
|
30751
|
+
*/
|
|
30752
|
+
destructiveHint: z.ZodOptional<z.ZodBoolean>;
|
|
30753
|
+
/**
|
|
30754
|
+
* If true, calling the tool repeatedly with the same arguments
|
|
30755
|
+
* will have no additional effect on the its environment.
|
|
30756
|
+
*
|
|
30757
|
+
* (This property is meaningful only when `readOnlyHint == false`)
|
|
30758
|
+
*
|
|
30759
|
+
* Default: false
|
|
30760
|
+
*/
|
|
30761
|
+
idempotentHint: z.ZodOptional<z.ZodBoolean>;
|
|
30762
|
+
/**
|
|
30763
|
+
* If true, this tool may interact with an "open world" of external
|
|
30764
|
+
* entities. If false, the tool's domain of interaction is closed.
|
|
30765
|
+
* For example, the world of a web search tool is open, whereas that
|
|
30766
|
+
* of a memory tool is not.
|
|
30767
|
+
*
|
|
30768
|
+
* Default: true
|
|
30769
|
+
*/
|
|
30770
|
+
openWorldHint: z.ZodOptional<z.ZodBoolean>;
|
|
30771
|
+
}, z.ZodTypeAny, "passthrough">, z.objectInputType<{
|
|
30772
|
+
/**
|
|
30773
|
+
* A human-readable title for the tool.
|
|
30774
|
+
*/
|
|
30775
|
+
title: z.ZodOptional<z.ZodString>;
|
|
30776
|
+
/**
|
|
30777
|
+
* If true, the tool does not modify its environment.
|
|
30778
|
+
*
|
|
30779
|
+
* Default: false
|
|
30780
|
+
*/
|
|
30781
|
+
readOnlyHint: z.ZodOptional<z.ZodBoolean>;
|
|
30782
|
+
/**
|
|
30783
|
+
* If true, the tool may perform destructive updates to its environment.
|
|
30784
|
+
* If false, the tool performs only additive updates.
|
|
30785
|
+
*
|
|
30786
|
+
* (This property is meaningful only when `readOnlyHint == false`)
|
|
30787
|
+
*
|
|
30788
|
+
* Default: true
|
|
30789
|
+
*/
|
|
30790
|
+
destructiveHint: z.ZodOptional<z.ZodBoolean>;
|
|
30791
|
+
/**
|
|
30792
|
+
* If true, calling the tool repeatedly with the same arguments
|
|
30793
|
+
* will have no additional effect on the its environment.
|
|
30794
|
+
*
|
|
30795
|
+
* (This property is meaningful only when `readOnlyHint == false`)
|
|
30796
|
+
*
|
|
30797
|
+
* Default: false
|
|
30798
|
+
*/
|
|
30799
|
+
idempotentHint: z.ZodOptional<z.ZodBoolean>;
|
|
30800
|
+
/**
|
|
30801
|
+
* If true, this tool may interact with an "open world" of external
|
|
30802
|
+
* entities. If false, the tool's domain of interaction is closed.
|
|
30803
|
+
* For example, the world of a web search tool is open, whereas that
|
|
30804
|
+
* of a memory tool is not.
|
|
30805
|
+
*
|
|
30806
|
+
* Default: true
|
|
30807
|
+
*/
|
|
30808
|
+
openWorldHint: z.ZodOptional<z.ZodBoolean>;
|
|
30809
|
+
}, z.ZodTypeAny, "passthrough">>>;
|
|
28309
30810
|
}, z.ZodTypeAny, "passthrough">, z.objectInputType<{
|
|
28310
30811
|
/**
|
|
28311
30812
|
* The name of the tool.
|
|
@@ -28328,6 +30829,124 @@ export declare const ServerResultSchema: z.ZodUnion<[z.ZodObject<{
|
|
|
28328
30829
|
type: z.ZodLiteral<"object">;
|
|
28329
30830
|
properties: z.ZodOptional<z.ZodObject<{}, "passthrough", z.ZodTypeAny, z.objectOutputType<{}, z.ZodTypeAny, "passthrough">, z.objectInputType<{}, z.ZodTypeAny, "passthrough">>>;
|
|
28330
30831
|
}, z.ZodTypeAny, "passthrough">>;
|
|
30832
|
+
/**
|
|
30833
|
+
* Optional additional tool information.
|
|
30834
|
+
*/
|
|
30835
|
+
annotations: z.ZodOptional<z.ZodObject<{
|
|
30836
|
+
/**
|
|
30837
|
+
* A human-readable title for the tool.
|
|
30838
|
+
*/
|
|
30839
|
+
title: z.ZodOptional<z.ZodString>;
|
|
30840
|
+
/**
|
|
30841
|
+
* If true, the tool does not modify its environment.
|
|
30842
|
+
*
|
|
30843
|
+
* Default: false
|
|
30844
|
+
*/
|
|
30845
|
+
readOnlyHint: z.ZodOptional<z.ZodBoolean>;
|
|
30846
|
+
/**
|
|
30847
|
+
* If true, the tool may perform destructive updates to its environment.
|
|
30848
|
+
* If false, the tool performs only additive updates.
|
|
30849
|
+
*
|
|
30850
|
+
* (This property is meaningful only when `readOnlyHint == false`)
|
|
30851
|
+
*
|
|
30852
|
+
* Default: true
|
|
30853
|
+
*/
|
|
30854
|
+
destructiveHint: z.ZodOptional<z.ZodBoolean>;
|
|
30855
|
+
/**
|
|
30856
|
+
* If true, calling the tool repeatedly with the same arguments
|
|
30857
|
+
* will have no additional effect on the its environment.
|
|
30858
|
+
*
|
|
30859
|
+
* (This property is meaningful only when `readOnlyHint == false`)
|
|
30860
|
+
*
|
|
30861
|
+
* Default: false
|
|
30862
|
+
*/
|
|
30863
|
+
idempotentHint: z.ZodOptional<z.ZodBoolean>;
|
|
30864
|
+
/**
|
|
30865
|
+
* If true, this tool may interact with an "open world" of external
|
|
30866
|
+
* entities. If false, the tool's domain of interaction is closed.
|
|
30867
|
+
* For example, the world of a web search tool is open, whereas that
|
|
30868
|
+
* of a memory tool is not.
|
|
30869
|
+
*
|
|
30870
|
+
* Default: true
|
|
30871
|
+
*/
|
|
30872
|
+
openWorldHint: z.ZodOptional<z.ZodBoolean>;
|
|
30873
|
+
}, "passthrough", z.ZodTypeAny, z.objectOutputType<{
|
|
30874
|
+
/**
|
|
30875
|
+
* A human-readable title for the tool.
|
|
30876
|
+
*/
|
|
30877
|
+
title: z.ZodOptional<z.ZodString>;
|
|
30878
|
+
/**
|
|
30879
|
+
* If true, the tool does not modify its environment.
|
|
30880
|
+
*
|
|
30881
|
+
* Default: false
|
|
30882
|
+
*/
|
|
30883
|
+
readOnlyHint: z.ZodOptional<z.ZodBoolean>;
|
|
30884
|
+
/**
|
|
30885
|
+
* If true, the tool may perform destructive updates to its environment.
|
|
30886
|
+
* If false, the tool performs only additive updates.
|
|
30887
|
+
*
|
|
30888
|
+
* (This property is meaningful only when `readOnlyHint == false`)
|
|
30889
|
+
*
|
|
30890
|
+
* Default: true
|
|
30891
|
+
*/
|
|
30892
|
+
destructiveHint: z.ZodOptional<z.ZodBoolean>;
|
|
30893
|
+
/**
|
|
30894
|
+
* If true, calling the tool repeatedly with the same arguments
|
|
30895
|
+
* will have no additional effect on the its environment.
|
|
30896
|
+
*
|
|
30897
|
+
* (This property is meaningful only when `readOnlyHint == false`)
|
|
30898
|
+
*
|
|
30899
|
+
* Default: false
|
|
30900
|
+
*/
|
|
30901
|
+
idempotentHint: z.ZodOptional<z.ZodBoolean>;
|
|
30902
|
+
/**
|
|
30903
|
+
* If true, this tool may interact with an "open world" of external
|
|
30904
|
+
* entities. If false, the tool's domain of interaction is closed.
|
|
30905
|
+
* For example, the world of a web search tool is open, whereas that
|
|
30906
|
+
* of a memory tool is not.
|
|
30907
|
+
*
|
|
30908
|
+
* Default: true
|
|
30909
|
+
*/
|
|
30910
|
+
openWorldHint: z.ZodOptional<z.ZodBoolean>;
|
|
30911
|
+
}, z.ZodTypeAny, "passthrough">, z.objectInputType<{
|
|
30912
|
+
/**
|
|
30913
|
+
* A human-readable title for the tool.
|
|
30914
|
+
*/
|
|
30915
|
+
title: z.ZodOptional<z.ZodString>;
|
|
30916
|
+
/**
|
|
30917
|
+
* If true, the tool does not modify its environment.
|
|
30918
|
+
*
|
|
30919
|
+
* Default: false
|
|
30920
|
+
*/
|
|
30921
|
+
readOnlyHint: z.ZodOptional<z.ZodBoolean>;
|
|
30922
|
+
/**
|
|
30923
|
+
* If true, the tool may perform destructive updates to its environment.
|
|
30924
|
+
* If false, the tool performs only additive updates.
|
|
30925
|
+
*
|
|
30926
|
+
* (This property is meaningful only when `readOnlyHint == false`)
|
|
30927
|
+
*
|
|
30928
|
+
* Default: true
|
|
30929
|
+
*/
|
|
30930
|
+
destructiveHint: z.ZodOptional<z.ZodBoolean>;
|
|
30931
|
+
/**
|
|
30932
|
+
* If true, calling the tool repeatedly with the same arguments
|
|
30933
|
+
* will have no additional effect on the its environment.
|
|
30934
|
+
*
|
|
30935
|
+
* (This property is meaningful only when `readOnlyHint == false`)
|
|
30936
|
+
*
|
|
30937
|
+
* Default: false
|
|
30938
|
+
*/
|
|
30939
|
+
idempotentHint: z.ZodOptional<z.ZodBoolean>;
|
|
30940
|
+
/**
|
|
30941
|
+
* If true, this tool may interact with an "open world" of external
|
|
30942
|
+
* entities. If false, the tool's domain of interaction is closed.
|
|
30943
|
+
* For example, the world of a web search tool is open, whereas that
|
|
30944
|
+
* of a memory tool is not.
|
|
30945
|
+
*
|
|
30946
|
+
* Default: true
|
|
30947
|
+
*/
|
|
30948
|
+
openWorldHint: z.ZodOptional<z.ZodBoolean>;
|
|
30949
|
+
}, z.ZodTypeAny, "passthrough">>>;
|
|
28331
30950
|
}, z.ZodTypeAny, "passthrough">>, "many">;
|
|
28332
30951
|
}>, z.ZodTypeAny, "passthrough">>]>;
|
|
28333
30952
|
export declare class McpError extends Error {
|
|
@@ -28343,6 +30962,7 @@ type Infer<Schema extends ZodTypeAny> = Flatten<z.infer<Schema>>;
|
|
|
28343
30962
|
export type ProgressToken = Infer<typeof ProgressTokenSchema>;
|
|
28344
30963
|
export type Cursor = Infer<typeof CursorSchema>;
|
|
28345
30964
|
export type Request = Infer<typeof RequestSchema>;
|
|
30965
|
+
export type RequestMeta = Infer<typeof RequestMetaSchema>;
|
|
28346
30966
|
export type Notification = Infer<typeof NotificationSchema>;
|
|
28347
30967
|
export type Result = Infer<typeof ResultSchema>;
|
|
28348
30968
|
export type RequestId = Infer<typeof RequestIdSchema>;
|
|
@@ -28391,6 +31011,7 @@ export type EmbeddedResource = Infer<typeof EmbeddedResourceSchema>;
|
|
|
28391
31011
|
export type PromptMessage = Infer<typeof PromptMessageSchema>;
|
|
28392
31012
|
export type GetPromptResult = Infer<typeof GetPromptResultSchema>;
|
|
28393
31013
|
export type PromptListChangedNotification = Infer<typeof PromptListChangedNotificationSchema>;
|
|
31014
|
+
export type ToolAnnotations = Infer<typeof ToolAnnotationsSchema>;
|
|
28394
31015
|
export type Tool = Infer<typeof ToolSchema>;
|
|
28395
31016
|
export type ListToolsRequest = Infer<typeof ListToolsRequestSchema>;
|
|
28396
31017
|
export type ListToolsResult = Infer<typeof ListToolsResultSchema>;
|