ToolSchema
data class ToolSchema(val properties: JsonObject? = null, val required: List<String>? = null, val defs: JsonObject? = null)(source)
A JSON Schema for tool input or output parameters.
This is a simplified schema structure that must be of type "object".
Constructors
Link copied to clipboard
constructor(properties: JsonObject? = null, required: List<String>? = null, defs: JsonObject? = null)
Properties
Link copied to clipboard
Optional schema definitions available to references in properties. Serialized as $defs.
Link copied to clipboard
Optional map of property names to their schema definitions.
Link copied to clipboard
Always "object" for tool schemas.