Skip to content

Commit e6dbf5f

Browse files
committed
clean up imports
1 parent b0e1210 commit e6dbf5f

File tree

1 file changed

+1
-3
lines changed

1 file changed

+1
-3
lines changed

src/tools/tool.ts

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,4 @@
1-
import type { z, ZodTypeAny } from "zod";
2-
import { type ZodRawShape } from "zod";
1+
import type { z, ZodTypeAny, ZodRawShape, ZodNever } from "zod";
32
import type { RegisteredTool, ToolCallback } from "@modelcontextprotocol/sdk/server/mcp.js";
43
import type { CallToolResult, ToolAnnotations } from "@modelcontextprotocol/sdk/types.js";
54
import type { Session } from "../common/session.js";
@@ -10,7 +9,6 @@ import type { UserConfig } from "../common/config/userConfig.js";
109
import type { Server } from "../server.js";
1110
import type { Elicitation } from "../elicitation.js";
1211
import type { PreviewFeature } from "../common/schemas.js";
13-
import { type ZodNever } from "zod";
1412

1513
export type ToolArgs<Args extends ZodRawShape> = z.objectOutputType<Args, ZodNever>;
1614
export type ToolCallbackArgs<Args extends ZodRawShape> = Parameters<ToolCallback<Args>>;

0 commit comments

Comments
 (0)