parallel-tool-use changedagents-and-tools/tool-use/parallel-tool-use
Nearest release: v2.1.307, published 4 hours after 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
298
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 298, old and new numbered
/
from line 298
298298 {
299299 Model = Model.ClaudeOpus5_5,
300300 MaxTokens = 1024,
301 Messages = [new() { Role = Role.User, Content = "What's the weather in SF and NYC, and what time is it there?" }],
301 Messages = [new UserMessageParam { Content = "What's the weather in SF and NYC, and what time is it there?" }],
302302 Tools = tools
303303 };
304304
from line 357
357357 Model = Model.ClaudeOpus5_5,
358358 MaxTokens = 1024,
359359 Messages = [
360 new() { Role = Role.User, Content = "What's the weather in SF and NYC, and what time is it there?" },
361 new() { Role = Role.Assistant, Content = response.Content.Select(block => new ContentBlockParam(block.Json)).ToList() },
362 new() { Role = Role.User, Content = new MessageParamContent(toolResults) }
360 new UserMessageParam { Content = "What's the weather in SF and NYC, and what time is it there?" },
361 new AssistantMessageParam { Content = response.Content.Select(block => new ContentBlockParam(block.Json)).ToList() },
362 new UserMessageParam { Content = toolResults }
363363 ],
364364 Tools = tools
365365 };
from line 592
592592 .addTool(timeTool)
593593 .addUserMessage("What's the weather in SF and NYC, and what time is it there?")
594594 .addMessage(response)
595 .addUserMessageOfBlockParams(toolResults)
595 .addUserMessageOfContentBlockParams(toolResults)
596596 .build();
597597
598598 Message finalResponse = client.messages().create(finalParams);
from line 986
986986 }),
987987 ],
988988 ToolChoice = new ToolChoiceAuto { DisableParallelToolUse = true },
989 Messages = [new() { Role = Role.User, Content = "What is the weather in San Francisco and New York?" }]
989 Messages = [new UserMessageParam { Content = "What is the weather in San Francisco and New York?" }]
990990 };
991991
992992 var response = await client.Messages.Create(parameters);
from line 1267
12671267 }),
12681268 ],
12691269 ToolChoice = new ToolChoiceAny { DisableParallelToolUse = true },
1270 Messages = [new() { Role = Role.User, Content = "What is the weather in San Francisco and New York?" }]
1270 Messages = [new UserMessageParam { Content = "What is the weather in San Francisco and New York?" }]
12711271 };
12721272
12731273 var response = await client.Messages.Create(parameters);
No line in this hunk matches that.