type InferToolInput<T> = T extends object ? TInput extends z.ZodType ? z.infer<TInput> : any : any;
type InferToolInput<T> = T extends object ? TInput extends z.ZodType ? z.infer<TInput> : any : any;
Defined in: tools/tool-definition.ts:61
Extract the input type from a tool (inferred from Zod schema)
T
