In short.
Anthropic’s Tool search tool guide is implementation documentation for developers building Claude applications with large tool catalogs, but applications must still send the full catalog with every request. It explains how to load only relevant definitions into Claude’s context and handle the resulting tool calls. Its performance claims lack evaluation details on the page, model availability statements conflict, and actual retrieval quality, latency and cost are not assessed.
Researched and written by an AI model and checked by a second AI model. How it works
Coverage is the complete selected documentation page at [https://platform.claude.com/docs/en/agents-and-tools/tool-use/tool-search-tool.md], including compatibility, examples, deferred loading, response handling, MCP and custom search, errors, caching, streaming, batches, limits, usage and data handling. Related notices include inconsistent model-availability statements, a deprecated-model entry and conditional zero data retention eligibility. Linked pages are excluded. No behavior was executed; retrieval quality, performance, actual cost and production behavior remain unassessed.
The overview
Identity
This is Anthropic’s documentation for the Tool search tool, a feature that lets Claude discover tool definitions during a conversation. The resource is a technical guide, with API examples and operational details, rather than a standalone application.
The original source is [https://platform.claude.com/docs/en/agents-and-tools/tool-use/tool-search-tool.md]. It documents the built-in tool_search_tool_regex_20251119 and tool_search_tool_bm25_20251119 variants, along with an option to implement custom search.
Assessment
The guide is useful when tool definitions occupy substantial context or Claude struggles to choose among many tools. It recommends considering search with ten or more tools, more than 10,000 tokens of definitions, growing catalogs or multiple MCP servers. These are the page’s recommendations, not independently established thresholds.
Anthropic describes a multiserver example with roughly 55,000 tokens of definitions and claims typical reductions above 85 percent through selective loading. It also claims tool selection degrades beyond 30–50 tools. The page supplies no evaluation methodology or results sufficient to establish how those claims transfer to a particular application.
Users
The intended readers are developers building Claude applications that expose many functions, including teams combining tools from services such as GitHub, Slack and monitoring systems. Developers maintaining MCP integrations can use the configuration guidance to defer tools by server or individually.
Beginners receive a weather example and an explanation of the request and response sequence. Applying the guide still requires familiarity with API requests, JSON schemas, conversation history and implementing or connecting the underlying tools.
Capabilities
Both built-in variants search tool names, descriptions, argument names and argument descriptions. Regex search uses case-insensitive Python re.search() patterns limited to 200 characters. BM25 accepts natural language queries limited to 500 characters.
The page allows up to 10,000 deferred tools per request. Searches return at most five results by default, with an optional limit from 1 to 10,000. It also documents streaming events, Message Batches support and expansion of input_examples when a deferred tool is discovered.
Using it
Requirements
An application needs access to a supported Claude model and API platform, complete tool definitions and a way to execute any discovered client tools. The quick start uses claude-opus-5-5 and an anthropic-version header of 2026-10-21. Minimum SDK versions are not stated.
Compatibility is internally inconsistent: the availability section says every model is supported, while the detailed model section explicitly excludes Claude Opus 4.1 and earlier models. The page lists support across the Claude API and several cloud platforms, but specifies InvokeModel rather than Converse for legacy Amazon Bedrock bedrock-runtime access. It marks Managed Agents unavailable. Compatibility for a particular deployment needs confirmation.
Mechanism
Deferred loading keeps selected tool definitions out of Claude’s initial context. The complete catalog still travels in the request so Anthropic can search it. When Claude searches, the server returns tool_reference blocks and the API expands them into full definitions before Claude continues. Claude can then call a discovered tool.
On subsequent turns, the application must preserve the assistant’s content, including server search blocks, and resend the complete tools array. References in the conversation history let Claude reuse discovered tools without searching again. The page also states that strict-mode grammar uses the full tool list, so deferred discovery does not require grammar recompilation.
Setup
Add one search variant to the tools array and mark tools intended for discovery with defer_loading: true. Keep the search tool non-deferred; the API requires at least one non-deferred tool. The guide recommends keeping three to five frequently used tools immediately available and using descriptive names, relevant keywords and service prefixes to improve discovery.
For MCP tools, configure defer_loading through the mcp_toolset entry’s default_config or per-tool configs. Computer and browser client toolsets require this setting inside member configs, with the same resolved value for every enabled member. A deferred tool cannot also carry cache_control; place the cache breakpoint on a non-deferred tool.
Example
The documented example supplies get_weather and search_files as deferred tools, then asks for the weather in San Francisco. Claude searches for weather, receives a reference to get_weather and produces a tool_use call with the location and temperature unit. This is an illustration from the documentation; it was not executed.
The application must run get_weather and return its tool_result in a user message. It must retain the server search result unchanged and must not return a tool_result for the server search’s srvtoolu_ identifier, which the page says would cause rejection.
Assessment & evidence
Limitations
Discovery depends on matching the catalog’s metadata. A search can return no references, and the documentation does not establish retrieval recall or guarantee that the required tool will be found. Deferred loading also leaves the requirement to send complete definitions on every request.
All-deferred catalogs and references to missing definitions cause HTTP 400 errors. Search failures can instead arrive inside an HTTP 200 response, with error codes for invalid input, unavailability or rate limiting. Applications need to inspect the search result body rather than relying only on HTTP status. Search timeouts are reported as unavailable.
Why the approach may help
The architectural rationale is that loading fewer definitions leaves more context available for the task and gives Claude a smaller set of immediately visible tools. The likely benefit depends on how much of the catalog each request actually needs; this is an inference from the mechanism, not a measured outcome.
Clear metadata becomes part of application quality because a useful tool must first be discoverable. Keeping frequent tools immediately available can avoid unnecessary discovery calls, while deferring rarely used tools can reduce initial context. The evidence does not establish which balance is best for a particular workload.
Alternatives
The page recommends standard tool calling for fewer than ten tools, workloads that use every tool on every request, or very small definitions. Within built-in search, regex provides pattern matching and BM25 provides natural language queries; comparative retrieval quality is not established.
A developer can implement custom search, including embedding-based retrieval, and return tool_reference blocks inside a standard tool_result. Every referenced tool must still have a complete top-level definition. The linked embeddings recipe and other external implementations were not assessed.
Evidence
The evidence consists of the complete Anthropic documentation page at [https://platform.claude.com/docs/en/agents-and-tools/tool-use/tool-search-tool.md]. It supports the described interface, examples, stated limits and vendor claims. It contains no independent evaluation establishing application-level performance.
The captured source revision is sha256:487814c28867e468992b8ee37148e4dc7340476826174d472fb6475b0fbc554d. No example, API request, search operation or integration was executed. Linked documentation, engineering articles, pricing, contractual terms and recipes are outside the evidence.
Access & freshness
Costs
The page states that tool search is not metered as a separate server tool and that definitions loaded into context count as input tokens. The response’s usage.server_tool_use object has no tool-search field.
No token prices, cloud-specific charges, underlying-tool fees or worked total-cost calculation are provided. Total operating cost and actual savings are unknown. The claimed reduction in definition tokens does not establish an equivalent reduction in the application’s total bill.
Rights and data handling
The supplied page does not state a license for redistributing its documentation or sample code. Permission to redistribute those materials is therefore unknown.
The data-handling table lists zero data retention eligibility with an exclusion for Covered Models, and marks HIPAA eligibility as unavailable. It says tool definitions are searched in server memory per call and are not stored after the response. The linked model exclusions and broader retention terms are outside the supplied evidence, so eligibility for a specific deployment is not established.
Freshness
The source was captured at 2026-11-24T19:55:01.621Z and labels the feature stable. A publication or last-updated date is not established. The 20251119 tool identifiers and the example’s 2026-10-21 API header identify interfaces or examples, not the document’s update date.
The compatibility table marks Claude Sonnet 4.5 as deprecated; that notice concerns a listed model. The feature itself has no deprecation notice in the supplied page. The conflicting model-availability statements remain unresolved.
Practical next steps
Before adopting the feature, confirm support for the intended model, platform and endpoint. Count available tools and measure definition tokens to judge whether discovery addresses a material problem. Choose regex or BM25 according to the catalog’s naming and the queries the application needs.
For an implementation trial, keep frequent tools available, defer the remainder and compare discovery success, loaded tokens, total cost and latency on representative tasks. Include empty matches, malformed search input, service failures and conversation continuation. Check retention eligibility against the intended model and deployment. These are suggested next steps; their outcomes are unknown.
