What is it?
Tool calling (function calling)
The mechanism by which an agent takes action in the world. The model outputs a structured request to run a named function with specific arguments (for example, search_emails(query="invoice")), and the harness runs it and returns the result. Tools are how an agent moves beyond text and actually does things: search the web, read a file, send a message, run code.
From the AI agent glossary
Where Tool calling is explained
- Anatomy of an AI AgentArchitecture and System Design · The six parts
- Model-Provider Abstraction and Multi-Model StrategyArchitecture and System Design · The adapter pattern
- Reliability: Retries, Idempotency, and Failure HandlingArchitecture and System Design · Bound the agent's own runaway behavior
- The Building Blocks of Agentic IntelligenceAgentic RAG · The four core agentic patterns
- What Is an Agent Harness?Building Coding Agents and Harnesses · Real code: the model answers, the environment acts