WebSearch tool estimate · request
Stored count_tokens request for WebSearch tool estimate.
Record provenance
- Measurement
estimate-tool-WebSearch- Record ID
b04cebf03cfe8d8d7854e0dd6294fe313a15346c15f2a836ba84aa1ab6666d5f- Exact artifact
raw/count-tokens/b04cebf03cfe8d8d7854e0dd6294fe313a15346c15f2a836ba84aa1ab6666d5f.request.json
{
"id": "b04cebf03cfe8d8d7854e0dd6294fe313a15346c15f2a836ba84aa1ab6666d5f",
"label": "estimate-tool-WebSearch",
"generatedAt": "2026-06-09T00:30:05.662Z",
"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\":\"Search the web. Returns result blocks with titles and URLs. US-only.\\n\\n- The current month is June 2026 — use this when searching for recent information.\\n- `allowed_domains` / `blocked_domains` filter results.\\n- After answering from results, end with a \\\"Sources:\\\" list of the URLs you used as markdown links.\",\"input_schema\":{\"$schema\":\"https://json-schema.org/draft/2020-12/schema\",\"additionalProperties\":false,\"properties\":{\"allowed_domains\":{\"description\":\"Only include search results from these domains\",\"items\":{\"type\":\"string\"},\"type\":\"array\"},\"blocked_domains\":{\"description\":\"Never include search results from these domains\",\"items\":{\"type\":\"string\"},\"type\":\"array\"},\"query\":{\"description\":\"The search query to use\",\"minLength\":2,\"type\":\"string\"}},\"required\":[\"query\"],\"type\":\"object\"},\"name\":\"WebSearch\"}"
}
]
},
{
"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": "2654054470d5c174f30ac2da96b43fc8461396704ee05030f9d0c0c009ff5db5"
}