← Tool Use & Function Calling
Tool Schema
A tool schema is the formal description of a tool that the language model receives at inference time: it includes the tool's name, a natural-language description of what it does, and a typed parameter specification — typically expressed as JSON Schema. The model uses the schema to decide whether to call a tool and to produce correctly structured arguments. A well-written schema is one of the most important levers for improving tool-selection accuracy.