Function calling: how AI stops talking and starts doing
What it is — in one coffee-break
Function calling is how a language model stops just talking and starts doing. You describe the actions available — "create_invoice takes a customer and an amount" — and instead of prose, the model answers with a structured request: call create_invoice, customer X, amount Y. Your software executes it and reports back. Every AI agent that books, files, updates or sends anything is built on this loop.
Before function calling existed, developers parsed actions out of free-form model text with pattern matching — brittle and error-prone. Structured tool calls, introduced in 2023 and now supported by every major provider, made "AI that acts" an engineering discipline instead of a party trick.
When you actually need it (and when you don't)
If your AI only produces text for a human to use, you don't need it. You need it the moment the AI should touch another system: check a calendar, update a CRM record, send a reminder. For a small business this usually arrives hidden inside a workflow tool — when Make or n8n lets "the AI decide" which branch to take or which app to update, function calling is doing the work under the hood.
The 2026 landscape splits into two complementary layers. Plain function calling lives inside one application, one provider — simple, fast, fine for a contained product. MCP (Model Context Protocol — covered in the Protocols lesson later in this track) puts the tools on a separate server that ANY AI client can discover and use, with authentication and audit logging built into the protocol. The practical rule from the field: function calling for app-specific logic, MCP for anything you want to reuse across tools — most real systems use both.
How to recognize good vs bad implementations
Function calling (Fc) produces some of the sharpest scores in the audits, because it IS certain products. Zapier scores Fc 9 — its whole 8,000-app catalogue is one giant tool library for agents. ChatGPT and Claude both score 9 with mature, typed tool interfaces; n8n, Make and Windsurf all score 8.5. The failures are equally telling: creative tools with no action surface at all, and platforms that support tools in the demo but fall over on multi-step sequences. The buyer's test: can the AI complete a three-step task — look something up, decide, then act — without a human copy-pasting between steps?
What this costs
Two meters run. Every tool description you offer the model consumes input tokens on every call — with 50+ tools you pay thousands of tokens per request just describing them (one reason MCP's on-demand discovery matters). And every action step is another model call: an agent that takes five steps costs roughly five times a one-shot answer. Budget agents by task, not by message — our pricing table tracks published cost-per-task figures for exactly this reason.
Where to see it scored
Fc with reasons: Zapier (9), ChatGPT (9), n8n (8.5), Make (8.5). And for whether the services your agent must talk to will actually let it in, see our new Agent Friendliness Index.