7 pages for teammateidle.
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
…l hook events beyond Python, including `SessionStart`, `SessionEnd`, `TeammateIdle`, and `TaskCompleted`. See the [hooks guide](/docs/en/agent-sdk/hooks.md) for the full event compatibility table. Fo…
Intercept and control agent behavior with hooks
Claude Code CLI · in the page
agent-sdk/hooks
…No | Yes | Session setup/maintenance | Run initialization tasks | | `TeammateIdle` | No | Yes | Teammate becomes idle | Reassign work or notify | | `TaskCreated` | No | Yes | A task is created via th…
Agent SDK reference - TypeScript
Claude Code CLI · in the page
agent-sdk/typescript
…itch" | "PermissionRequest" | "PermissionDenied" | "Setup" | "TeammateIdle" | "TaskCreated" | "TaskCompleted" | "Elicitation" | "ElicitationResult" | "ConfigChange" | "DirectoryAdd…
Orchestrate teams of Claude Code sessions
Claude Code CLI · in the page
agent-teams
…es when teammates finish work or tasks are created or completed: * [`TeammateIdle`](/docs/en/hooks#teammateidle): runs when a teammate is about to go idle. Exit with code 2 to send feedback and keep…
Claude Code changelog
Claude Code CLI · in the page
changelog
…lts to its agent ID (its `name@team` address stays in `teammate_id`); TeammateIdle hooks no longer fire from its subagents or forks * Changed background sessions waiting on a scheduled wakeup (`/loop`…
Hooks reference
Claude Code CLI · in the page
hooks
…op, TaskCreated, TaskCompleted), and Stop or StopFailure, followed by TeammateIdle, PreCompact, PostCompact, and SessionEnd, with Elicitation and ElicitationResult nested inside MCP tool execution, Pe…
Automate actions with hooks
Claude Code CLI · in the page
hooks-guide
…nding | | `StopFailure` | When the turn ends due to an API error | | `TeammateIdle` | When an [agent team](/docs/en/agent-teams.md) teammate is about to go idle | | `InstructionsLoaded` | When a CLAUD…