In short.
Anthropic’s Search results guide helps developers add document citations to Claude applications, but it leaves the search system that finds those documents to the application. It explains how to submit text with source labels, enable citations and interpret references to whole text blocks. Important constraints include consistent citation settings across a request, stricter tool-result formatting and different placement rules for Managed Agents. Pricing, measured citation accuracy and minimum SDK versions are not established. No examples or API calls were executed.
Researched and written by an AI model and checked by a second AI model. How it works
Covers the complete selected page at [https://platform.claude.com/docs/en/build-with-claude/search-results.md], including its metadata, examples, citation controls, content restrictions, platform availability and data-handling notices. Linked pages on citations, prompt caching, tool definitions, the web search tool, data retention, streaming refusals, the Messages API reference, Managed Agents and the cloud platform pages are excluded. No commands, examples or API requests were executed. Runtime correctness, model and SDK compatibility, citation quality, performance, total cost and deployment-specific compliance were not assessed.
The overview
Identity
Search results is an Anthropic documentation page about supplying Claude with text that it can cite in generated answers. It is a guide to an API feature rather than a standalone search service. The original source is [https://platform.claude.com/docs/en/build-with-claude/search-results.md].
The feature supports retrieval-augmented generation, or RAG: an application finds relevant material and passes it to a model to help answer a question using that material.
Assessment
The guide is useful when an application already retrieves text and needs answers with references to the supplied sources. It provides request schemas, tool-conversation examples and citation fields that developers can use to display supporting passages.
Its examples illustrate the intended behavior, but do not establish citation accuracy, completeness, retrieval quality or production reliability. Source labels and titles come from the application; their appearance in a citation does not independently verify the source or the answer.
Users
The intended users are developers building document question answering, company knowledge-base assistants or other applications that need source attribution. Directly supplied results suit applications with prefetched or cached material; tool-returned results suit applications that search during a conversation.
Beginners can learn the request structure from the direct-results examples. Implementing dynamic retrieval requires additional application code, API access and handling of the tool conversation.
Capabilities
A search_result block combines source text with a title and a stable source string. The source can be a web address or an internal identifier. Results may contain multiple text blocks, and citations identify the blocks supporting a response. The Messages API can combine prefetched results and results returned by tools in the same conversation.
The page lists Messages API availability across Claude API, Amazon Bedrock, Amazon Bedrock through bedrock-runtime, Claude Platform on AWS, Claude Models on Google Cloud through Google-managed access, and Microsoft Foundry. Managed Agents availability is listed for Claude API and Claude Platform on AWS.
Using it
Requirements
Each result requires type set to search_result, a source string, a descriptive title and a content array containing text blocks with non-empty text. Citations are disabled by default. To receive them, explicitly set citations.enabled to true on every result in the request.
Messages API results belong in user messages, either directly or inside tool results. Managed Agents accepts them only in tool results, such as user.custom_tool_result events, rather than user.message events. The guide assumes access to a supported model and platform, but does not specify minimum SDK versions.
Mechanism
With citations enabled, Claude can attach search_result_location citation objects to response text that uses supplied results. These objects include source, title, cited_text, search_result_index, start_block_index and end_block_index. The result index is zero-based and follows the order of search_result blocks across all messages and tool results in the request.
The start block index is inclusive and the end block index is exclusive. cited_text contains the full text of that block range, joined together. Whole text blocks are the smallest citable units, so splitting long passages into focused blocks provides finer citation boundaries than submitting an entire document as one block.
Setup
For prefetched material, format the text as search_result blocks, enable citations consistently and include the question as another content block in a user message. The guide provides direct-request examples using cURL, CLI and several SDK languages.
For dynamic retrieval, define a search tool and implement its search logic. When Claude requests that tool, preserve the complete assistant response in the conversation, then append a tool_result matched through tool_use_id and send the conversation back. The examples locate the tool_use block by type because it may not be the first response block. Their tool_choice configuration forces the illustrated search call; the retrieval implementation itself remains application code.
Example
The documented knowledge-base example asks how to configure timeout settings. Its search function returns a product guide describing a 30-second default and an adjustable range of 10 to 120 seconds, alongside a troubleshooting guide. Each passage has its own source, title and enabled citation setting.
The application returns these results after a forced search_knowledge_base tool call, then requests the final answer. The timeout values describe the fictional product in the example; they are not Claude API limits. This is a documentation illustration, and it was not run.
Assessment & evidence
Limitations
Search results contain text only; their content arrays cannot hold images or other media. Search_result blocks in assistant messages are rejected. User messages may combine search results with other content types, but a tool_result containing any search_result blocks must contain only search_result blocks at that array level. Supporting text can instead go inside a result’s content array.
Citation settings are all-or-nothing across results in a request; mixing enabled and disabled settings causes an error. If the web search tool is enabled in the same request, all supplied search results must have citations enabled.
A prompt requesting only JSON may produce few or no citations. The guide points elsewhere for structured data with per-value citations, so that approach is not explained fully here. Result volume is also constrained by available context, without a numerical result limit supplied.
Fit and tradeoffs
The practical benefit is a defined connection between answer text and application-supplied passages, with source labels that a user interface can display. The guide states that special citation prompting is unnecessary when citations are enabled.
The resulting engineering tradeoff is that the application still determines what gets retrieved, how trustworthy it is and how it is divided into blocks. A citation can help a reader inspect supporting material, but the page supplies no evidence that attribution alone guarantees a correct answer.
Alternatives
Within this guide, direct user-message results are the simpler route when text is already available. Tool-returned results allow retrieval during the conversation. These routes can be combined in the Messages API; Managed Agents requires the tool-result route.
The page also points to Claude’s Citations feature for source documents and custom content [https://platform.claude.com/docs/en/build-with-claude/citations], and its web search tool for current web content [https://platform.claude.com/docs/en/agents-and-tools/tool-use/web-search-tool]. Their linked documentation is outside the supplied evidence, so detailed feature and cost comparisons are not assessed.
Evidence
The evidence is the complete supplied Search results documentation page at [https://platform.claude.com/docs/en/build-with-claude/search-results.md]. It includes feature metadata, schemas, examples in cURL, the CLI and several SDK programming languages, illustrative responses, restrictions and availability notices.
The captured source revision is sha256:0c55eab8ef01d04367c54543277446c30fd8e97d6f62bdb63dfbd071fdd2f7a4. The examples and response objects establish documented behavior rather than observed execution. No independent performance measurements or citation-quality evaluations are supplied.
Access & freshness
Costs
The page supplies no API prices, separate feature charge, free allowance or platform-specific charges. Total operating cost is unknown, including the cost of the application’s retrieval infrastructure.
It states that cited_text does not count toward output tokens. It also documents cache_control with type ephemeral for reusing results, but leaves cache-length requirements and further details to linked documentation. Actual caching savings and overall token costs are not established here.
Rights and data handling
The supplied page does not state a reuse or redistribution licence for its prose or sample code. Permissions for documents supplied to Claude and contractual terms governing their use are also not established by this page.
The page marks the feature eligible for zero data retention, with an explicit exclusion for Covered Models, and eligible for HIPAA readiness. These are eligibility statements. Model-specific retention requirements and the conditions needed for a particular deployment are not supplied in the selected page.
Freshness
The source was captured on 15 November 2026 at 01:48:11.921 UTC. Its metadata marks the feature stable. The cURL examples show an anthropic-version header of 2026-10-21; this is an example request version, not a publication date or minimum supported version.
The page states availability on every model while also enumerating supported model IDs in its metadata. It provides no release history explaining that scope. Current model availability, SDK compatibility and behavior after the capture date remain unverified.
Practical next steps
Choose direct results for existing text or tool results for retrieval during a conversation. Use stable source identifiers, accurate titles and focused text blocks, and explicitly enable citations consistently. Preserve tool-conversation IDs and complete assistant turns when implementing the dynamic route.
For an implementation evaluation, check the chosen model and platform, citation indexing, supporting-passage display and behavior when results are missing. The guide recommends returning a plain text block describing the outcome when a search fails or returns nothing, instead of raising an error, so Claude can explain the empty result and the conversation continues. Assess JSON-only output separately if citations are required, and establish pricing and applicable data-handling terms before deployment. These evaluations have not been performed.
