import { ZodRawShape } from "zod"; export type TextResult = { content: { type: "text"; text: string; }[]; isError?: boolean; }; export type ToolDef = { title: string; config: { description: string; inputSchema?: ZodRawShape, }; // eslint-disable-next-line @typescript-eslint/no-explicit-any handler: (...args: any[]) => Promise; };