TaskUpdate tool estimate · request
Stored count_tokens request for TaskUpdate tool estimate.
Record provenance
- Measurement
estimate-tool-TaskUpdate- Record ID
110336260a76d1b66ce903d32f7ab92618124aac7fcfae0380b7f9000c16fad9- Exact artifact
raw/count-tokens/110336260a76d1b66ce903d32f7ab92618124aac7fcfae0380b7f9000c16fad9.request.json
{
"id": "110336260a76d1b66ce903d32f7ab92618124aac7fcfae0380b7f9000c16fad9",
"label": "estimate-tool-TaskUpdate",
"generatedAt": "2026-06-09T00:30:05.272Z",
"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\":\"Use this tool to update a task in the task list.\\n\\n## When to Use This Tool\\n\\n**Mark tasks as resolved:**\\n- When you have completed the work described in a task\\n- When a task is no longer needed or has been superseded\\n- IMPORTANT: Always mark your assigned tasks as resolved when you finish them\\n- After resolving, call TaskList to find your next task\\n\\n- ONLY mark a task as completed when you have FULLY accomplished it\\n- If you encounter errors, blockers, or cannot finish, keep the task as in_progress\\n- When blocked, create a new task describing what needs to be resolved\\n- Never mark a task as completed if:\\n - Tests are failing\\n - Implementation is partial\\n - You encountered unresolved errors\\n - You couldn't find necessary files or dependencies\\n\\n**Delete tasks:**\\n- When a task is no longer relevant or was created in error\\n- Setting status to `deleted` permanently removes the task\\n\\n**Update task details:**\\n- When requirements change or become clearer\\n- When establishing dependencies between tasks\\n\\n## Fields You Can Update\\n\\n- **status**: The task status (see Status Workflow below)\\n- **subject**: Change the task title (imperative form, e.g., \\\"Run tests\\\")\\n- **description**: Change the task description\\n- **activeForm**: Present continuous form shown in spinner when in_progress (e.g., \\\"Running tests\\\")\\n- **owner**: Change the task owner (agent name)\\n- **metadata**: Merge metadata keys into the task (set a key to null to delete it)\\n- **addBlocks**: Mark tasks that cannot start until this one completes\\n- **addBlockedBy**: Mark tasks that must complete before this one can start\\n\\n## Status Workflow\\n\\nStatus progresses: `pending` → `in_progress` → `completed`\\n\\nUse `deleted` to permanently remove a task.\\n\\n## Staleness\\n\\nMake sure to read a task's latest state using `TaskGet` before updating it.\\n\\n## Examples\\n\\nMark task as in progress when starting work:\\n```json\\n{\\\"taskId\\\": \\\"1\\\", \\\"status\\\": \\\"in_progress\\\"}\\n```\\n\\nMark task as completed after finishing work:\\n```json\\n{\\\"taskId\\\": \\\"1\\\", \\\"status\\\": \\\"completed\\\"}\\n```\\n\\nDelete a task:\\n```json\\n{\\\"taskId\\\": \\\"1\\\", \\\"status\\\": \\\"deleted\\\"}\\n```\\n\\nClaim a task by setting owner:\\n```json\\n{\\\"taskId\\\": \\\"1\\\", \\\"owner\\\": \\\"my-name\\\"}\\n```\\n\\nSet up task dependencies:\\n```json\\n{\\\"taskId\\\": \\\"2\\\", \\\"addBlockedBy\\\": [\\\"1\\\"]}\\n```\\n\",\"input_schema\":{\"$schema\":\"https://json-schema.org/draft/2020-12/schema\",\"additionalProperties\":false,\"properties\":{\"activeForm\":{\"description\":\"Present continuous form shown in spinner when in_progress (e.g., \\\"Running tests\\\")\",\"type\":\"string\"},\"addBlockedBy\":{\"description\":\"Task IDs that block this task\",\"items\":{\"type\":\"string\"},\"type\":\"array\"},\"addBlocks\":{\"description\":\"Task IDs that this task blocks\",\"items\":{\"type\":\"string\"},\"type\":\"array\"},\"description\":{\"description\":\"New description for the task\",\"type\":\"string\"},\"metadata\":{\"additionalProperties\":{},\"description\":\"Metadata keys to merge into the task. Set a key to null to delete it.\",\"propertyNames\":{\"type\":\"string\"},\"type\":\"object\"},\"owner\":{\"description\":\"New owner for the task\",\"type\":\"string\"},\"status\":{\"anyOf\":[{\"enum\":[\"pending\",\"in_progress\",\"completed\"],\"type\":\"string\"},{\"const\":\"deleted\",\"type\":\"string\"}],\"description\":\"New status for the task\"},\"subject\":{\"description\":\"New subject for the task\",\"type\":\"string\"},\"taskId\":{\"description\":\"The ID of the task to update\",\"type\":\"string\"}},\"required\":[\"taskId\"],\"type\":\"object\"},\"name\":\"TaskUpdate\"}"
}
]
},
{
"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": "c97fa716788cd23ed655e24ff4f2f8449bef1999786d2eccdea77be6eec72c6e"
}