Skip to content
Open
Changes from 1 commit
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
Prev Previous commit
docs(copilot-cli): clarify agentStop fires per-turn, not per-session
Addresses review feedback on PR #43876.

Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>
  • Loading branch information
izecell and Copilot committed Apr 20, 2026
commit 16feb832db610abf04e54566061287af6b4e49af
2 changes: 1 addition & 1 deletion content/copilot/reference/hooks-configuration.md
Original file line number Diff line number Diff line change
Expand Up @@ -259,7 +259,7 @@ fi

### Agent stop hook

Executed when the main agent finishes responding to a prompt and is about to stop. Use this hook to log session completion or to inject a follow-up instruction by blocking the stop. When you block, the `reason` you provide is enqueued as the next user prompt, so the agent continues with that input.
Executed when the main agent finishes responding to a prompt and is about to stop. Use this hook to log the end of an agent turn or to inject a follow-up instruction by blocking the stop. To handle full session completion, use the session end hook. When you block, the `reason` you provide is enqueued as the next user prompt, so the agent continues with that input.

**Example input JSON:**

Expand Down
Loading