Follow Discord
Sweep 22 Oct 2026 · 21:04Z Build v2.1.309 528 read Stable v2.1.308 Latest v2.1.309 Next v2.1.309 Feeds RSS JSON llms.txt llms-full.txt Unofficial
HomeDocsSearch
Search the documentation

6 pages for taskcompleted.

Titles and paths first, then pages whose text carries it. Each row opens that page as this site last read it.

Use Claude Code features in the SDK Claude Code CLI · in the page agent-sdk/claude-code-features …Python, including `SessionStart`, `SessionEnd`, `TeammateIdle`, and `TaskCompleted`. See the [hooks guide](/docs/en/agent-sdk/hooks.md) for the full event compatibility table. For full details on pr… Intercept and control agent behavior with hooks Claude Code CLI · in the page agent-sdk/hooks …ted via the `TaskCreate` tool | Enforce task naming conventions | | [`TaskCompleted`](/docs/en/hooks#taskcompleted) | No | Yes | A task is marked completed | Require passing tests before a task closes… Agent SDK reference - TypeScript Claude Code CLI · in the page agent-sdk/typescript …rmissionDenied" | "Setup" | "TeammateIdle" | "TaskCreated" | "TaskCompleted" | "Elicitation" | "ElicitationResult" | "ConfigChange" | "DirectoryAdded" | "WorktreeCreate" | "Worktre… Orchestrate teams of Claude Code sessions Claude Code CLI · in the page agent-teams …created. Exit with code 2 to prevent creation and send feedback. * [`TaskCompleted`](/docs/en/hooks#taskcompleted): runs when a task is being marked complete. Exit with code 2 to prevent completion a… Hooks reference Claude Code CLI · in the page hooks …, PostToolUseFailure, PostToolBatch, SubagentStart/Stop, TaskCreated, TaskCompleted), and Stop or StopFailure, followed by TeammateIdle, PreCompact, PostCompact, and SessionEnd, with Elicitation and E… Automate actions with hooks Claude Code CLI · in the page hooks-guide …| `TaskCreated` | When a task is being created via `TaskCreate` | | `TaskCompleted` | When a task is being marked as completed | | `Stop` | When Claude finishes responding | | `StopFailure` | When th…
Feedback