ToolDescriptor

data class ToolDescriptor(val name: String, val description: String, val parameters: JsonObject)

JSON-Schema description of a tool exposed to the LLM.

Constructors

Link copied to clipboard
constructor(name: String, description: String, parameters: JsonObject)

Properties

Link copied to clipboard

Human-readable summary for the LLM to decide when to call it.

Link copied to clipboard

Tool name as the LLM will address it.

Link copied to clipboard
val parameters: JsonObject

JSON Schema describing the expected arguments object.