Search the documentation
6 pages for taskcreated.
Titles and paths first, then pages whose text carries it. Each row opens that page as this site last read it.
Intercept and control agent behavior with hooks
Claude Code CLI · in the page
agent-sdk/hooks
…| | `TaskCreated` | No | Yes | A task is created via the `TaskCreate` tool…
Agent SDK reference - TypeScript
Claude Code CLI · in the page
agent-sdk/typescript
…onRequest" | "PermissionDenied" | "Setup" | "TeammateIdle" | "TaskCreated" | "TaskCompleted" | "Elicitation" | "ElicitationResult" | "ConfigChange" | "DirectoryAdded" | "WorktreeCr…
Orchestrate teams of Claude Code sessions
Claude Code CLI · in the page
agent-teams
…the Agent tool is accepted but ignored, and the `team_name` field in `TaskCreated`, `TaskCompleted`, and `TeammateIdle` [hook payloads](/docs/en/hooks#taskcreated) carries the session-derived name and…
Hooks reference
Claude Code CLI · in the page
hooks
…, PostToolUse, PostToolUseFailure, PostToolBatch, SubagentStart/Stop, TaskCreated, TaskCompleted), and Stop or StopFailure, followed by TeammateIdle, PreCompact, PostCompact, and SessionEnd, with Elic…
Automate actions with hooks
Claude Code CLI · in the page
hooks-guide
…| | `TaskCreated` | When a task is being created via `TaskCreate`…
Plugins reference
Claude Code CLI · in the page
plugins-reference
…| | `TaskCreated` | When a task is being created via `TaskCreate`…