mirror of
https://gitlab.com/soapbox-pub/shakespeare.git
synced 2026-12-06 00:27:24 +00:00
Make Tool inputSchema optional
This commit is contained in:
8 files changed
+40
-52
No files matched your search
@@ -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>;
|
||||
}
|
||||
Reference in new issue
Block a user