File tree Expand file tree Collapse file tree 1 file changed +0
-14
lines changed Expand file tree Collapse file tree 1 file changed +0
-14
lines changed Original file line number Diff line number Diff line change @@ -1035,19 +1035,6 @@ export const CallToolResultSchema = ResultSchema.extend({
10351035 isError : z . boolean ( ) . optional ( )
10361036} ) ;
10371037
1038- // const LegacyCallToolResultSchema = ResultSchema.extend({
1039- // toolResult: z.unknown()
1040- // });
1041-
1042- // export type LegacyCallToolResult = z.infer<typeof LegacyCallToolResultSchema>;
1043-
1044- // export const isLegacyCallToolResult = (value: unknown): value is LegacyCallToolResult => LegacyCallToolResultSchema.safeParse(value).success;
1045-
1046- // /**
1047- // * CallToolResultSchema extended with backwards compatibility to protocol version 2024-10-07.
1048- // */
1049- // export const CompatibilityCallToolResultSchema = CallToolResultSchema.or(LegacyCallToolResultSchema);
1050-
10511038/**
10521039 * Parameters for a `tools/call` request.
10531040 */
@@ -1737,7 +1724,6 @@ export type ListToolsRequest = Infer<typeof ListToolsRequestSchema>;
17371724export type ListToolsResult = Infer < typeof ListToolsResultSchema > ;
17381725export type CallToolRequestParams = Infer < typeof CallToolRequestParamsSchema > ;
17391726export type CallToolResult = Infer < typeof CallToolResultSchema > ;
1740- // export type CompatibilityCallToolResult = Infer<typeof CompatibilityCallToolResultSchema>;
17411727export type CallToolRequest = Infer < typeof CallToolRequestSchema > ;
17421728export type ToolListChangedNotification = Infer < typeof ToolListChangedNotificationSchema > ;
17431729
You can’t perform that action at this time.
0 commit comments