Follow Discord
Sweep 22 Oct 2026 · 21:04Z Build v2.1.309 528 read Stable v2.1.308 Latest v2.1.309 Next v2.1.309 Feeds RSS JSON llms.txt llms-full.txt Unofficial

Claude Code v2.1.163 ·

SubagentStop Hook Event

Entry
JSON All of v2.1.163
EntryKind: in v2.1.163,
ChangesSection of the release
What

A new hook event fires when a subagent finishes, complementing the existing Stop event which fires when the main conversation agent finishes. The hook output's additionalContext field is delivered back to the subagent so it can continue and act on the feedback.

Details
  • Event name: SubagentStop
  • Available for command-based and prompt-based hooks
  • Hook output schema: { hookEventName: "SubagentStop", additionalContext?: string }
  • additionalContext is non-error feedback; the subagent continues execution so it can act on it
  • Prompt-based hooks now also explicitly support SubagentStop alongside Stop, UserPromptSubmit, and PreToolUse
Evidence

Schema literal for the new event (search for "Hook-specific output for the SubagentStop event")

Strings lifted out of the shipped bundle, so the claim above can be checked against them.

See this entry in the whole of v2.1.163 →

Feedback