blob: 21c3b28799647e1c9fbf706f634f78431806b7df [file] [log] [blame]
Earl Lee2e463fb2025-04-17 11:22:22 -07001httprr trace v1
David Crawshaw2e3337d2025-06-18 10:33:41 -0700220665 2568
Earl Lee2e463fb2025-04-17 11:22:22 -07003POST https://api.anthropic.com/v1/messages HTTP/1.1
4Host: api.anthropic.com
5User-Agent: Go-http-client/1.1
David Crawshaw2e3337d2025-06-18 10:33:41 -07006Content-Length: 20467
Earl Lee2e463fb2025-04-17 11:22:22 -07007Anthropic-Version: 2023-06-01
8Content-Type: application/json
9
10{
Josh Bleecher Snyderab6a8112025-05-24 12:22:00 -070011 "model": "claude-sonnet-4-20250514",
Earl Lee2e463fb2025-04-17 11:22:22 -070012 "messages": [
13 {
14 "role": "user",
15 "content": [
16 {
17 "type": "text",
Josh Bleecher Snyder19969a92025-06-05 14:34:02 -070018 "text": "What tools are available to you? Please just list them briefly. (Do not call the set-slug tool.)",
Earl Lee2e463fb2025-04-17 11:22:22 -070019 "cache_control": {
20 "type": "ephemeral"
21 }
22 }
23 ]
24 }
25 ],
26 "max_tokens": 8192,
27 "tools": [
28 {
29 "name": "bash",
Josh Bleecher Snyderf59df722025-05-09 12:24:03 -070030 "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.",
Earl Lee2e463fb2025-04-17 11:22:22 -070031 "input_schema": {
32 "type": "object",
33 "required": [
34 "command"
35 ],
36 "properties": {
37 "command": {
38 "type": "string",
39 "description": "Shell script to execute"
40 },
41 "timeout": {
42 "type": "string",
Philip Zeyliger208938f2025-05-13 17:17:18 -070043 "description": "Timeout as a Go duration string, defaults to 10s if background is false; 10m if background is true"
Philip Zeyligerb60f0f22025-04-23 18:19:32 +000044 },
45 "background": {
46 "type": "boolean",
47 "description": "If true, executes the command in the background without waiting for completion"
Earl Lee2e463fb2025-04-17 11:22:22 -070048 }
49 }
50 }
51 },
52 {
53 "name": "keyword_search",
Josh Bleecher Snyderdce8d842025-05-09 12:27:19 -070054 "description": "\nkeyword_search locates files with a search-and-filter approach.\nUse when navigating unfamiliar codebases with only conceptual understanding or vague user questions.\n\nEffective use:\n- Provide a detailed query for accurate relevance ranking\n- Prefer MANY SPECIFIC terms over FEW GENERAL ones (high precision beats high recall)\n- Order search terms by importance (most important first)\n- Supports regex search terms for flexible matching\n\nIMPORTANT: Do NOT use this tool if you have precise information like log lines, error messages, stack traces, filenames, or symbols. Use direct approaches (rg, cat, etc.) instead.\n",
Earl Lee2e463fb2025-04-17 11:22:22 -070055 "input_schema": {
56 "type": "object",
57 "required": [
58 "query",
Josh Bleecher Snyder250348e2025-04-30 10:31:28 -070059 "search_terms"
Earl Lee2e463fb2025-04-17 11:22:22 -070060 ],
61 "properties": {
62 "query": {
63 "type": "string",
64 "description": "A detailed statement of what you're trying to find or learn."
65 },
Josh Bleecher Snyder250348e2025-04-30 10:31:28 -070066 "search_terms": {
Earl Lee2e463fb2025-04-17 11:22:22 -070067 "type": "array",
68 "items": {
69 "type": "string"
70 },
Josh Bleecher Snyder250348e2025-04-30 10:31:28 -070071 "description": "List of search terms in descending order of importance."
Earl Lee2e463fb2025-04-17 11:22:22 -070072 }
73 }
74 }
75 },
76 {
Josh Bleecher Snyderb421a242025-05-29 23:22:55 +000077 "name": "patch",
78 "description": "File modification tool for precise text edits.\n\nOperations:\n- replace: Substitute text with new content\n- append_eof: Append new text at the end of the file\n- prepend_bof: Insert new text at the beginning of the file\n- overwrite: Replace the entire file with new content (automatically creates the file)\n\nUsage notes:\n- All inputs are interpreted literally (no automatic newline or whitespace handling)\n- For replace operations, oldText must appear EXACTLY ONCE in the file",
79 "input_schema": {
80 "type": "object",
81 "required": [
82 "path",
83 "patches"
84 ],
85 "properties": {
86 "path": {
87 "type": "string",
88 "description": "Absolute path to the file to patch"
89 },
90 "patches": {
91 "type": "array",
92 "description": "List of patch requests to apply",
93 "items": {
94 "type": "object",
95 "required": [
96 "operation",
97 "newText"
98 ],
99 "properties": {
100 "operation": {
101 "type": "string",
102 "enum": [
103 "replace",
104 "append_eof",
105 "prepend_bof",
106 "overwrite"
107 ],
108 "description": "Type of operation to perform"
109 },
110 "oldText": {
111 "type": "string",
112 "description": "Text to locate for the operation (must be unique in file, required for replace)"
113 },
114 "newText": {
115 "type": "string",
116 "description": "The new text to use (empty for deletions)"
117 }
118 }
119 }
120 }
121 }
122 }
123 },
124 {
Earl Lee2e463fb2025-04-17 11:22:22 -0700125 "name": "think",
126 "description": "Think out loud, take notes, form plans. Has no external effects.",
127 "input_schema": {
128 "type": "object",
129 "required": [
130 "thoughts"
131 ],
132 "properties": {
133 "thoughts": {
134 "type": "string",
135 "description": "The thoughts, notes, or plans to record"
136 }
137 }
138 }
139 },
140 {
Josh Bleecher Snyder112b9232025-05-23 11:26:33 -0700141 "name": "todo_read",
142 "description": "Reads the current todo list. Use frequently to track progress and understand what's pending.",
143 "input_schema": {
144 "type": "object",
145 "properties": {}
146 }
147 },
148 {
149 "name": "todo_write",
150 "description": "todo_write: Creates and manages a structured task list for tracking work and communicating progress to users. Use early and often.\n\nUse for:\n- multi-step tasks\n- complex work\n- when users provide multiple requests\n- conversations that start trivial but grow in scope\n- when users request additional work (directly or via feedback)\n\nSkip for:\n- trivial single-step tasks\n- purely conversational exchanges\n\nUpdate dynamically as work evolves - conversations can spawn tasks, simple tasks can become complex, and new discoveries may require additional work.\n\nRules:\n- Update immediately when task states or task list changes\n- Only one task \"in-progress\" at any time\n- Each update completely replaces the task list - include all tasks (past and present)\n- Never modify or delete completed tasks\n- Queued and in-progress tasks may be restructured as understanding evolves\n- Tasks should be atomic, clear, precise, and actionable\n- If the user adds new tasks: append, don't replace\n",
151 "input_schema": {
152 "type": "object",
153 "required": [
154 "tasks"
155 ],
156 "properties": {
157 "tasks": {
158 "type": "array",
159 "description": "Array of tasks to write",
160 "items": {
161 "type": "object",
162 "required": [
163 "id",
164 "task",
165 "status"
166 ],
167 "properties": {
168 "id": {
169 "type": "string",
170 "description": "stable, unique hyphenated slug"
171 },
172 "task": {
173 "type": "string",
174 "description": "actionable step in active tense, sentence case, plain text only, displayed to user"
175 },
176 "status": {
177 "type": "string",
178 "enum": [
179 "queued",
180 "in-progress",
181 "completed"
182 ],
183 "description": "current task status"
184 }
185 }
186 }
187 }
188 }
189 }
190 },
191 {
Josh Bleecher Snyder19969a92025-06-05 14:34:02 -0700192 "name": "set-slug",
193 "description": "Set a short slug as an identifier for this conversation.",
Earl Lee2e463fb2025-04-17 11:22:22 -0700194 "input_schema": {
195 "type": "object",
196 "properties": {
Josh Bleecher Snyder19969a92025-06-05 14:34:02 -0700197 "slug": {
Earl Lee2e463fb2025-04-17 11:22:22 -0700198 "type": "string",
Josh Bleecher Snyder19969a92025-06-05 14:34:02 -0700199 "description": "A 2-3 word alphanumeric hyphenated slug, imperative tense"
Josh Bleecher Snydera2a31502025-05-07 12:37:18 +0000200 }
201 },
202 "required": [
Josh Bleecher Snyder19969a92025-06-05 14:34:02 -0700203 "slug"
Josh Bleecher Snydera2a31502025-05-07 12:37:18 +0000204 ]
205 }
206 },
207 {
Josh Bleecher Snyder19969a92025-06-05 14:34:02 -0700208 "name": "commit-message-style",
209 "description": "Provides git commit message style guidance. MANDATORY: You must use this tool before making any git commits.",
Josh Bleecher Snydera2a31502025-05-07 12:37:18 +0000210 "input_schema": {
211 "type": "object",
Josh Bleecher Snyder19969a92025-06-05 14:34:02 -0700212 "properties": {}
Earl Lee2e463fb2025-04-17 11:22:22 -0700213 }
214 },
215 {
216 "name": "done",
217 "description": "Use this tool when you have achieved the user's goal. The parameters form a checklist which you should evaluate.",
218 "input_schema": {
219 "$schema": "http://json-schema.org/draft-07/schema#",
220 "title": "Checklist",
221 "description": "A schema for tracking checklist items with status and comments",
222 "type": "object",
223 "required": [
224 "checklist_items"
225 ],
226 "properties": {
227 "checklist_items": {
228 "type": "object",
229 "description": "Collection of checklist items",
230 "properties": {
Josh Bleecher Snyder8dff12f2025-05-12 19:48:36 +0000231 "checked_guidance": {
232 "$ref": "#/definitions/checklistItem",
233 "description": "I checked for and followed any directory-specific guidance files for all modified files."
234 },
Earl Lee2e463fb2025-04-17 11:22:22 -0700235 "wrote_tests": {
236 "$ref": "#/definitions/checklistItem",
237 "description": "If code was changed, tests were written or updated."
238 },
239 "passes_tests": {
240 "$ref": "#/definitions/checklistItem",
241 "description": "If any commits were made, tests pass."
242 },
243 "code_reviewed": {
244 "$ref": "#/definitions/checklistItem",
245 "description": "If any commits were made, the codereview tool was run and its output was addressed."
246 },
247 "git_commit": {
248 "$ref": "#/definitions/checklistItem",
Josh Bleecher Snyder039fc342025-05-14 21:24:12 +0000249 "description": "Create git commits for any code changes you made. A git hook will add Co-Authored-By and Change-ID trailers. The git user is already configured correctly."
Earl Lee2e463fb2025-04-17 11:22:22 -0700250 }
251 },
252 "additionalProperties": {
253 "$ref": "#/definitions/checklistItem"
254 }
255 }
256 },
257 "definitions": {
258 "checklistItem": {
259 "type": "object",
260 "required": [
261 "status"
262 ],
263 "properties": {
264 "status": {
265 "type": "string",
266 "description": "Current status of the checklist item",
267 "enum": [
268 "yes",
269 "no",
270 "not applicable",
271 "other"
272 ]
273 },
274 "description": {
275 "type": "string",
276 "description": "Description of what this checklist item verifies"
277 },
278 "comments": {
279 "type": "string",
280 "description": "Additional comments or context for this checklist item"
281 }
282 }
283 }
284 }
285 }
286 },
287 {
288 "name": "codereview",
Josh Bleecher Snyder272c4a92025-06-04 16:08:42 -0700289 "description": "Run an automated code review before presenting git commits to the user. Call if/when you've completed your current work and are ready for user feedback.",
Earl Lee2e463fb2025-04-17 11:22:22 -0700290 "input_schema": {
Josh Bleecher Snyder2b2090e2025-04-29 16:41:34 -0700291 "type": "object",
philip.zeyliger57162e02025-06-18 09:59:48 -0700292 "properties": {
293 "timeout": {
294 "type": "string",
295 "description": "Timeout as a Go duration string (default: 1m)",
296 "default": "1m"
297 }
298 }
Earl Lee2e463fb2025-04-17 11:22:22 -0700299 }
300 },
301 {
Josh Bleecher Snydera4092d22025-05-14 18:32:53 -0700302 "name": "about_sketch",
303 "description": "Provides information about Sketch.\n\nWhen to use this tool:\n\n- The user is asking how to USE Sketch itself (not asking Sketch to perform a task)\n- The user has questions about Sketch functionality, setup, or capabilities\n- The user needs help with Sketch-specific concepts like running commands, secrets management, git integration\n- The query is about \"How do I do X in Sketch?\" or \"Is it possible to Y in Sketch?\" or just \"Help\"\n- The user is confused about how a Sketch feature works or how to access it\n- You need to know how to interact with the host environment, e.g. port forwarding or pulling changes the user has made outside of Sketch\n",
304 "input_schema": {
305 "type": "object",
306 "properties": {}
307 }
308 },
309 {
Sean McCullough485afc62025-04-28 14:28:39 -0700310 "name": "multiplechoice",
311 "description": "Present the user with an quick way to answer to your question using one of a short list of possible answers you would expect from the user.",
312 "input_schema": {
313 "type": "object",
314 "description": "The question and a list of answers you would expect the user to choose from.",
315 "properties": {
316 "question": {
317 "type": "string",
318 "description": "The text of the multiple-choice question you would like the user, e.g. 'What kinds of test cases would you like me to add?'"
319 },
320 "responseOptions": {
321 "type": "array",
322 "description": "The set of possible answers to let the user quickly choose from, e.g. ['Basic unit test coverage', 'Error return values', 'Malformed input'].",
323 "items": {
324 "type": "object",
325 "properties": {
326 "caption": {
327 "type": "string",
328 "description": "The caption, e.g. 'Basic coverage', 'Error return values', or 'Malformed input' for the response button. Do NOT include options for responses that would end the conversation like 'Ok', 'No thank you', 'This looks good'"
329 },
330 "responseText": {
331 "type": "string",
332 "description": "The full text of the response, e.g. 'Add unit tests for basic test coverage', 'Add unit tests for error return values', or 'Add unit tests for malformed input'"
333 }
334 },
335 "required": [
336 "caption",
337 "responseText"
338 ]
339 }
340 }
341 },
342 "required": [
343 "question",
344 "responseOptions"
345 ]
346 }
347 },
348 {
Philip Zeyliger33d282f2025-05-03 04:01:54 +0000349 "name": "browser_navigate",
350 "description": "Navigate the browser to a specific URL and wait for page to load",
351 "input_schema": {
352 "type": "object",
353 "properties": {
354 "url": {
355 "type": "string",
356 "description": "The URL to navigate to"
Philip Zeyliger80b488d2025-05-10 18:21:54 -0700357 },
358 "timeout": {
359 "type": "string",
360 "description": "Timeout as a Go duration string (default: 5s)"
Philip Zeyliger33d282f2025-05-03 04:01:54 +0000361 }
362 },
363 "required": [
364 "url"
365 ]
366 }
367 },
368 {
369 "name": "browser_click",
370 "description": "Click the first element matching a CSS selector",
371 "input_schema": {
372 "type": "object",
373 "properties": {
374 "selector": {
375 "type": "string",
376 "description": "CSS selector for the element to click"
377 },
378 "wait_visible": {
379 "type": "boolean",
380 "description": "Wait for the element to be visible before clicking"
Philip Zeyliger80b488d2025-05-10 18:21:54 -0700381 },
382 "timeout": {
383 "type": "string",
384 "description": "Timeout as a Go duration string (default: 5s)"
Philip Zeyliger33d282f2025-05-03 04:01:54 +0000385 }
386 },
387 "required": [
388 "selector"
389 ]
390 }
391 },
392 {
393 "name": "browser_type",
394 "description": "Type text into an input or textarea element",
395 "input_schema": {
396 "type": "object",
397 "properties": {
398 "selector": {
399 "type": "string",
400 "description": "CSS selector for the input element"
401 },
402 "text": {
403 "type": "string",
404 "description": "Text to type into the element"
405 },
406 "clear": {
407 "type": "boolean",
408 "description": "Clear the input field before typing"
Philip Zeyliger80b488d2025-05-10 18:21:54 -0700409 },
410 "timeout": {
411 "type": "string",
412 "description": "Timeout as a Go duration string (default: 5s)"
Philip Zeyliger33d282f2025-05-03 04:01:54 +0000413 }
414 },
415 "required": [
416 "selector",
417 "text"
418 ]
419 }
420 },
421 {
422 "name": "browser_wait_for",
423 "description": "Wait for an element to be present in the DOM",
424 "input_schema": {
425 "type": "object",
426 "properties": {
427 "selector": {
428 "type": "string",
429 "description": "CSS selector for the element to wait for"
430 },
Philip Zeyliger80b488d2025-05-10 18:21:54 -0700431 "timeout": {
432 "type": "string",
433 "description": "Timeout as a Go duration string (default: 5s)"
Philip Zeyliger33d282f2025-05-03 04:01:54 +0000434 }
435 },
436 "required": [
437 "selector"
438 ]
439 }
440 },
441 {
442 "name": "browser_get_text",
Philip Zeyliger80b488d2025-05-10 18:21:54 -0700443 "description": "Get the innerText of an element. Can be used to read the web page.",
Philip Zeyliger33d282f2025-05-03 04:01:54 +0000444 "input_schema": {
445 "type": "object",
446 "properties": {
447 "selector": {
448 "type": "string",
449 "description": "CSS selector for the element to get text from"
Philip Zeyliger80b488d2025-05-10 18:21:54 -0700450 },
451 "timeout": {
452 "type": "string",
453 "description": "Timeout as a Go duration string (default: 5s)"
Philip Zeyliger33d282f2025-05-03 04:01:54 +0000454 }
455 },
456 "required": [
457 "selector"
458 ]
459 }
460 },
461 {
462 "name": "browser_eval",
463 "description": "Evaluate JavaScript in the browser context",
464 "input_schema": {
465 "type": "object",
466 "properties": {
467 "expression": {
468 "type": "string",
469 "description": "JavaScript expression to evaluate"
Philip Zeyliger80b488d2025-05-10 18:21:54 -0700470 },
471 "timeout": {
472 "type": "string",
473 "description": "Timeout as a Go duration string (default: 5s)"
Philip Zeyliger33d282f2025-05-03 04:01:54 +0000474 }
475 },
476 "required": [
477 "expression"
478 ]
479 }
480 },
481 {
Philip Zeyliger72252cb2025-05-10 17:00:08 -0700482 "name": "browser_scroll_into_view",
483 "description": "Scroll an element into view if it's not visible",
484 "input_schema": {
485 "type": "object",
486 "properties": {
487 "selector": {
488 "type": "string",
489 "description": "CSS selector for the element to scroll into view"
Philip Zeyliger80b488d2025-05-10 18:21:54 -0700490 },
491 "timeout": {
492 "type": "string",
493 "description": "Timeout as a Go duration string (default: 5s)"
Philip Zeyliger72252cb2025-05-10 17:00:08 -0700494 }
495 },
496 "required": [
497 "selector"
498 ]
499 }
500 },
501 {
Philip Zeyliger05224842025-05-10 18:26:08 -0700502 "name": "browser_resize",
503 "description": "Resize the browser window to a specific width and height",
504 "input_schema": {
505 "type": "object",
506 "properties": {
507 "width": {
508 "type": "integer",
509 "description": "Window width in pixels"
510 },
511 "height": {
512 "type": "integer",
513 "description": "Window height in pixels"
514 },
515 "timeout": {
516 "type": "string",
517 "description": "Timeout as a Go duration string (default: 5s)"
518 }
519 },
520 "required": [
521 "width",
522 "height"
523 ]
524 }
525 },
526 {
Philip Zeyliger18e33682025-05-13 16:34:21 -0700527 "name": "browser_recent_console_logs",
528 "description": "Get recent browser console logs",
529 "input_schema": {
530 "type": "object",
531 "properties": {
532 "limit": {
533 "type": "integer",
534 "description": "Maximum number of log entries to return (default: 100)"
535 }
536 }
537 }
538 },
539 {
540 "name": "browser_clear_console_logs",
541 "description": "Clear all captured browser console logs",
542 "input_schema": {
543 "type": "object",
544 "properties": {}
545 }
546 },
547 {
Philip Zeyliger80b488d2025-05-10 18:21:54 -0700548 "name": "browser_take_screenshot",
Philip Zeyliger33d282f2025-05-03 04:01:54 +0000549 "description": "Take a screenshot of the page or a specific element",
550 "input_schema": {
551 "type": "object",
552 "properties": {
553 "selector": {
554 "type": "string",
555 "description": "CSS selector for the element to screenshot (optional)"
556 },
557 "format": {
558 "type": "string",
559 "description": "Output format ('base64' or 'png'), defaults to 'base64'",
560 "enum": [
561 "base64",
562 "png"
563 ]
Philip Zeyliger80b488d2025-05-10 18:21:54 -0700564 },
565 "timeout": {
566 "type": "string",
567 "description": "Timeout as a Go duration string (default: 5s)"
Philip Zeyliger33d282f2025-05-03 04:01:54 +0000568 }
569 }
570 }
571 },
572 {
Philip Zeyliger542bda32025-06-11 18:31:03 -0700573 "name": "read_image",
Philip Zeyliger72252cb2025-05-10 17:00:08 -0700574 "description": "Read an image file (such as a screenshot) and encode it for sending to the LLM",
Philip Zeyliger33d282f2025-05-03 04:01:54 +0000575 "input_schema": {
576 "type": "object",
577 "properties": {
Philip Zeyliger72252cb2025-05-10 17:00:08 -0700578 "path": {
Philip Zeyliger33d282f2025-05-03 04:01:54 +0000579 "type": "string",
Philip Zeyliger72252cb2025-05-10 17:00:08 -0700580 "description": "Path to the image file to read"
Philip Zeyliger80b488d2025-05-10 18:21:54 -0700581 },
582 "timeout": {
583 "type": "string",
584 "description": "Timeout as a Go duration string (default: 5s)"
Philip Zeyliger33d282f2025-05-03 04:01:54 +0000585 }
586 },
587 "required": [
Philip Zeyliger72252cb2025-05-10 17:00:08 -0700588 "path"
Philip Zeyliger33d282f2025-05-03 04:01:54 +0000589 ]
590 }
Earl Lee2e463fb2025-04-17 11:22:22 -0700591 }
592 ],
593 "system": [
594 {
David Crawshaw2e3337d2025-06-18 10:33:41 -0700595 "text": "You are the expert software engineer and architect powering Sketch,\nan agentic coding environment that helps users accomplish coding tasks through autonomous analysis and implementation.\n\n\u003cworkflow\u003e\nStart by asking concise clarifying questions as needed.\nOnce the intent is clear, work autonomously.\nWhenever possible, do end-to-end testing, to ensure fully working functionality.\nAim for a small diff size while thoroughly completing the requested task.\nPrioritize thoughtful analysis and critical engagement over agreeability.\n\nCall the set-slug tool as soon as the topic of conversation is clear, often immediately.\n\nBreak down the overall goal into a series of smaller steps.\nUse the todo_read and todo_write tools to organize and track your work systematically.\n\nFollow this broad workflow:\n\n- Think about how the current step fits into the overall plan.\n- Do research. Good tool choices: bash, think, keyword_search\n- Make edits.\n- If you have completed a standalone chunk of work, make a git commit.\n- Update your todo task list.\n- Repeat.\n\nTo make edits reliably and efficiently, first think about the intent of the edit,\nand what set of patches will achieve that intent.\nThen use the patch tool to make those edits. Combine all edits to any given file into a single patch tool call.\n\nYou may run tool calls in parallel.\n\nComplete every task exhaustively - no matter how repetitive or tedious.\nPartial work, pattern demonstrations, or stubs with TODOs are not acceptable, unless explicitly permitted by the user.\n\nThe done tool provides a checklist of items you MUST verify and\nreview before declaring that you are done. Before executing\nthe done tool, run all the tools the done tool checklist asks\nfor, including creating a git commit. Do not forget to run tests.\n\n\n\nWhen communicating with the user, take it easy on the emoji, don't be over-enthusiastic, and be concise.\n\nDocker is available. Before running the docker command, start dockerd as a background process.\nAlways use --network=host when running docker containers.\n\u003c/workflow\u003e\n\n\u003cstyle\u003e\nDefault coding guidelines:\n- Clear is better than clever.\n- Minimal inline comments: non-obvious logic and key decisions only.\n\u003c/style\u003e\n\n\u003csystem_info\u003e\n\u003cplatform\u003e\nlinux/amd64\n\u003c/platform\u003e\n\u003cpwd\u003e\n/\n\u003c/pwd\u003e\n\u003c/system_info\u003e\n\n\u003cgit_info\u003e\n\u003cgit_root\u003e\n\n\u003c/git_root\u003e\n\u003cHEAD\u003e\nHEAD\n\u003c/HEAD\u003e\n\n\u003c/git_info\u003e\n\n",
Earl Lee2e463fb2025-04-17 11:22:22 -0700596 "type": "text",
597 "cache_control": {
598 "type": "ephemeral"
599 }
600 }
601 ]
602}HTTP/2.0 200 OK
603Anthropic-Organization-Id: 3c473a21-7208-450a-a9f8-80aebda45c1b
604Anthropic-Ratelimit-Input-Tokens-Limit: 200000
Josh Bleecher Snyder272c4a92025-06-04 16:08:42 -0700605Anthropic-Ratelimit-Input-Tokens-Remaining: 200000
David Crawshaw2e3337d2025-06-18 10:33:41 -0700606Anthropic-Ratelimit-Input-Tokens-Reset: 2025-06-18T17:37:58Z
Earl Lee2e463fb2025-04-17 11:22:22 -0700607Anthropic-Ratelimit-Output-Tokens-Limit: 80000
608Anthropic-Ratelimit-Output-Tokens-Remaining: 80000
David Crawshaw2e3337d2025-06-18 10:33:41 -0700609Anthropic-Ratelimit-Output-Tokens-Reset: 2025-06-18T17:38:05Z
Earl Lee2e463fb2025-04-17 11:22:22 -0700610Anthropic-Ratelimit-Requests-Limit: 4000
611Anthropic-Ratelimit-Requests-Remaining: 3999
David Crawshaw2e3337d2025-06-18 10:33:41 -0700612Anthropic-Ratelimit-Requests-Reset: 2025-06-18T17:37:56Z
Earl Lee2e463fb2025-04-17 11:22:22 -0700613Anthropic-Ratelimit-Tokens-Limit: 280000
Josh Bleecher Snyder272c4a92025-06-04 16:08:42 -0700614Anthropic-Ratelimit-Tokens-Remaining: 280000
David Crawshaw2e3337d2025-06-18 10:33:41 -0700615Anthropic-Ratelimit-Tokens-Reset: 2025-06-18T17:37:58Z
Earl Lee2e463fb2025-04-17 11:22:22 -0700616Cf-Cache-Status: DYNAMIC
David Crawshaw2e3337d2025-06-18 10:33:41 -0700617Cf-Ray: 951c8eb9ef9fcf1a-SJC
Earl Lee2e463fb2025-04-17 11:22:22 -0700618Content-Type: application/json
David Crawshaw2e3337d2025-06-18 10:33:41 -0700619Date: Wed, 18 Jun 2025 17:38:05 GMT
620Request-Id: req_011CQG6NuhqCivuiY6qpfgrF
Earl Lee2e463fb2025-04-17 11:22:22 -0700621Server: cloudflare
Sean McCullough485afc62025-04-28 14:28:39 -0700622Strict-Transport-Security: max-age=31536000; includeSubDomains; preload
Earl Lee2e463fb2025-04-17 11:22:22 -0700623Via: 1.1 google
624X-Robots-Tag: none
625
David Crawshaw2e3337d2025-06-18 10:33:41 -0700626{"id":"msg_019AFgFq1PXMS9XCNuWC9mQt","type":"message","role":"assistant","model":"claude-sonnet-4-20250514","content":[{"type":"text","text":"Here are the tools available to me:\n\n**Code & File Management:**\n- `bash` - Execute shell commands\n- `patch` - Edit files with precise text operations\n- `keyword_search` - Search codebase by keywords/concepts\n\n**Task Management:**\n- `todo_read` / `todo_write` - Track and manage task lists\n- `think` - Record thoughts and plans\n\n**Git & Development:**\n- `commit-message-style` - Get git commit message guidance\n- `codereview` - Run automated code review\n- `done` - Complete tasks with verification checklist\n\n**Browser Automation:**\n- `browser_navigate` - Navigate to URLs\n- `browser_click` - Click elements\n- `browser_type` - Type text into inputs\n- `browser_wait_for` - Wait for elements\n- `browser_get_text` - Read page text\n- `browser_eval` - Execute JavaScript\n- `browser_scroll_into_view` - Scroll to elements\n- `browser_resize` - Resize browser window\n- `browser_take_screenshot` - Capture screenshots\n- `browser_recent_console_logs` / `browser_clear_console_logs` - Manage console logs\n\n**Utilities:**\n- `read_image` - Read and encode image files\n- `multiplechoice` - Present multiple choice questions\n- `about_sketch` - Get information about Sketch environment\n- `set-slug` - Set conversation identifier"}],"stop_reason":"end_turn","stop_sequence":null,"usage":{"input_tokens":3,"cache_creation_input_tokens":4734,"cache_read_input_tokens":0,"output_tokens":332,"service_tier":"standard"}}