Tool Schema
A formal description of a tool that is passed to the model during tool calling: function name, list of parameters with types and descriptions.
Example
{
"name": "get_weather",
"description": "Current weather in the city",
"parameters": {
"city": {"type": "string", "description": "City name"}
}
}
Why
The model does not ‘know’ the tools itself — it only sees the schema. The more precisely the parameters are described, the more accurately the model forms the call.