claudetool: remove unused browser tool arg
diff --git a/claudetool/browse/browse.go b/claudetool/browse/browse.go
index 99f6ea7..577a5a9 100644
--- a/claudetool/browse/browse.go
+++ b/claudetool/browse/browse.go
@@ -521,7 +521,6 @@
// ScreenshotTool definition
type screenshotInput struct {
Selector string `json:"selector,omitempty"`
- Format string `json:"format,omitempty"`
Timeout string `json:"timeout,omitempty"`
}
@@ -537,11 +536,6 @@
"type": "string",
"description": "CSS selector for the element to screenshot (optional)"
},
- "format": {
- "type": "string",
- "description": "Output format ('base64' or 'png'), defaults to 'base64'",
- "enum": ["base64", "png"]
- },
"timeout": {
"type": "string",
"description": "Timeout as a Go duration string (default: 5s)"
diff --git a/loop/testdata/agent_loop.httprr b/loop/testdata/agent_loop.httprr
index 9985fbe..e485771 100644
--- a/loop/testdata/agent_loop.httprr
+++ b/loop/testdata/agent_loop.httprr
@@ -1,9 +1,9 @@
httprr trace v1
-18226 2450
+18043 2288
POST https://api.anthropic.com/v1/messages HTTP/1.1
Host: api.anthropic.com
User-Agent: Go-http-client/1.1
-Content-Length: 18028
+Content-Length: 17845
Anthropic-Version: 2023-06-01
Content-Type: application/json
@@ -508,14 +508,6 @@
"type": "string",
"description": "CSS selector for the element to screenshot (optional)"
},
- "format": {
- "type": "string",
- "description": "Output format ('base64' or 'png'), defaults to 'base64'",
- "enum": [
- "base64",
- "png"
- ]
- },
"timeout": {
"type": "string",
"description": "Timeout as a Go duration string (default: 5s)"
@@ -557,24 +549,24 @@
Anthropic-Organization-Id: 3c473a21-7208-450a-a9f8-80aebda45c1b
Anthropic-Ratelimit-Input-Tokens-Limit: 2000000
Anthropic-Ratelimit-Input-Tokens-Remaining: 2000000
-Anthropic-Ratelimit-Input-Tokens-Reset: 2025-07-31T01:39:04Z
+Anthropic-Ratelimit-Input-Tokens-Reset: 2025-07-31T04:47:48Z
Anthropic-Ratelimit-Output-Tokens-Limit: 400000
Anthropic-Ratelimit-Output-Tokens-Remaining: 400000
-Anthropic-Ratelimit-Output-Tokens-Reset: 2025-07-31T01:39:09Z
+Anthropic-Ratelimit-Output-Tokens-Reset: 2025-07-31T04:47:53Z
Anthropic-Ratelimit-Requests-Limit: 4000
Anthropic-Ratelimit-Requests-Remaining: 3999
-Anthropic-Ratelimit-Requests-Reset: 2025-07-31T01:39:03Z
+Anthropic-Ratelimit-Requests-Reset: 2025-07-31T04:47:47Z
Anthropic-Ratelimit-Tokens-Limit: 2400000
Anthropic-Ratelimit-Tokens-Remaining: 2400000
-Anthropic-Ratelimit-Tokens-Reset: 2025-07-31T01:39:04Z
+Anthropic-Ratelimit-Tokens-Reset: 2025-07-31T04:47:48Z
Cf-Cache-Status: DYNAMIC
-Cf-Ray: 96796139ad9b17f0-SJC
+Cf-Ray: 967a75b2793ccf0e-SJC
Content-Type: application/json
-Date: Thu, 31 Jul 2025 01:39:09 GMT
-Request-Id: req_011CReF3FF82j1DdKxe9UfcT
+Date: Thu, 31 Jul 2025 04:47:53 GMT
+Request-Id: req_011CReVS1GWZPU1iZLUbAfLH
Server: cloudflare
Strict-Transport-Security: max-age=31536000; includeSubDomains; preload
Via: 1.1 google
X-Robots-Tag: none
-{"id":"msg_01MrEYnet6DtgPztpsmM8fFX","type":"message","role":"assistant","model":"claude-sonnet-4-20250514","content":[{"type":"text","text":"Here are the tools available to me:\n\n**File & Code Management:**\n- `bash` - Execute shell commands\n- `patch` - Modify files with precise text edits\n- `keyword_search` - Search codebase by keywords/concepts\n\n**Task Management:**\n- `todo_read` - Read current task list\n- `todo_write` - Create/update task list\n- `think` - Internal notes and planning\n\n**Development Workflow:**\n- `codereview` - Run automated code review\n- `done` - Mark work complete with checklist verification\n\n**Browser Automation:**\n- `browser_navigate` - Navigate to URLs\n- `browser_click` - Click elements\n- `browser_type` - Type into inputs\n- `browser_wait_for` - Wait for elements\n- `browser_get_text` - Read element text\n- `browser_eval` - Execute JavaScript\n- `browser_scroll_into_view` - Scroll to elements\n- `browser_resize` - Resize browser window\n- `browser_recent_console_logs` - Get console logs\n- `browser_clear_console_logs` - Clear console logs\n- `browser_take_screenshot` - Take screenshots\n\n**Utilities:**\n- `read_image` - Read and encode image files\n- `about_sketch` - Get help with Sketch functionality"}],"stop_reason":"end_turn","stop_sequence":null,"usage":{"input_tokens":3,"cache_creation_input_tokens":4178,"cache_read_input_tokens":0,"output_tokens":304,"service_tier":"standard"}}
\ No newline at end of file
+{"id":"msg_01MpXPbWAfaBn5voE1Fa5THr","type":"message","role":"assistant","model":"claude-sonnet-4-20250514","content":[{"type":"text","text":"Here are the tools available to me:\n\n**File & Code Operations:**\n- `bash` - Execute shell commands\n- `patch` - Modify files with precise text edits\n- `keyword_search` - Search for files by content/concepts\n\n**Task Management:**\n- `todo_read` / `todo_write` - Track and manage task lists\n- `think` - Internal notes and planning\n\n**Development Workflow:**\n- `codereview` - Automated code review\n- `done` - Final checklist before completion\n\n**Browser Automation:**\n- `browser_navigate` - Navigate to URLs\n- `browser_click` / `browser_type` - Interact with elements\n- `browser_wait_for` / `browser_get_text` - Wait for and read content\n- `browser_eval` - Execute JavaScript\n- `browser_scroll_into_view` / `browser_resize` - View manipulation\n- `browser_take_screenshot` / `browser_recent_console_logs` - Debugging\n\n**System Info:**\n- `about_sketch` - Information about the Sketch environment\n- `read_image` - Read and encode image files"}],"stop_reason":"end_turn","stop_sequence":null,"usage":{"input_tokens":3,"cache_creation_input_tokens":4135,"cache_read_input_tokens":0,"output_tokens":261,"service_tier":"standard"}}
\ No newline at end of file