Follow Discord
Sweep 22 Oct 2026 · 04:32Z Build v2.1.308 527 read Stable v2.1.308 Latest v2.1.308 Next v2.1.308 Feeds RSS JSON llms.txt llms-full.txt Unofficial
One change · api

parallel-tool-use changedagents-and-tools/tool-use/parallel-tool-use

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+16added
Lines−21removed
From line 33 where the diff opens
First seen 14 Aug 2026 this site's first read of the page
Recorded edits10to this page, all time

The whole hunk

from line 33, old and new numbered
/
lines
from line 33
3333 
3434The following script sends a request that should trigger parallel tool calls, verifies the response contains them, and formats the tool results so parallelism keeps working. Run it with `ANTHROPIC_API_KEY` set in your environment:
3535 
36<CodeGroup>
37 ```bash cURL
38 # This end-to-end test flow doesn't translate well to a one-off shell command.
39 # See the SDK tabs for the full flow. The underlying HTTP request is a standard
40 # tool use request with multiple tools defined.
41 ```
36<CodeGroup exclude="shell">
37 <CodeGroupItem language="cURL">
38 This end-to-end test needs more logic than a single shell command. Use the [Claude SDK](https://platform.claude.com/docs/en/cli-sdks-libraries/overview) to run it. The request it sends is a standard tool use request with two tools defined.
39 </CodeGroupItem>
4240 
43 ```bash CLI
44 # This end-to-end test flow doesn't translate well to a one-off shell command.
45 # See the SDK tabs for the full flow.
46 ```
41 <CodeGroupItem language="CLI">
42 This end-to-end test needs more logic than a single shell command. Use the [Claude SDK](https://platform.claude.com/docs/en/cli-sdks-libraries/overview) to run it.
43 </CodeGroupItem>
4744 
4845 ```python Python
4946 client = Anthropic()
from line 1445
14481445 
14491446To verify parallel tool calls are working:
14501447 
1451<CodeGroup>
1452 ```bash cURL
1453 # Measuring parallel tool use is client-side analysis of responses you've already
1454 # collected, so it doesn't translate to a one-off shell command. See the SDK tabs.
1455 ```
1448<CodeGroup exclude="shell">
1449 <CodeGroupItem language="cURL">
1450 To measure parallel tool use, your code analyzes the responses that it already collected. This needs more logic than a single shell command. Use the [Claude SDK](https://platform.claude.com/docs/en/cli-sdks-libraries/overview) for this.
1451 </CodeGroupItem>
14561452 
1457 ```bash CLI
1458 # Measuring parallel tool use is client-side analysis of responses you've already
1459 # collected, so it doesn't translate to a one-off shell command. See the SDK tabs.
1460 ```
1453 <CodeGroupItem language="CLI">
1454 To measure parallel tool use, your code analyzes the responses that it already collected. This needs more logic than a single shell command. Use the [Claude SDK](https://platform.claude.com/docs/en/cli-sdks-libraries/overview) for this.
1455 </CodeGroupItem>
14611456 
14621457 ```python Python
14631458 messages = [] # Message objects returned by client.messages.create across your run
Feedback