A plain JSON Schema object with type: 'object', which is how it is told apart from a parameter map. Schema-library objects (for example Zod schemas) must be converted first, for example with z.toJSONSchema(), or they are dropped.
type: 'object'
z.toJSONSchema()
Optional
A plain JSON Schema object with
type: 'object', which is how it is told apart from a parameter map. Schema-library objects (for example Zod schemas) must be converted first, for example withz.toJSONSchema(), or they are dropped.