Returns a tool's input as JSON Schema (draft 2020-12), using the Standard JSON Schema interface when the schema implements it (Zod 4 does), and falling back to a permissive object schema otherwise.
Returns a tool's input as JSON Schema (draft 2020-12), using the Standard JSON Schema interface when the schema implements it (Zod 4 does), and falling back to a permissive object schema otherwise.