claudetool: don't list out available binaries in bash tool
It does what it wants to do; I've never seen it use this information.
And there's no impact on Go eval, and it biases the model
towards assuming it is working in Go.
diff --git a/loop/testdata/agent_loop.httprr b/loop/testdata/agent_loop.httprr
index f022747..922c12b 100644
--- a/loop/testdata/agent_loop.httprr
+++ b/loop/testdata/agent_loop.httprr
@@ -1,9 +1,9 @@
httprr trace v1
-14290 2143
+14141 2113
POST https://api.anthropic.com/v1/messages HTTP/1.1
Host: api.anthropic.com
User-Agent: Go-http-client/1.1
-Content-Length: 14092
+Content-Length: 13943
Anthropic-Version: 2023-06-01
Content-Type: application/json
@@ -27,7 +27,7 @@
"tools": [
{
"name": "bash",
- "description": "Executes a shell command using bash -c with an optional timeout, returning combined stdout and stderr.\nWhen run with background flag, the process may keep running after the tool call returns, and\nthe agent can inspect the output by reading the output files. Use the background task when, for example,\nstarting a server to test something. Be sure to kill the process group when done.\n\nExecutables pre-installed in this environment include:\n- standard unix tools\n- go\n- git\n- rg\n- jq\n- gopls\n- sqlite\n- fzf\n- gh\n- python3",
+ "description": "Executes a shell command using bash -c with an optional timeout, returning combined stdout and stderr.\nWhen run with background flag, the process may keep running after the tool call returns, and\nthe agent can inspect the output by reading the output files. Use the background task when, for example,\nstarting a server to test something. Be sure to kill the process group when done.",
"input_schema": {
"type": "object",
"required": [
@@ -447,25 +447,25 @@
}HTTP/2.0 200 OK
Anthropic-Organization-Id: 3c473a21-7208-450a-a9f8-80aebda45c1b
Anthropic-Ratelimit-Input-Tokens-Limit: 200000
-Anthropic-Ratelimit-Input-Tokens-Remaining: 199000
-Anthropic-Ratelimit-Input-Tokens-Reset: 2025-05-08T19:33:31Z
+Anthropic-Ratelimit-Input-Tokens-Remaining: 200000
+Anthropic-Ratelimit-Input-Tokens-Reset: 2025-05-09T22:31:39Z
Anthropic-Ratelimit-Output-Tokens-Limit: 80000
Anthropic-Ratelimit-Output-Tokens-Remaining: 80000
-Anthropic-Ratelimit-Output-Tokens-Reset: 2025-05-08T19:33:34Z
+Anthropic-Ratelimit-Output-Tokens-Reset: 2025-05-09T22:31:43Z
Anthropic-Ratelimit-Requests-Limit: 4000
Anthropic-Ratelimit-Requests-Remaining: 3999
-Anthropic-Ratelimit-Requests-Reset: 2025-05-08T19:33:30Z
+Anthropic-Ratelimit-Requests-Reset: 2025-05-09T22:31:38Z
Anthropic-Ratelimit-Tokens-Limit: 280000
-Anthropic-Ratelimit-Tokens-Remaining: 279000
-Anthropic-Ratelimit-Tokens-Reset: 2025-05-08T19:33:31Z
+Anthropic-Ratelimit-Tokens-Remaining: 280000
+Anthropic-Ratelimit-Tokens-Reset: 2025-05-09T22:31:39Z
Cf-Cache-Status: DYNAMIC
-Cf-Ray: 93cb639e8ab4aaaf-SJC
+Cf-Ray: 93d4a5f30d59eb25-SJC
Content-Type: application/json
-Date: Thu, 08 May 2025 19:33:34 GMT
-Request-Id: req_011CNvd2SmLtiXBWXGsw6AKR
+Date: Fri, 09 May 2025 22:31:43 GMT
+Request-Id: req_011CNxkRGmJA1oV5QHGCsb33
Server: cloudflare
Strict-Transport-Security: max-age=31536000; includeSubDomains; preload
Via: 1.1 google
X-Robots-Tag: none
-{"id":"msg_012Z9qPA1jM4WNsAJi4cLo6J","type":"message","role":"assistant","model":"claude-3-7-sonnet-20250219","content":[{"type":"text","text":"Here are the tools available to me:\n\n1. bash - Execute shell commands\n2. keyword_search - Search for files with specific terms\n3. think - Record thoughts and plans (no external effects)\n4. title - Set conversation title\n5. precommit - Create a git branch for work\n6. done - Mark completion of user's goal\n7. codereview - Run automated code review\n8. multiplechoice - Present user with choices\n9. browser_navigate - Navigate to a URL\n10. browser_click - Click an element in browser\n11. browser_type - Type text into browser input\n12. browser_wait_for - Wait for element in browser\n13. browser_get_text - Get text from browser element\n14. browser_eval - Evaluate JavaScript in browser\n15. browser_screenshot - Take browser screenshot\n16. browser_scroll_into_view - Scroll to element\n17. patch - Make precise text edits to files"}],"stop_reason":"end_turn","stop_sequence":null,"usage":{"input_tokens":4,"cache_creation_input_tokens":3325,"cache_read_input_tokens":0,"output_tokens":213}}
\ No newline at end of file
+{"id":"msg_01Ducpx7QCP6dYEALWPCWx6b","type":"message","role":"assistant","model":"claude-3-7-sonnet-20250219","content":[{"type":"text","text":"Here's a brief list of the tools available to me:\n\n1. bash - Execute shell commands\n2. keyword_search - Search files for specific terms\n3. think - Record thoughts and plans\n4. title - Set conversation title\n5. precommit - Create a git branch for tracking work\n6. done - Mark task as complete with checklist\n7. codereview - Run automated code review\n8. multiplechoice - Present quick answer options to user\n9. Browser tools:\n - browser_navigate - Navigate to URL\n - browser_click - Click element\n - browser_type - Type text\n - browser_wait_for - Wait for element\n - browser_get_text - Get element text\n - browser_eval - Evaluate JavaScript\n - browser_screenshot - Take screenshot\n - browser_scroll_into_view - Scroll element into view\n10. patch - Make precise text edits to files"}],"stop_reason":"end_turn","stop_sequence":null,"usage":{"input_tokens":4,"cache_creation_input_tokens":3264,"cache_read_input_tokens":0,"output_tokens":208}}
\ No newline at end of file