1
1
import { z , ZodTypeAny } from "zod" ;
2
2
3
- export const LATEST_PROTOCOL_VERSION = "2024-11-05 " ;
3
+ export const LATEST_PROTOCOL_VERSION = "2025-03-26 " ;
4
4
export const SUPPORTED_PROTOCOL_VERSIONS = [
5
5
LATEST_PROTOCOL_VERSION ,
6
+ "2024-11-05" ,
6
7
"2024-10-07" ,
7
8
] ;
8
9
@@ -754,11 +755,11 @@ export const PromptListChangedNotificationSchema = NotificationSchema.extend({
754
755
/* Tools */
755
756
/**
756
757
* Additional properties describing a Tool to clients.
757
- *
758
- * NOTE: all properties in ToolAnnotations are **hints**.
759
- * They are not guaranteed to provide a faithful description of
758
+ *
759
+ * NOTE: all properties in ToolAnnotations are **hints**.
760
+ * They are not guaranteed to provide a faithful description of
760
761
* tool behavior (including descriptive properties like `title`).
761
- *
762
+ *
762
763
* Clients should never make tool use decisions based on ToolAnnotations
763
764
* received from untrusted servers.
764
765
*/
@@ -771,27 +772,27 @@ export const ToolAnnotationsSchema = z
771
772
772
773
/**
773
774
* If true, the tool does not modify its environment.
774
- *
775
+ *
775
776
* Default: false
776
777
*/
777
778
readOnlyHint : z . optional ( z . boolean ( ) ) ,
778
779
779
780
/**
780
781
* If true, the tool may perform destructive updates to its environment.
781
782
* If false, the tool performs only additive updates.
782
- *
783
+ *
783
784
* (This property is meaningful only when `readOnlyHint == false`)
784
- *
785
+ *
785
786
* Default: true
786
787
*/
787
788
destructiveHint : z . optional ( z . boolean ( ) ) ,
788
789
789
790
/**
790
- * If true, calling the tool repeatedly with the same arguments
791
+ * If true, calling the tool repeatedly with the same arguments
791
792
* will have no additional effect on the its environment.
792
- *
793
+ *
793
794
* (This property is meaningful only when `readOnlyHint == false`)
794
- *
795
+ *
795
796
* Default: false
796
797
*/
797
798
idempotentHint : z . optional ( z . boolean ( ) ) ,
@@ -801,7 +802,7 @@ export const ToolAnnotationsSchema = z
801
802
* entities. If false, the tool's domain of interaction is closed.
802
803
* For example, the world of a web search tool is open, whereas that
803
804
* of a memory tool is not.
804
- *
805
+ *
805
806
* Default: true
806
807
*/
807
808
openWorldHint : z . optional ( z . boolean ( ) ) ,
0 commit comments