Learning resourcesReviewed · Anthropic

How tool use works

How tool use works is Anthropic's guide for developers connecting Claude to tools, but it explains the concepts without a complete implementation. It distinguishes application-executed tools from Anthropic-executed tools and explains how requests, results and stop reasons control the conversation.

Researched 14 Nov 2026

In short.

How tool use works is Anthropic's conceptual guide for developers building Claude tool integrations, but readers need additional implementation details to build a working application. Its main contribution is explaining who executes each tool and who continues the conversation. It covers user-defined tools, Anthropic-provided schemas, server tools, client conversation loops, paused server turns and mixed client/server calls. Supported model versions, pricing and measured reliability are not established by this page.

Researched and written by an AI model and checked by a second AI model. How it works

Coverage includes the complete documentation page at [https://platform.claude.com/docs/en/agents-and-tools/tool-use/how-tool-use-works.md]: the tool-use contract, three execution categories, client and server loops, mixed parallel calls, suitability guidance, comparison table and next-step references. Linked pages are excluded. The captured text contains no explicit licence notice. No implementation was executed, and runtime correctness, performance, pricing and model-specific compatibility remain unassessed.

The overview

identity

This is an Anthropic documentation page about Claude tool use. The original source address is [https://platform.claude.com/docs/en/agents-and-tools/tool-use/how-tool-use-works.md]. It is a conceptual learning resource, with links to separate tutorials and API guides.

Its central distinction is between Claude requesting an operation and another system executing it. Claude receives tool schemas and returned results; for application-defined tools, it does not receive the implementation.

assessment

The guide is useful for deciding which parts of a tool integration your application must own. Its three execution categories make an important engineering distinction: an Anthropic-provided schema can still require your application to execute the operation.

It is a useful orientation before implementation. It does not provide a complete application, empirical reliability results or enough configuration detail to establish compatibility with a particular deployment.

users

Beginners can use the page to understand why a model's request to query a database or write a file does not perform that action by itself. Developers familiar with APIs can map schemas, execution handlers and returned results onto familiar integration concepts.

Experienced developers will find the stop-reason behavior and mixed client/server execution details particularly relevant. Readers seeking runnable code, authentication instructions or an SDK-specific walkthrough will need additional documentation.

capabilities

The page explains three tool categories. User-defined tools expose application-specific operations. Anthropic-schema tools supply predefined interfaces for memory, shell commands, file editing, computer control and browser control, while your application still executes them. Server tools such as web_search, web_fetch, code_execution and tool_search execute through Anthropic.

It also explains when tools are useful: performing actions, obtaining external data, expressing structured intent and accessing existing systems. These are explanations of integration capabilities, not functionality supplied by the page itself.

Using it

requirements

Client-executed tools require application code that supplies tool definitions, reads tool_use blocks, executes the requested operations and returns tool_result blocks. The application must retain the conversation and inspect stop_reason to decide what happens next.

For server tools, the application enables the tool in its request and handles returned responses and continuation conditions. Exact model eligibility, API versions, SDK dependencies, credentials and deployment requirements are not specified here.

mechanism

For client tools, the application sends messages and a tools array. Claude can respond with stop_reason set to tool_use and one or more tool_use blocks containing tool names and JSON arguments. The application runs the operations, then sends the previous conversation, the assistant response and a user message containing tool_result blocks. This repeats while the stop reason is tool_use.

Other stop reasons require separate interpretation: end_turn, max_tokens, stop_sequence and refusal do not all mean successful completion. Server tools ordinarily run their loop inside Anthropic. If its iteration limit is reached, pause_turn means the conversation, including the paused response, must be sent again to continue.

A mixed parallel group creates another handoff: a server tool requested alongside a client tool can appear without its result, with stop_reason set to tool_use. The server operation runs after the application returns the client tool results.

setup

Start by choosing the execution category for each operation. For custom business logic or internal data, define a tool schema and implement its execution handler. For an Anthropic-schema client tool, use the supplied interface and provide the execution environment. For a server tool, enable it in the API request.

Then implement the applicable response loop, including non-completion stop reasons and server continuation. The page supplies this outline but leaves exact schemas, request formatting, parallel-call handling and installation steps to linked documentation.

example

An illustrative, unexecuted example is an application answering a question using its database. The application supplies a database lookup tool schema. Claude requests the lookup through a tool_use block, the application performs the query and returns a tool_result, and Claude uses the returned information to continue its answer.

This illustrates the page's client execution contract. It does not establish a particular database integration, argument format, query result or successful runtime outcome.

Assessment & evidence

limitations

The guide describes control flow without providing a runnable integration, complete error-handling strategy or measured latency. The server loop has an iteration cap, but its numerical value is not given.

Anthropic states that its predefined client schemas improve calling reliability and recovery because Claude was trained on those signatures. No comparative measurements, model-specific results or reproducible evaluation are supplied. Structured arguments also do not, by themselves, establish that an operation is correct.

reasoning

The page's decision rule is practical: use tools when the task requires an operation or information beyond text generation. Actions, fresh data and application-specific systems need an execution or retrieval mechanism. Schemas can also make intended operations explicit instead of requiring an application to extract decisions from prose.

For summarization, translation or simple questions answerable without external operations, the page recommends avoiding unnecessary tool round trips. The relevant tradeoff is whether execution or external information justifies the added interaction overhead.

alternatives

Within Claude, user-defined client tools suit custom logic and proprietary systems. Anthropic-schema client tools offer predefined interfaces for common operations while retaining application execution responsibilities. Server tools shift supported execution to Anthropic and require handling their continuation behavior.

An ordinary text response is another option when no external operation is needed. The page does not compare other providers, agent frameworks or competing tool protocols, so their relative suitability is not assessed.

evidence

The supporting source is the complete Anthropic page at [https://platform.claude.com/docs/en/agents-and-tools/tool-use/how-tool-use-works.md]. It provides conceptual explanations, a numbered client loop, server continuation conditions and an approach comparison.

The page contains no execution trace or benchmark results supporting its reliability claims. Linked tutorials and reference pages are outside the available evidence. No tools or applications were executed; runtime behavior is not assessed.

Access & freshness

costs

The page provides no API prices, tool charges, free-tier terms or cost examples. Reading costs, implementation costs and ongoing usage costs are unknown from this evidence.

Client tool calls require additional request round trips, and server requests can involve several internal operations. The page does not quantify their latency or billing consequences, so neither performance overhead nor total cost can be calculated here.

rights

The supplied page contains no explicit licence or redistribution grant for its text. Permission to copy, modify or bundle the documentation is therefore unknown from this evidence.

Terms governing API use, individual tools and data handled through those tools are also not supplied. The page does not establish those rights or obligations.

freshness

The supplied source was captured on 14 November 2026. The page text provides no publication date, last-update date or pinned model or API version.

The capture date establishes when this text was obtained, not when each described feature changed. Compatibility with a particular current model or deployment remains unknown.

actions

Use the guide to assign execution responsibility and identify the stop reasons your application must handle. Before implementation, obtain the exact schema and request contract for the tools and models you intend to use, along with their pricing and applicable terms.

The page directs readers to Build a tool-using agent [https://platform.claude.com/docs/en/agents-and-tools/tool-use/build-a-tool-using-agent], Define tools [https://platform.claude.com/docs/en/agents-and-tools/tool-use/define-tools] and Handle tool calls [https://platform.claude.com/docs/en/agents-and-tools/tool-use/handle-tool-calls]. These are implementation references; their contents are not included in this page's evidence.

Evidence for this report

selected-page.txtselected · checked 2026-11-14