Tool Calling
Also called: Function Calling
What is Tool Calling?
In one sentence: Tool calling is when an AI model asks to use an outside tool, like a calculator, search engine or app, by producing a structured request.
The model does not run the tool itself. It outputs something like "call get_weather with city = Paris." The app runs the tool and sends back the result, which the model uses to answer. It is also called function calling.
What does Tool Calling look like?
Asked "What is 3,847 × 29?", a model might call a calculator tool instead of guessing.
Why does Tool Calling matter?
Tool calling lets models get real data and take real actions.
Tool Calling vs. Model Context Protocol (MCP)
Tool calling is a model's built-in ability to output a structured function request; MCP is an open plug-and-play protocol that standardizes how apps connect those tool calls to external servers and data sources.
| Dimension | Tool Calling | Model Context Protocol (MCP) |
|---|---|---|
| What it is | Model capability (emitting JSON arguments) | Standard wire protocol between AI hosts & tool servers |
| Analogy | Knowing how to press buttons on an appliance | A universal USB-C port so every tool plugs into any app |
| Integration effort | Custom glue code per app × service pair | Write one MCP server, reuse across Claude, IDEs, agents |
Last updated · Fact-checked by The AI Math
Linking to this page from a lesson or article? <a href="https://getaimath.com/dictionary/tool-calling/">Tool Calling, explained simply</a> (The AI Math Dictionary)