thinking-tool-workflows changedbuild-with-claude/thinking-tool-workflows
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−9removed
From line
153
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 153, old and new numbered
/
from line 153
153153 MaxTokens = 16000,
154154 Thinking = new ThinkingConfigAdaptive(),
155155 Tools = [weatherTool],
156 Messages = [new() { Role = Role.User, Content = "What's the weather in Paris?" }]
156 Messages = [new UserMessageParam { Content = "What's the weather in Paris?" }]
157157 };
158158
159159 var message = await client.Messages.Create(parameters);
from line 459
459459 MaxTokens = 16000,
460460 Thinking = new ThinkingConfigAdaptive(),
461461 Tools = [weatherTool],
462 Messages = [
463 new() { Role = Role.User, Content = "What's the weather in Paris?" }
464 ]
462 Messages = [new UserMessageParam { Content = "What's the weather in Paris?" }]
465463 };
466464
467465 var response = await client.Messages.Create(parameters);
from line 485
487485 Thinking = new ThinkingConfigAdaptive(),
488486 Tools = [weatherTool],
489487 Messages = [
490 new() { Role = Role.User, Content = "What's the weather in Paris?" },
488 new UserMessageParam { Content = "What's the weather in Paris?" },
491489 // response.Content includes the thinking blocks; passing them back is required
492 new() { Role = Role.Assistant, Content = response.Content.Select(block => new ContentBlockParam(block.Json)).ToList() },
493 new() { Role = Role.User, Content = new MessageParamContent(new List<ContentBlockParam>
490 new AssistantMessageParam { Content = response.Content.Select(block => new ContentBlockParam(block.Json)).ToList() },
491 new UserMessageParam { Content = new List<ContentBlockParam>
494492 {
495493 new ContentBlockParam(new ToolResultBlockParam()
496494 {
from line 495
497495 ToolUseID = toolUseBlock?.ID ?? "",
498496 Content = $"Current temperature: {weatherData.temperature}°F"
499497 })
500 })}
498 }}
501499 ]
502500 };
503501
from line 615
617615 .addTool(weatherTool)
618616 .addUserMessage("What's the weather in Paris?")
619617 .addMessage(response)
620 .addUserMessageOfBlockParams(List.of(
618 .addUserMessageOfContentBlockParams(List.of(
621619 ContentBlockParam.ofToolResult(
622620 ToolResultBlockParam.builder()
623621 .toolUseId(toolUseBlock.id())
No line in this hunk matches that.