File tree Expand file tree Collapse file tree 1 file changed +1
-3
lines changed
Expand file tree Collapse file tree 1 file changed +1
-3
lines changed Original file line number Diff line number Diff line change 1- import type { z , ZodTypeAny } from "zod" ;
2- import { type ZodRawShape } from "zod" ;
1+ import type { z , ZodTypeAny , ZodRawShape , ZodNever } from "zod" ;
32import type { RegisteredTool , ToolCallback } from "@modelcontextprotocol/sdk/server/mcp.js" ;
43import type { CallToolResult , ToolAnnotations } from "@modelcontextprotocol/sdk/types.js" ;
54import type { Session } from "../common/session.js" ;
@@ -10,7 +9,6 @@ import type { UserConfig } from "../common/config/userConfig.js";
109import type { Server } from "../server.js" ;
1110import type { Elicitation } from "../elicitation.js" ;
1211import type { PreviewFeature } from "../common/schemas.js" ;
13- import { type ZodNever } from "zod" ;
1412
1513export type ToolArgs < Args extends ZodRawShape > = z . objectOutputType < Args , ZodNever > ;
1614export type ToolCallbackArgs < Args extends ZodRawShape > = Parameters < ToolCallback < Args > > ;
You can’t perform that action at this time.
0 commit comments