tool definition
The name, description and JSON Schema for its input that tell a model what a tool does and how to call it.
In more detail
Write it for a reader that guesses: shape tools like tasks, name parameters for what they hold, say when to use the tool and when not, and keep the set small. Definitions are sent on every call and count as input tokens.
Related terms
- tool use — Letting a model ask your code to run named functions with arguments, so it can fetch data or take actions it cannot do in text.
- JSON Schema — A standard vocabulary for describing the allowed shape of JSON data: which fields exist, their types, which are required and what values are allowed.
- tool loadout — The subset of tools offered to a model for one request, chosen for the task instead of offering every tool every time.
Taught in
- Tokens And The Context Window — AI Engineering: LLM Apps, RAG & Agents
- Cost, Latency And Caching — AI Engineering: LLM Apps, RAG & Agents
- Anatomy Of A Prompt — AI Engineering: LLM Apps, RAG & Agents
- From Prompts To Context — AI Engineering: LLM Apps, RAG & Agents
- Function Calling — AI Engineering: LLM Apps, RAG & Agents
- Agent SDKs And Human Approval — AI Engineering: LLM Apps, RAG & Agents
- Build An MCP Server — AI Engineering: LLM Apps, RAG & Agents
- Connect An Agent To MCP — AI Engineering: LLM Apps, RAG & Agents
- Excessive Agency — AI Engineering: LLM Apps, RAG & Agents
- Capstone: The Tasks Assistant — AI Engineering: LLM Apps, RAG & Agents