Search the documentation
5 pages for claude_code_enable_tasks.
Titles and paths first, then pages whose text carries it. Each row opens that page as this site last read it.
Agent SDK reference - Python
Claude Code CLI · in the page
agent-sdk/python
…provides the Task tools by default and `TodoWrite` only when you set `CLAUDE_CODE_ENABLE_TASKS=0`. See [Model availability](/docs/en/agent-sdk/todo-tracking#model-availability) to opt in. </Note>…
Track todos
Claude Code CLI · in the page
agent-sdk/todo-tracking
…provides the Task tools by default and `TodoWrite` only when you set `CLAUDE_CODE_ENABLE_TASKS=0`. </Note> On the listed models, unless you opt a session in, you see no `tool_use` blocks for the tool…
Agent SDK reference - TypeScript
Claude Code CLI · in the page
agent-sdk/typescript
…provides the Task tools by default and `TodoWrite` only when you set `CLAUDE_CODE_ENABLE_TASKS=0`. See [Model availability](/docs/en/agent-sdk/todo-tracking#model-availability) to opt in. </Note>…
Environment variables
Claude Code CLI · in the page
env-vars
…| | `CLAUDE_CODE_ENABLE_TASKS` | Selects which task-tracking tools Claude Code provides in [sessions that…
Tools reference
Claude Code CLI · in the page
tools-reference
…favor of `TaskCreate`, `TaskGet`, `TaskList`, and `TaskUpdate`. Set `CLAUDE_CODE_ENABLE_TASKS=0` to re-enable it in [sessions that have the task-tracking tools](#task-tool-availability)…