JSON Schema definition for tool parameter validation
Describes the shape of arguments a Tool accepts. Passed to the model via formatChat() so it can generate valid tool-call arguments.
formatChat()
Additional schema constraints (minItems, enum, etc.)
JSON Schema type (e.g. "object", "string", "array")
"object"
"string"
"array"
Optional
Property definitions when type is "object"
type
Required property names when type is "object"
JSON Schema definition for tool parameter validation
Describes the shape of arguments a Tool accepts. Passed to the model via
formatChat()so it can generate valid tool-call arguments.