Edit tool estimate · request
Stored count_tokens request for Edit tool estimate.
Record provenance
- Measurement
estimate-tool-Edit- Record ID
c9b2b41bcddc0128b094295f7b21ce64599b0385dcd296a02e730f1f8cb7c065- Exact artifact
raw/count-tokens/c9b2b41bcddc0128b094295f7b21ce64599b0385dcd296a02e730f1f8cb7c065.request.json
{
"id": "c9b2b41bcddc0128b094295f7b21ce64599b0385dcd296a02e730f1f8cb7c065",
"label": "estimate-tool-Edit",
"generatedAt": "2026-06-09T00:30:01.213Z",
"url": "https://api.anthropic.com/v1/messages/count_tokens?beta=true",
"headers": {
"anthropic-beta": "claude-code-20250219,context-1m-2025-08-07,interleaved-thinking-2025-05-14,context-management-2025-06-27,prompt-caching-scope-2026-01-05,mid-conversation-system-2026-04-07,advisor-tool-2026-03-01,effort-2025-11-24,token-counting-2024-11-01",
"anthropic-version": "2023-06-01",
"content-type": "application/json",
"x-api-key": "<redacted>"
},
"body": {
"model": "claude-opus-4-8",
"messages": [
{
"role": "user",
"content": [
{
"type": "text",
"text": "<system-reminder>\nAs you answer the user's questions, you can use the following context:\n# currentDate\nToday's date is 2026-06-08.\n\n IMPORTANT: this context may or may not be relevant to your tasks. You should not respond to this context unless it is highly relevant to your task.\n</system-reminder>\n\n"
},
{
"type": "text",
"text": "say hi",
"cache_control": {
"type": "ephemeral"
}
},
{
"type": "text",
"text": "{\"description\":\"Performs exact string replacement in a file.\\n\\n- You must Read the file in this conversation before editing, or the call will fail.\\n- `old_string` must match the file exactly, including indentation, and be unique — the edit fails otherwise. Strip the Read line prefix (line number + tab) before matching.\\n- `replace_all: true` replaces every occurrence instead.\",\"input_schema\":{\"$schema\":\"https://json-schema.org/draft/2020-12/schema\",\"additionalProperties\":false,\"properties\":{\"file_path\":{\"description\":\"The absolute path to the file to modify\",\"type\":\"string\"},\"new_string\":{\"description\":\"The text to replace it with (must be different from old_string)\",\"type\":\"string\"},\"old_string\":{\"description\":\"The text to replace\",\"type\":\"string\"},\"replace_all\":{\"default\":false,\"description\":\"Replace all occurrences of old_string (default false)\",\"type\":\"boolean\"}},\"required\":[\"file_path\",\"old_string\",\"new_string\"],\"type\":\"object\"},\"name\":\"Edit\"}"
}
]
},
{
"role": "system",
"content": "The following skills are available for use with the Skill tool:\n\n- deep-research: \n- update-config: \n- keybindings-help: \n- verify: \n- code-review: \n- simplify: \n- fewer-permission-prompts: \n- loop: \n- claude-api: \n- run: \n- init: \n- review: \n- security-review: "
}
],
"thinking": {
"type": "adaptive"
},
"output_config": {
"effort": "high"
},
"system": [
{
"type": "text",
"text": "x-anthropic-billing-header: cc_version=2.1.168.c27; cc_entrypoint=sdk-ts; cch=e5b75;"
},
{
"type": "text",
"text": "You are a Claude agent, built on Anthropic's Claude Agent SDK.",
"cache_control": {
"type": "ephemeral"
}
}
]
},
"bodyCanonicalSha256": "c24dceb50509d32e8ea9566aaa561b8e7eafb0938fd898a743a66982ab7476be"
}