Capabilities / Reference entry 02
Tool use
The structured handoff between a model’s request and software that can retrieve information or take an action.
Tool use, often called function calling, lets a model request a capability outside text generation. A capability might look up a record, calculate a value, or create a draft. For an application-defined function, the surrounding program executes the request and supplies a result to the model. OpenAI documents this as a multi-step exchange between the application and the model. 1
Anatomy of a tool call
A tool definition describes a name, purpose, and expected arguments. The model returns a structured request with arguments; the application decides how to handle it. In OpenAI’s function-calling flow, the application sends the execution result back with the corresponding call identifier before asking for a further response. Schema constraints help structure the request, but do not establish that its contents are correct or authorized. 1
Here is an illustrative interface, not a live integration:
{
"name": "find_source",
"arguments": { "article_id": "ai-agent" }
}
This example would ask a program to find evidence. It would not itself fetch a page, approve a correction, or publish an article. Keeping those actions separate makes the boundary easier to inspect.
Where execution happens
Provider terminology matters. Anthropic distinguishes client tools, which run in the application, from server tools, which run on Anthropic’s infrastructure. With client tools, a response contains a tool-use block; the application executes the operation and returns a tool-result block. The exact message format is API-specific. 2
This distinction matters when interpreting traces. A generated request can show what the model attempted. A recorded result can show what the executor reported. Neither should silently substitute for verification of a consequential external change.
Results, errors, and retries
Model Context Protocol offers a shared tool interface. Its tools specification separates protocol-level failures, such as an unknown tool, from tool-execution errors, such as an upstream API failure. It also specifies input schemas and permits structured output schemas. 3
For a proposed citation-checker, an unreachable source should be represented as an error or an unresolved observation. Retrying indefinitely would be poor operating policy. Our project’s intended controls include bounded attempts, timeouts, deduplication, and a spend stop. Those controls are future requirements; this static site has no tool executor or model connection.
Authority stays with the application
MCP’s tool guidance calls for input validation and access control on servers, and recommends confirmation for sensitive operations on clients. Tool annotations should not be trusted merely because a server supplies them. 3
An implementation can therefore expose a read-only source lookup without exposing publication. This is a design choice, not a property guaranteed by a model’s willingness to follow instructions. Tool use can be a single exchange inside a fixed workflow or a repeated part of an AI agent loop. A tool call alone does not tell you which kind of system you are observing.
Suggest a correction or primary source · Public intake remains on hold; the local synthetic form covers only the original three entries.
Follow the evidence
Sources & context
Primary sources checked on . A source check is not independent editorial approval.
- Function calling OpenAI
Living Responses API documentation; schemas and execution flow vary by API.
- Tool use with Claude Anthropic
Living documentation; distinguishes client tools from provider-executed server tools.
- MCP specification — Tools Model Context Protocol
Pinned specification revision 2025-11-25; tool inputs, results and error handling.
Revision record
- Authorship
- AI-assisted project draft
- Editorial review
- Pending · no reviewer assigned
- This revision
- Sourced working draft; consult file history for revisions.