computer-use-tool changedagents-and-tools/tool-use/computer-use-tool
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+5added
Lines−19removed
From line
173
where the diff opens
First seen
14 Aug 2026
this site's first read of the page
Recorded edits26to this page, all time
The whole hunk
from line 173, old and new numbered
/
from line 173
173173 new ToolTextEditor20250728(),
174174 new ToolBash20250124(),
175175 ],
176 Messages =
177 [
178 new MessageParam
179 {
180 Role = Role.User,
181 Content = "Save a picture of a cat to my desktop.",
182 },
183 ],
176 Messages = [new UserMessageParam { Content = "Save a picture of a cat to my desktop." }],
184177 };
185178
186179 var response = await client.Messages.Create(parameters);
from line 555
562555
563556 // Add Claude's response to the conversation history
564557 messages.Add(
565 new()
558 new AssistantMessageParam
566559 {
567 Role = Role.Assistant,
568560 Content = response
569561 .Content.Select(block => new ContentBlockParam(block.Json))
570562 .ToList(),
from line 571
579571 }
580572
581573 // Send tool results back to Claude for the next iteration
582 messages.Add(new() { Role = Role.User, Content = toolResults });
574 messages.Add(new UserMessageParam { Content = toolResults });
583575 }
584576
585577 return messages;
from line 624
632624 .build());
633625
634626 // Add Claude's response to the conversation history
635 messages.add(MessageParam.builder()
636 .role(MessageParam.Role.ASSISTANT)
637 .contentOfBlockParams(response.content().stream().map(ContentBlock::toParam).toList())
638 .build());
627 messages.add(response.toParam());
639628
640629 // Run any tools Claude requested and collect results
641630 List<ContentBlockParam> toolResults = processToolCalls(response);
from line 633
644633 }
645634
646635 // Send tool results back to Claude for the next iteration
647 messages.add(MessageParam.builder()
648 .role(MessageParam.Role.USER)
649 .contentOfBlockParams(toolResults)
650 .build());
636 messages.add(MessageParam.ofUserOfContentBlockParams(toolResults));
651637 }
652638 return messages;
653639 }
No line in this hunk matches that.