II.
HookSurface overview
Reference · livehook-surface:claude.teammate-idle
TeammateIdle (Claude Code) overview
Fires when an agent-team teammate is about to go idle. Exit 2 or continue: false prevents idle, keeps the teammate working. Only fires when CLAUDE_CODE_EXPERIMENTAL_AGENT_TEAMS=1 is set.
Attributes
eventName
TeammateIdle (Claude Code)
displayName
TeammateIdle (Claude Code)
kind
native
originVendor
Anthropic
direction
pre
blocking
true
family
in-process
payloadSchema
type
object
required
- hook_event_name
properties
hook_event_name
type
string
const
TeammateIdle
description
Fires when an agent-team teammate is about to go idle. Exit 2 or
continue: false prevents idle, keeps the teammate working. Only fires
when CLAUDE_CODE_EXPERIMENTAL_AGENT_TEAMS=1 is set.
Outgoing edges
None.
Incoming edges
exposes1
- agent-runtime-impl:claude-code.runtime@1.x·AgentRuntimeImplClaude Code Runtime (1.x)
maps_hook1
- hook-mapping:claude-teammate-idle·HookMapping