Write tool estimate · request

Stored count_tokens request for Write tool estimate.

Record provenance

Measurement
estimate-tool-Write
Record ID
8c89ccf0fd92808425c555e29be309a8f205851a5f9f31b516c34ab08090f1ef
Exact artifact
raw/count-tokens/8c89ccf0fd92808425c555e29be309a8f205851a5f9f31b516c34ab08090f1ef.request.json
JSON
{
  "id": "8c89ccf0fd92808425c555e29be309a8f205851a5f9f31b516c34ab08090f1ef",
  "label": "estimate-tool-Write",
  "generatedAt": "2026-06-09T00:30:06.046Z",
  "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\":\"Writes a file to the local filesystem, overwriting if one exists.\\n\\nWhen to use: creating a new file, or fully replacing one you've already Read. Overwriting an existing file you haven't Read will fail. For partial changes, use Edit instead.\",\"input_schema\":{\"$schema\":\"https://json-schema.org/draft/2020-12/schema\",\"additionalProperties\":false,\"properties\":{\"content\":{\"description\":\"The content to write to the file\",\"type\":\"string\"},\"file_path\":{\"description\":\"The absolute path to the file to write (must be absolute, not relative)\",\"type\":\"string\"}},\"required\":[\"file_path\",\"content\"],\"type\":\"object\"},\"name\":\"Write\"}"
          }
        ]
      },
      {
        "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": "312211fd63d641f848582a44b0f6c5743482d43a727e551671fbe316678353ff"
}