search-results changedbuild-with-claude/search-results
Nearest release: v2.1.301, published 5 hours before this site recorded the change. Shown because the two are within 24 hours of each other. Nothing here says the release caused the edit.
Recorded here
Lines+8added
Lines−14removed
From line
73
where the diff opens
First seen
14 Aug 2026
this site's first read of the page
Recorded edits11to this page, all time
The whole hunk
from line 73, old and new numbered
/
from line 73
7373
7474### Example: Knowledge base tool
7575
76<CodeGroup>
77 ```bash cURL
78 # The tool-calling flow needs application-side search logic that doesn't
79 # translate to a one-off shell command. See the SDK tabs for the full flow.
80 # The raw shape of a tool conversation with search results is shown in the
81 # Combining both methods cURL tab; Method 2 shows the top-level shape.
82 ```
76<CodeGroup exclude="shell">
77 <CodeGroupItem language="cURL">
78 The tool-calling flow needs search logic in your application, which needs more than a single shell command. Use the Claude SDK for the full flow. For the raw request shape of a tool conversation with search results, see [Combining both methods](https://platform.claude.com/docs/en/build-with-claude/search-results#combining-both-methods). For search results as top-level content, see [Method 2](https://platform.claude.com/docs/en/build-with-claude/search-results#method-2-search-results-as-top-level-content).
79 </CodeGroupItem>
8380
84 ```bash CLI
85 # The tool-calling flow needs application-side search logic that doesn't
86 # translate to a one-off shell command. See the SDK tabs for the full flow.
87 # The raw shape of a tool conversation with search results is shown in the
88 # Combining both methods cURL tab; Method 2 shows the top-level shape.
89 ```
81 <CodeGroupItem language="CLI">
82 The tool-calling flow needs search logic in your application, which needs more than a single shell command. Use the Claude SDK for the full flow. For the raw request shape of a tool conversation with search results, see [Combining both methods](https://platform.claude.com/docs/en/build-with-claude/search-results#combining-both-methods). For search results as top-level content, see [Method 2](https://platform.claude.com/docs/en/build-with-claude/search-results#method-2-search-results-as-top-level-content).
83 </CodeGroupItem>
9084
9185 ```python Python
9286 from anthropic.types import (
No line in this hunk matches that.