ToolSchema

data class ToolSchema(val properties: JsonObject? = null, val required: List<String>? = 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)

Properties

Link copied to clipboard

Optional map of property names to their schema definitions.

Link copied to clipboard

Optional list of property names that are required.

Link copied to clipboard

Always "object" for tool schemas.