overview changedagents-and-tools/tool-use/overview
Nearest release: v2.1.309, published 3 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+7added
Lines−7removed
From line
177
where the diff opens
First seen
14 Aug 2026
this site's first read of the page
Recorded edits19to this page, all time
The whole hunk
from line 177, old and new numbered
/
from line 177
177177 model="claude-opus-5-5",
178178 max_tokens=1024,
179179 tools=tools,
180 # Ask for at most one tool call per turn.
180 # Ask for at most one tool call in each turn.
181181 tool_choice={"type": "auto", "disable_parallel_tool_use": True},
182182 messages=messages,
183183 )
from line 233
233233 model: "claude-opus-5-5",
234234 max_tokens: 1024,
235235 tools,
236 // Ask for at most one tool call per turn.
236 // Ask for at most one tool call in each turn.
237237 tool_choice: { type: "auto", disable_parallel_tool_use: true },
238238 messages
239239 });
from line 286
286286 }),
287287 ];
288288
289 // Ask for at most one tool call per turn.
289 // Ask for at most one tool call in each turn.
290290 var toolChoice = new ToolChoice(new ToolChoiceAuto { DisableParallelToolUse = true });
291291
292292 const string userPrompt = "What's the weather in San Francisco?";
from line 364
364364 },
365365 }},
366366 }
367 // Ask for at most one tool call per turn.
367 // Ask for at most one tool call in each turn.
368368 toolChoice := anthropic.ToolChoiceUnionParam{
369369 OfAuto: &anthropic.ToolChoiceAutoParam{DisableParallelToolUse: anthropic.Bool(true)},
370370 }
from line 449
449449 .build())
450450 .build();
451451
452 // Ask for at most one tool call per turn.
452 // Ask for at most one tool call in each turn.
453453 ToolChoiceAuto toolChoice = ToolChoiceAuto.builder()
454454 .disableParallelToolUse(true)
455455 .build();
from line 516
516516 ];
517517 $userMessage = ['role' => 'user', 'content' => "What's the weather in San Francisco?"];
518518
519 // Ask for at most one tool call per turn.
519 // Ask for at most one tool call in each turn.
520520 $toolChoice = ToolChoiceAuto::with(disableParallelToolUse: true);
521521
522522 // Claude replies with a tool_use block naming the tool and its arguments.
from line 590
590590 model: Anthropic::Model::CLAUDE_OPUS_5_5,
591591 max_tokens: 1024,
592592 tools: tools,
593 # Ask for at most one tool call per turn.
593 # Ask for at most one tool call in each turn.
594594 tool_choice: {type: "auto", disable_parallel_tool_use: true},
595595 messages: messages
596596 )
No line in this hunk matches that.