Skip to main content

Tool Calling / Function Calling

Tool Calling / Function Calling

  • Agents
  • Stage 3 · Going Deeper
  • refs checked 2026-11-09
What problem it solves

Let the model actually do things — search, run code, edit files — rather than only describe them.

What it is
A mechanism where the model emits a structured request for a function, the system runs it, and the result goes back into the conversation.
The model emits a structured call, the runtime executes the tool and writes the result back; the model never touches the database or browser itself.
The model emits a structured call, the runtime executes the tool and writes the result back; the model never touches the database or browser itself.
Why it matters

It is what turns a language model into a usable assistant. It also introduces real risk: the model can act wrongly, not just speak wrongly.

Sources
  • OpenAI Function Calling Guide ↗
  • Anthropic Tool Use with Claude ↗
Use this term in a task

Don’t stop at the definition: use the task handbook for the order and checks, or filter three tool candidates for the job at hand.

Task handbooks → · Filter three candidates →