AI GLOSSARY · AGENTS AND AGENT TOOLING
Tool calling (function calling)
Definition
Tool calling lets a model request an operation from an exposed tool. The application or provider may execute the request and return a result. Requesting a tool does not establish that execution was authorized or successful.
Also called: function calling, tool use, tool calls, LLM tool calling.
In plain language
A model can request a file lookup, calculation or another operation. The surrounding application or provider handles execution under its controls and can return data or an error. The model may then answer or request another operation. A generated request is a proposal to the execution environment, not evidence that the requested action happened.
Technical definition
Schema-based function tools describe a name and structured inputs, often with JSON Schema. Tool calling is broader: OpenAI also documents custom tools with free-form text inputs and provider-managed built-ins. In an application-function flow, application code executes permitted calls and returns results; hosted tools may be executed by the provider. As implementation practice, validate arguments and authorization before executing consequential client tools, distinguish tool errors from successful outputs, and identify the executor rather than inferring execution from a model message. These safeguards are application responsibilities, not universal requirements established by every tool-calling API.
Worked examples in this catalogue
Catalogue examples point at a skill, guide or coding tool listed on this site, with what to run and what you see. An example marked illustrative describes the item from its own documentation; it was not executed for this page. Platform Scores are our assessment under a published method, not a safety guarantee.
Guide · Illustrative, not executed
Agent Skills vs Tools: Instructions or Callable Actions
- What you see
- A table comparing a skill with an MCP tool: what each is, how the model finds it, what inputs it takes, what comes back and who triggers it, followed by common failure modes such as tools called with bad arguments.
- Why it exercises the concept
- It separates the two ideas that people most often merge: instructions the model reads, and an action the model calls with typed arguments.
Skill by Anthropic · Illustrative, not executed
mcp-builder 27/100 · Provisional, not yet measuredScored · Method v0.2 · How we score
- What you see
- A guide for creating MCP servers that let LLM applications interact with external services through designed tools.
- Why it exercises the concept
- An MCP server can publish tools to compatible MCP clients. The pinned guide covers tool names, descriptions, input and output schemas, bounded results, errors, transport and testing—the server-side contract behind those calls.
Skill by Skill Almanac · Illustrative, not executed
llm-json-output-validator 58/100 · Provisional, not yet measuredScored · Method v0.2 · How we score
- What you see
- Model replies checked against a JSON Schema subset, with failures counted by class and field.
- Why it exercises the concept
- A tool call is structured output the model must get right. This skill shows how often replies break the schema and which fields break them.
Coding tool · Illustrative, not executed
Claude Code
- What to try
/context- What you see
- A breakdown of what is using the session's context, so you can see how much space tool definitions and tool results take.
- Why it exercises the concept
- Claude Code's context view can show tool definitions and results that occupy session context. Included material consumes context capacity; whether that produces a separate charge depends on API or subscription-plan accounting.
How it shows up when you use agents
An LLM-based agent can request a tool, receive a result and use it in a later decision. Reading a file can be implemented as a tool operation even though it does not change the file; a file may instead be attached directly or exposed as an MCP resource. A call may instead be rejected, require approval or return an error. Inspect the actual result before claiming completion.
OpenAI's documented application-function example has a request/call/execution/result/continuation flow. That example does not require every tool system to use the same input format or execute every requested operation. Keep declarations, model requests, execution and returned evidence distinct.
Common confusions
- Function versus tool. Vendor terminology overlaps, but schema-based functions are one tool interface, not every possible interface.
- Request versus execution. A model-generated call does not prove authorization, execution or success.
- Tool versus skill. A tool exposes functionality. A skill provides reusable instructions and resources and may guide tool use.
- Tool calling versus MCP. MCP is a protocol through which tools and other capabilities can be exposed; model tool use can also occur without MCP.
- Description versus control. Tool descriptions help the model select functionality. Application permissions and validation remain separate controls.
Related terms
Show all 56 related terms
Terms that mention Tool calling (function calling)
32 terms mention this one
- Agent harness
- Agent mode
- Agent skill
- Agentic AI
- Agentic search
- AI agent
- AI workflow
- AutoGen (Microsoft)
- Code execution (tool)
- Computer use
- Firecrawl
- Google AI Studio
- Human in the loop (HITL)
- Indirect prompt injection
- LLM security
- MCP client
- MCP server
- n8n
- Open WebUI
- OpenAI Agents SDK
- OpenAI Swarm
- OpenRouter
- PydanticAI
- ReAct prompting
- Semantic Kernel
- smolagents
- τ-bench (tau-bench)
- Text generation web UI
- Text-to-SQL
- Together AI
- vLLM
- AI voice agent
More in Agents and agent tooling
Sources
- Tool use with Claude, Anthropic (Claude API Docs) (accessed 2026-11-25)
- Function calling, OpenAI (API Docs) (accessed 2026-11-25)
- Manage costs effectively, Anthropic (Claude Code Docs) (accessed 2026-11-25)
Definitions are written by Skill Almanac from these sources and were checked against them on 2026-11-25. Wikipedia is never the only source.
Review record
Last verified
Drafted by Claude (original draft) and Codex (automated revisions); sources and example targets checked by Independent automated source review (OpenAI Codex); not human peer review on 2026-11-25. Last verified .
Change log (6)
- : Independent automated factual/example and synonym review completed; cached US query estimate aligned to receipt. Final technical gate separate; publication disabled. Relevant topic only; exclusive definition intent unconfirmed.
- : First version.
- : Scoped entity, retrieval and tool-use explanations; complete exact-version review remains pending.
- : Author patch: distinguished requests from execution, treated validation and authorization as implementation advice, corrected file-access and MCP-client wording, and qualified context billing; reviewer approval remains pending.
- : OpenAI5.6/Codex revision: Separates tool requests, execution and authorization; corrects file-access, MCP-client and context-accounting claims. Independent re-review pending.
- : Automated review completed; approved for the staged public release. Search indexing is controlled by the release configuration.