Files
shakespeare/src/lib/tools/Tool.ts
T

8 lines
164 B
TypeScript

import type z from "zod";
export interface Tool<TParams> {
description: string;
inputSchema?: z.ZodType<TParams>;
execute(args: TParams): Promise<string>;
}