bash-tool changedagents-and-tools/tool-use/bash-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+10added
Lines−20removed
From line
99
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 99, old and new numbered
/
from line 99
9999 Tools = [new ToolBash20250124()],
100100 Messages =
101101 [
102 new()
103 {
104 Role = Role.User,
105 Content = "List all Python files in the current directory.",
106 },
102 new UserMessageParam { Content = "List all Python files in the current directory." },
107103 ],
108104 }
109105 );
from line 990
994990 Tools = [new ToolBash20250124()],
995991 Messages =
996992 [
997 new()
993 new UserMessageParam { Content = "List all Python files in the current directory." },
994 new AssistantMessageParam
998995 {
999 Role = Role.User,
1000 Content = "List all Python files in the current directory.",
1001 },
1002 new()
1003 {
1004 Role = Role.Assistant,
1005 Content = new MessageParamContent(new List<ContentBlockParam>
996 Content = new List<ContentBlockParam>
1006997 {
1007998 new ContentBlockParam(new ToolUseBlockParam()
1008999 {
from line 1004
10131004 ["command"] = JsonSerializer.SerializeToElement("ls *.py"),
10141005 },
10151006 }),
1016 }),
1007 },
10171008 },
1018 new()
1009 new UserMessageParam
10191010 {
1020 Role = Role.User,
1021 Content = new MessageParamContent(new List<ContentBlockParam>
1011 Content = new List<ContentBlockParam>
10221012 {
10231013 new ContentBlockParam(new ToolResultBlockParam()
10241014 {
from line 1015
10251015 ToolUseID = "toolu_01A09q90qw90lq917835lq9",
10261016 Content = "analysis.py\nprocess_data.py\n",
10271017 }),
1028 }),
1018 },
10291019 },
10301020 ],
10311021 }
from line 1073
10831073 .maxTokens(1024)
10841074 .addTool(ToolBash20250124.builder().build())
10851075 .addUserMessage("List all Python files in the current directory.")
1086 .addAssistantMessageOfBlockParams(
1076 .addAssistantMessageOfContentBlockParams(
10871077 List.of(
10881078 ContentBlockParam.ofToolUse(
10891079 ToolUseBlockParam.builder()
from line 1088
10981088 )
10991089 )
11001090 )
1101 .addUserMessageOfBlockParams(
1091 .addUserMessageOfContentBlockParams(
11021092 List.of(
11031093 ContentBlockParam.ofToolResult(
11041094 ToolResultBlockParam.builder()
No line in this hunk matches that.