SessionStartRequired
{ readonly session_id: string; readonly transcript_path?: string; readonly cwd: string; readonly hook_event_name: "SessionStart"; readonly permission_mode?: string; readonly prompt_id?: string; readonly scratchpad_dir?: string; readonly agent_id?: string; readonly agent_type?: string; readonly effort?: { readonly level: string; }; readonly source?: string; readonly model?: string; readonly session_title?: string; }
Native SessionStart payload from Claude, retained with its original field names. Unknown additional native fields are tolerated at runtime.
SetupRequired
{ readonly session_id: string; readonly transcript_path?: string; readonly cwd: string; readonly hook_event_name: "Setup"; readonly permission_mode?: string; readonly prompt_id?: string; readonly scratchpad_dir?: string; readonly agent_id?: string; readonly agent_type?: string; readonly effort?: { readonly level: string; }; readonly trigger?: string; }
Native Setup payload from Claude, retained with its original field names. Unknown additional native fields are tolerated at runtime.
UserPromptSubmitRequired
{ readonly session_id: string; readonly transcript_path?: string; readonly cwd: string; readonly hook_event_name: "UserPromptSubmit"; readonly permission_mode?: string; readonly prompt_id?: string; readonly scratchpad_dir?: string; readonly agent_id?: string; readonly agent_type?: string; readonly effort?: { readonly level: string; }; readonly prompt: string; readonly session_title?: string; }
Native UserPromptSubmit payload from Claude, retained with its original field names. Unknown additional native fields are tolerated at runtime.
UserPromptExpansionRequired
{ readonly session_id: string; readonly transcript_path?: string; readonly cwd: string; readonly hook_event_name: "UserPromptExpansion"; readonly permission_mode?: string; readonly prompt_id?: string; readonly scratchpad_dir?: string; readonly agent_id?: string; readonly agent_type?: string; readonly effort?: { readonly level: string; }; readonly prompt: string; readonly expansion_type?: string; readonly command_name?: string; readonly command_args?: string; readonly command_source?: string; }
Native UserPromptExpansion payload from Claude, retained with its original field names. Unknown additional native fields are tolerated at runtime.
PreToolUseRequired
{ readonly session_id: string; readonly transcript_path?: string; readonly cwd: string; readonly hook_event_name: "PreToolUse"; readonly permission_mode?: string; readonly prompt_id?: string; readonly scratchpad_dir?: string; readonly agent_id?: string; readonly agent_type?: string; readonly effort?: { readonly level: string; }; readonly tool_name: string; readonly tool_input?: Readonly<Record<string, unknown>>; readonly tool_use_id?: string; readonly mcp_server?: Readonly<Record<string, unknown>>; }
Native PreToolUse payload from Claude, retained with its original field names. Unknown additional native fields are tolerated at runtime.
PermissionRequestRequired
{ readonly session_id: string; readonly transcript_path?: string; readonly cwd: string; readonly hook_event_name: "PermissionRequest"; readonly permission_mode?: string; readonly prompt_id?: string; readonly scratchpad_dir?: string; readonly agent_id?: string; readonly agent_type?: string; readonly effort?: { readonly level: string; }; readonly tool_name: string; readonly tool_input?: Readonly<Record<string, unknown>>; readonly tool_use_id?: string; readonly permission_suggestions?: readonly unknown[]; readonly mcp_server?: Readonly<Record<string, unknown>>; }
Native PermissionRequest payload from Claude, retained with its original field names. Unknown additional native fields are tolerated at runtime.
PermissionDeniedRequired
{ readonly session_id: string; readonly transcript_path?: string; readonly cwd: string; readonly hook_event_name: "PermissionDenied"; readonly permission_mode?: string; readonly prompt_id?: string; readonly scratchpad_dir?: string; readonly agent_id?: string; readonly agent_type?: string; readonly effort?: { readonly level: string; }; readonly tool_name: string; readonly tool_input?: Readonly<Record<string, unknown>>; readonly tool_use_id?: string; readonly reason?: string; readonly mcp_server?: Readonly<Record<string, unknown>>; }
Native PermissionDenied payload from Claude, retained with its original field names. Unknown additional native fields are tolerated at runtime.
PostToolUseRequired
{ readonly session_id: string; readonly transcript_path?: string; readonly cwd: string; readonly hook_event_name: "PostToolUse"; readonly permission_mode?: string; readonly prompt_id?: string; readonly scratchpad_dir?: string; readonly agent_id?: string; readonly agent_type?: string; readonly effort?: { readonly level: string; }; readonly tool_name: string; readonly tool_input?: Readonly<Record<string, unknown>>; readonly tool_use_id?: string; readonly tool_response?: unknown; readonly mcp_server?: Readonly<Record<string, unknown>>; }
Native PostToolUse payload from Claude, retained with its original field names. Unknown additional native fields are tolerated at runtime.
PostToolUseFailureRequired
{ readonly session_id: string; readonly transcript_path?: string; readonly cwd: string; readonly hook_event_name: "PostToolUseFailure"; readonly permission_mode?: string; readonly prompt_id?: string; readonly scratchpad_dir?: string; readonly agent_id?: string; readonly agent_type?: string; readonly effort?: { readonly level: string; }; readonly tool_name: string; readonly tool_input?: Readonly<Record<string, unknown>>; readonly tool_use_id?: string; readonly error?: string; readonly is_interrupt?: boolean; readonly mcp_server?: Readonly<Record<string, unknown>>; }
Native PostToolUseFailure payload from Claude, retained with its original field names. Unknown additional native fields are tolerated at runtime.
PostToolBatchRequired
{ readonly session_id: string; readonly transcript_path?: string; readonly cwd: string; readonly hook_event_name: "PostToolBatch"; readonly permission_mode?: string; readonly prompt_id?: string; readonly scratchpad_dir?: string; readonly agent_id?: string; readonly agent_type?: string; readonly effort?: { readonly level: string; }; readonly tool_calls?: readonly { readonly tool_name?: string; readonly tool_input?: Readonly<Record<string, unknown>>; readonly tool_use_id?: string; readonly tool_response?: unknown; }[]; }
Native PostToolBatch payload from Claude, retained with its original field names. Unknown additional native fields are tolerated at runtime.
NotificationRequired
{ readonly session_id: string; readonly transcript_path?: string; readonly cwd: string; readonly hook_event_name: "Notification"; readonly permission_mode?: string; readonly prompt_id?: string; readonly scratchpad_dir?: string; readonly agent_id?: string; readonly agent_type?: string; readonly effort?: { readonly level: string; }; readonly message?: string; readonly title?: string; readonly notification_type?: string; }
Native Notification payload from Claude, retained with its original field names. Unknown additional native fields are tolerated at runtime.
MessageDisplayRequired
{ readonly session_id: string; readonly transcript_path?: string; readonly cwd: string; readonly hook_event_name: "MessageDisplay"; readonly permission_mode?: string; readonly prompt_id?: string; readonly scratchpad_dir?: string; readonly agent_id?: string; readonly agent_type?: string; readonly effort?: { readonly level: string; }; readonly delta: string; readonly turn_id?: string; readonly message_id?: string; readonly index?: number; readonly final?: boolean; }
Native MessageDisplay payload from Claude, retained with its original field names. Unknown additional native fields are tolerated at runtime.
SubagentStartRequired
{ readonly session_id: string; readonly transcript_path?: string; readonly cwd: string; readonly hook_event_name: "SubagentStart"; readonly permission_mode?: string; readonly prompt_id?: string; readonly scratchpad_dir?: string; readonly agent_id?: string; readonly agent_type?: string; readonly effort?: { readonly level: string; }; }
Native SubagentStart payload from Claude, retained with its original field names. Unknown additional native fields are tolerated at runtime.
SubagentStopRequired
{ readonly session_id: string; readonly transcript_path?: string; readonly cwd: string; readonly hook_event_name: "SubagentStop"; readonly permission_mode?: string; readonly prompt_id?: string; readonly scratchpad_dir?: string; readonly agent_id?: string; readonly agent_type?: string; readonly effort?: { readonly level: string; }; readonly agent_transcript_path?: string; readonly last_assistant_message?: string; readonly stop_hook_active?: boolean; }
Native SubagentStop payload from Claude, retained with its original field names. Unknown additional native fields are tolerated at runtime.
TaskCreatedRequired
{ readonly session_id: string; readonly transcript_path?: string; readonly cwd: string; readonly hook_event_name: "TaskCreated"; readonly permission_mode?: string; readonly prompt_id?: string; readonly scratchpad_dir?: string; readonly agent_id?: string; readonly agent_type?: string; readonly effort?: { readonly level: string; }; readonly task_id?: string; readonly task_subject?: string; readonly task_description?: string; }
Native TaskCreated payload from Claude, retained with its original field names. Unknown additional native fields are tolerated at runtime.
TaskCompletedRequired
{ readonly session_id: string; readonly transcript_path?: string; readonly cwd: string; readonly hook_event_name: "TaskCompleted"; readonly permission_mode?: string; readonly prompt_id?: string; readonly scratchpad_dir?: string; readonly agent_id?: string; readonly agent_type?: string; readonly effort?: { readonly level: string; }; readonly task_id?: string; readonly task_subject?: string; readonly task_description?: string; readonly teammate_name?: string; readonly team_name?: string; }
Native TaskCompleted payload from Claude, retained with its original field names. Unknown additional native fields are tolerated at runtime.
StopRequired
{ readonly session_id: string; readonly transcript_path?: string; readonly cwd: string; readonly hook_event_name: "Stop"; readonly permission_mode?: string; readonly prompt_id?: string; readonly scratchpad_dir?: string; readonly agent_id?: string; readonly agent_type?: string; readonly effort?: { readonly level: string; }; readonly stop_hook_active?: boolean; readonly last_assistant_message?: string; }
Native Stop payload from Claude, retained with its original field names. Unknown additional native fields are tolerated at runtime.
StopFailureRequired
{ readonly session_id: string; readonly transcript_path?: string; readonly cwd: string; readonly hook_event_name: "StopFailure"; readonly permission_mode?: string; readonly prompt_id?: string; readonly scratchpad_dir?: string; readonly agent_id?: string; readonly agent_type?: string; readonly effort?: { readonly level: string; }; readonly error?: string; readonly error_details?: string; readonly last_assistant_message?: string; }
Native StopFailure payload from Claude, retained with its original field names. Unknown additional native fields are tolerated at runtime.
TeammateIdleRequired
{ readonly session_id: string; readonly transcript_path?: string; readonly cwd: string; readonly hook_event_name: "TeammateIdle"; readonly permission_mode?: string; readonly prompt_id?: string; readonly scratchpad_dir?: string; readonly agent_id?: string; readonly agent_type?: string; readonly effort?: { readonly level: string; }; readonly teammate_name?: string; readonly team_name?: string; }
Native TeammateIdle payload from Claude, retained with its original field names. Unknown additional native fields are tolerated at runtime.
InstructionsLoadedRequired
{ readonly session_id: string; readonly transcript_path?: string; readonly cwd: string; readonly hook_event_name: "InstructionsLoaded"; readonly permission_mode?: string; readonly prompt_id?: string; readonly scratchpad_dir?: string; readonly agent_id?: string; readonly agent_type?: string; readonly effort?: { readonly level: string; }; readonly file_path?: string; readonly memory_type?: string; readonly load_reason?: string; readonly globs?: readonly string[]; readonly trigger_file_path?: string; readonly parent_file_path?: string; }
Native InstructionsLoaded payload from Claude, retained with its original field names. Unknown additional native fields are tolerated at runtime.
ConfigChangeRequired
{ readonly session_id: string; readonly transcript_path?: string; readonly cwd: string; readonly hook_event_name: "ConfigChange"; readonly permission_mode?: string; readonly prompt_id?: string; readonly scratchpad_dir?: string; readonly agent_id?: string; readonly agent_type?: string; readonly effort?: { readonly level: string; }; readonly source?: string; readonly file_path?: string; }
Native ConfigChange payload from Claude, retained with its original field names. Unknown additional native fields are tolerated at runtime.
CwdChangedRequired
{ readonly session_id: string; readonly transcript_path?: string; readonly cwd: string; readonly hook_event_name: "CwdChanged"; readonly permission_mode?: string; readonly prompt_id?: string; readonly scratchpad_dir?: string; readonly agent_id?: string; readonly agent_type?: string; readonly effort?: { readonly level: string; }; readonly old_cwd?: string; readonly new_cwd?: string; }
Native CwdChanged payload from Claude, retained with its original field names. Unknown additional native fields are tolerated at runtime.
DirectoryAddedRequired
{ readonly session_id: string; readonly transcript_path?: string; readonly cwd: string; readonly hook_event_name: "DirectoryAdded"; readonly permission_mode?: string; readonly prompt_id?: string; readonly scratchpad_dir?: string; readonly agent_id?: string; readonly agent_type?: string; readonly effort?: { readonly level: string; }; readonly directory?: string; readonly source?: "slash_command" | "register_repo_root"; }
Native DirectoryAdded payload from Claude, retained with its original field names. Unknown additional native fields are tolerated at runtime.
FileChangedRequired
{ readonly session_id: string; readonly transcript_path?: string; readonly cwd: string; readonly hook_event_name: "FileChanged"; readonly permission_mode?: string; readonly prompt_id?: string; readonly scratchpad_dir?: string; readonly agent_id?: string; readonly agent_type?: string; readonly effort?: { readonly level: string; }; readonly file_path?: string; readonly event?: string; }
Native FileChanged payload from Claude, retained with its original field names. Unknown additional native fields are tolerated at runtime.
WorktreeCreateRequired
{ readonly session_id: string; readonly transcript_path?: string; readonly cwd: string; readonly hook_event_name: "WorktreeCreate"; readonly permission_mode?: string; readonly prompt_id?: string; readonly scratchpad_dir?: string; readonly agent_id?: string; readonly agent_type?: string; readonly effort?: { readonly level: string; }; readonly name?: string; }
Native WorktreeCreate payload from Claude, retained with its original field names. Unknown additional native fields are tolerated at runtime.
WorktreeRemoveRequired
{ readonly session_id: string; readonly transcript_path?: string; readonly cwd: string; readonly hook_event_name: "WorktreeRemove"; readonly permission_mode?: string; readonly prompt_id?: string; readonly scratchpad_dir?: string; readonly agent_id?: string; readonly agent_type?: string; readonly effort?: { readonly level: string; }; readonly worktree_path?: string; }
Native WorktreeRemove payload from Claude, retained with its original field names. Unknown additional native fields are tolerated at runtime.
PreCompactRequired
{ readonly session_id: string; readonly transcript_path?: string; readonly cwd: string; readonly hook_event_name: "PreCompact"; readonly permission_mode?: string; readonly prompt_id?: string; readonly scratchpad_dir?: string; readonly agent_id?: string; readonly agent_type?: string; readonly effort?: { readonly level: string; }; readonly trigger?: string; readonly custom_instructions?: string | null; }
Native PreCompact payload from Claude, retained with its original field names. Unknown additional native fields are tolerated at runtime.
PostCompactRequired
{ readonly session_id: string; readonly transcript_path?: string; readonly cwd: string; readonly hook_event_name: "PostCompact"; readonly permission_mode?: string; readonly prompt_id?: string; readonly scratchpad_dir?: string; readonly agent_id?: string; readonly agent_type?: string; readonly effort?: { readonly level: string; }; readonly trigger?: string; readonly compact_summary?: string; }
Native PostCompact payload from Claude, retained with its original field names. Unknown additional native fields are tolerated at runtime.
PreModelSwitchRequired
{ readonly session_id: string; readonly transcript_path?: string; readonly cwd: string; readonly hook_event_name: "PreModelSwitch"; readonly permission_mode?: string; readonly prompt_id?: string; readonly scratchpad_dir?: string; readonly agent_id?: string; readonly agent_type?: string; readonly effort?: { readonly level: string; }; readonly from_model?: string; readonly to_model?: string; readonly requested_model?: string | null; readonly source?: string; readonly context_tokens?: number; readonly prompt_cache_warm?: boolean; readonly cache_ttl?: string; readonly estimated_cache_write_usd?: number; readonly pricing?: string; }
Native PreModelSwitch payload from Claude, retained with its original field names. Unknown additional native fields are tolerated at runtime.
PostModelSwitchRequired
{ readonly session_id: string; readonly transcript_path?: string; readonly cwd: string; readonly hook_event_name: "PostModelSwitch"; readonly permission_mode?: string; readonly prompt_id?: string; readonly scratchpad_dir?: string; readonly agent_id?: string; readonly agent_type?: string; readonly effort?: { readonly level: string; }; readonly from_model?: string; readonly to_model?: string; readonly requested_model?: string | null; readonly source?: string; readonly context_tokens?: number; readonly prompt_cache_warm?: boolean; readonly cache_ttl?: string; readonly estimated_cache_write_usd?: number; readonly pricing?: string; }
Native PostModelSwitch payload from Claude, retained with its original field names. Unknown additional native fields are tolerated at runtime.
ElicitationRequired
{ readonly session_id: string; readonly transcript_path?: string; readonly cwd: string; readonly hook_event_name: "Elicitation"; readonly permission_mode?: string; readonly prompt_id?: string; readonly scratchpad_dir?: string; readonly agent_id?: string; readonly agent_type?: string; readonly effort?: { readonly level: string; }; readonly mcp_server_name?: string; readonly message?: string; readonly mode?: string; readonly requested_schema?: Readonly<Record<string, unknown>>; readonly elicitation_id?: string; readonly url?: string; }
Native Elicitation payload from Claude, retained with its original field names. Unknown additional native fields are tolerated at runtime.
ElicitationResultRequired
{ readonly session_id: string; readonly transcript_path?: string; readonly cwd: string; readonly hook_event_name: "ElicitationResult"; readonly permission_mode?: string; readonly prompt_id?: string; readonly scratchpad_dir?: string; readonly agent_id?: string; readonly agent_type?: string; readonly effort?: { readonly level: string; }; readonly mcp_server_name?: string; readonly action?: string; readonly content?: Readonly<Record<string, unknown>>; }
Native ElicitationResult payload from Claude, retained with its original field names. Unknown additional native fields are tolerated at runtime.
SessionEndRequired
{ readonly session_id: string; readonly transcript_path?: string; readonly cwd: string; readonly hook_event_name: "SessionEnd"; readonly permission_mode?: string; readonly prompt_id?: string; readonly scratchpad_dir?: string; readonly agent_id?: string; readonly agent_type?: string; readonly effort?: { readonly level: string; }; readonly reason?: string; }
Native SessionEnd payload from Claude, retained with its original field names. Unknown additional native fields are tolerated at runtime.