mirror of
https://gitlab.com/soapbox-pub/shakespeare.git
synced 2026-12-06 08:37:22 +00:00
Fix tool argument parsing
This commit is contained in:
5 files changed
+64
-67
No files matched your search
@@ -3,5 +3,5 @@ import type z from "zod";
|
||||
export interface Tool<TParams> {
|
||||
description: string;
|
||||
inputSchema: z.ZodType<TParams>;
|
||||
execute(args: TParams): Promise<unknown>;
|
||||
execute(args: TParams): Promise<string>;
|
||||
}
|
||||
Reference in new issue
Block a user