Make Tool inputSchema optional

This commit is contained in:
Alex Gleason committed 2025-09-11 16:03:06 -05:00
1 parent ba2cfe7b68
commit 0f67f64936
8 files changed
+40 -52

No files matched your search

+1 -1
View File
@@ -2,6 +2,6 @@ import type z from "zod";
export interface Tool<TParams> {
description: string;
inputSchema: z.ZodType<TParams>;
inputSchema?: z.ZodType<TParams>;
execute(args: TParams): Promise<string>;
}