Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 3 additions & 1 deletion docs/agents/reference/hooks-reference.md
Original file line number Diff line number Diff line change
Expand Up @@ -166,7 +166,9 @@ The `SessionStart` hook can inject additional context into the agent's conversat

## Stop

The `Stop` hook fires when the agent session ends. When scoped to a custom agent, the `Stop` hook is also treated as `SubagentStop`.
The `Stop` hook fires when the current agent execution stops. When scoped to a custom agent, the `Stop` hook is also treated as `SubagentStop`.

The hook firing does not indicate stopping of a session or that the session has become inactive.

### Stop input

Expand Down