Applied AI·Structured outputs and tool calling
the model kept picking the wrong tool until you rewrote the description like documentation for a junior engineer.
Tool definition / schema
Also calledschema
Draft summary, pending review
The specification you give the model per tool: name, natural-language description and a JSON schema for parameters. The description is load-bearing; models choose tools mostly by reading it, so write it like documentation for a junior engineer.