Answer: To opt a session in, name one of the tools in the allowedTools (TypeScript) or allowed_tools (Python) option, list the tools in the tools option, or set CLAUDE_CODE_ENABLE_TODO_TOOLS=1 in the env option. Status: Confirmed Entry: tool/claude-code/agents-and-automation/opt-in-task-tracking-tools Revision: 1 Digest: sha256:28db9cd573804c06 (changes whenever the content changes) Timeline: Created: 2026-11-13T03:03:03Z Last changed: 2026-11-13T03:03:03Z Last verified: 2026-11-20T12:17:30Z Next check: 2026-11-21T12:17:30Z Check interval: Daily Expected change: No fixed schedule Data: Field | Value | Source | As of opt-in env variable | CLAUDE_CODE_ENABLE_TODO_TOOLS=1 | [1] | 2026-11-20 TypeScript allow option | allowedTools | [1] | 2026-11-20 Python allow option | allowed_tools | [1] | 2026-11-20 tools option | tools | [1] | 2026-11-20 default-enabled models | Claude Opus 4.7, Claude Sonnet 4.6, Claude Haiku 4.5 | [1] | 2026-11-20 disable tasks env variable | CLAUDE_CODE_ENABLE_TASKS=0 | [1] | 2026-11-20 default set version | v2.1.268 | [1] | 2026-11-20 Sources: [1] Anthropic. "Track todos". https://code.claude.com/docs/en/agent-sdk/todo-tracking.md Role: primary. Accessed: 2026-11-20T12:17:30Z Quote: "Set `CLAUDE_CODE_ENABLE_TODO_TOOLS=1` in the `env` option" (Supports: opt-in env variable) Quote: "Name one of the tools in the [`allowedTools`](https://code.claude.com/docs/en/agent-sdk/permissions#allow-and-deny-rules) (TypeScript)" (Supports: TypeScript allow option) Quote: "or `allowed_tools` (Python) option" (Supports: Python allow option) Quote: "List the tools in the `tools` option, which restricts the session's built-in tools to the ones it names." (Supports: tools option) Quote: "available by default only on Claude Opus 4.7, Claude Sonnet 4.6, Claude Haiku 4.5, and earlier models" (Supports: default-enabled models) Quote: "or `TodoWrite` instead when you set `CLAUDE_CODE_ENABLE_TASKS=0`" (Supports: disable tasks env variable) Quote: "This default set applies in Claude Code v2.1.268 and later" (Supports: default set version) Published: 2026-11-20T03:58:24Z Snapshot SHA-256: b4f595ba02232c17c2383d44be552c911bfb4b0c08334c8e3a6180eb45c8ef85 (captured 2026-11-17T12:21:46Z) Verification: Method: Automated extraction from [1] with deepseek-flash (JSON output, thinking disabled). Every value was checked by code to appear verbatim in a quoted passage of [1]. On this check the text of [1] was unchanged since 2026-11-17T12:21:46Z, so the values verified then were kept. Cross-check: not-available at 2026-11-20T12:17:30Z. No independent second source is configured for this entry Last successful check: 2026-11-20T12:17:30Z Last attempt: 2026-11-20T12:17:30Z Notes and limitations: Extracted automatically from a single official source (section "Model availability"). Related: https://latestn.com/tool/claude-code/agents-and-automation/optimize-tool-discovery How can I optimize tool discovery for tool search in Claude Code? https://latestn.com/tool/claude-code/agents-and-automation/optional-tool-parameter How do I make a parameter optional in a Claude Code custom tool? https://latestn.com/tool/claude-code/agents-and-automation/output-format-configuration How do I configure the output format for a Claude Code agent? https://latestn.com/tool/claude-code/agents-and-automation/mod-hook-events Which events can a Claude Code mod hook into, such as tool, prompt, session, or telemetry events? https://latestn.com/tool/claude-code/agents-and-automation/multiple-plugin-sources How do I load plugins from multiple sources in the Claude Code Agent SDK? https://latestn.com/tool/claude-code/agents-and-automation/open-agent-view-by-default How do I open Claude Code's agent view by default? https://latestn.com/tool/ All entries in AI tools Change log: Time | Event | Change | Source 2026-11-13T03:03:03Z | added | Entry created | — Changes for this entry as a feed: https://latestn.com/tool/claude-code/agents-and-automation/opt-in-task-tracking-tools/latest Challenge this entry: Open challenges: None How: If a value here is wrong or out of date, send what is wrong and a link to evidence. Challenges are queued and checked against the evidence; they do not change the entry by themselves. If the entry changes as a result, the change log says so. Form: https://latestn.com/dispute/tool/claude-code/agents-and-automation/opt-in-task-tracking-tools POST: https://latestn.com/dispute/tool/claude-code/agents-and-automation/opt-in-task-tracking-tools with claim, evidence_url, and optionally field and contact (form-encoded or JSON) GET: https://latestn.com/dispute/tool/claude-code/agents-and-automation/opt-in-task-tracking-tools?claim={what is wrong}&evidence_url={link} How to cite: LatestN. (2026). How do I opt in to Claude Code's task-tracking tools on models where they aren't available by default? Revision 1, last verified 2026-11-20T12:17:30Z. https://latestn.com/tool/claude-code/agents-and-automation/opt-in-task-tracking-tools (accessed 2026-11-21T10:01:33Z). @misc{LatestN_tool_claude_code_agents_and_automation_opt_in_task_tracking_tools_r1, title = {How do I opt in to Claude Code's task-tracking tools on models where they aren't available by default?}, author = {{LatestN}}, year = {2026}, howpublished = {\url{https://latestn.com/tool/claude-code/agents-and-automation/opt-in-task-tracking-tools}}, note = {Revision 1; digest sha256:28db9cd573804c06; last verified 2026-11-20T12:17:30Z; accessed 2026-11-21T10:01:33Z} } Reuse: License: CC BY 4.0 (https://creativecommons.org/licenses/by/4.0/) Attribution: Copying and adapting are allowed, including commercially, if you credit LatestN and link to the entry you used. Each entry ends with a ready-made citation. URL: https://latestn.com/tool/claude-code/agents-and-automation/opt-in-task-tracking-tools