Glossary · Agentic AI
What is Function calling? Definition and meaning
A model returns a structured call to a named function with arguments, and the application runs it and returns the result.
Definition
Function calling: A model returns a structured call to a named function with arguments, and the application runs it and returns the result.
In short: Letting a model request that code be run.
When it is used
Tool use: search, databases, calculations and any API.
Where it fits
Function calling belongs to Protocols in the Agentic AI topic. These are the other terms in the same group:
- MCP: An open protocol, created by Anthropic, that lets a model use tools, data sources and prompts exposed by servers.
- A2A: An open protocol, now under the Linux Foundation, with which agents discover each other and delegate tasks.
- Structured outputs: Constrains generation to a JSON schema or type so that results are always parseable.
- OAuth for tool access: Uses OAuth flows so an agent acts on a user's behalf with scoped, revocable permissions.
Learn more
The full guide to Function calling explains how it works, when to use it and how it compares with the alternatives, with examples. The glossary lists every term on the site from A to Z.
Previous term: Full fine-tuning · Next term: GaLore