Search the documentation
10 pages for subagentstop.
Titles and paths first, then pages whose text carries it. Each row opens that page as this site last read it.
How the agent loop works
Claude Code CLI · in the page
agent-sdk/agent-loop
…| Validate the result, save session state | | `SubagentStart` / `SubagentStop` | When a subagent spawns or completes | Track and aggregate parallel task results | | `PreCompact`…
Intercept and control agent behavior with hooks
Claude Code CLI · in the page
agent-sdk/hooks
…| | `SubagentStop` | Yes | Yes | Subagent completion…
Agent SDK reference - Python
Claude Code CLI · in the page
agent-sdk/python
…r submits a prompt "Stop", # Called when stopping execution "SubagentStop", # Called when a subagent stops "PreCompact", # Called before message compaction "Notification", # Called…
Agent SDK reference - TypeScript
Claude Code CLI · in the page
agent-sdk/typescript
…| "SessionEnd" | "Stop" | "StopFailure" | "SubagentStart" | "SubagentStop" | "PreCompact" | "PostCompact" | "PermissionRequest" | "PermissionDenied" | "Setup" | "TeammateIdle" |…
Claude Code changelog
Claude Code CLI · in the page
changelog
…oard, preserving formatting when pasted elsewhere * Hooks: Stop and SubagentStop hooks can now return `hookSpecificOutput.additionalContext` to give Claude feedback and keep the turn going without b…
Hooks reference
Claude Code CLI · in the page
hooks
…| | `SubagentStop` | When a subagent finishes…
Automate actions with hooks
Claude Code CLI · in the page
hooks-guide
…| | `SubagentStop` | When a subagent finishes…
Plugins reference
Claude Code CLI · in the page
plugins-reference
…| | `SubagentStop` | When a subagent finishes…
Create custom subagents
Claude Code CLI · in the page
sub-agents
…e same way they do in the main conversation, and `SubagentStart` and `SubagentStop` fire when a subagent starts or finishes Hooks from [settings files, managed policy settings, and plugins](/docs/en/…
Week 23 · June 1–5, 2026
Claude Code CLI · in the page
whats-new/2026-w23
…t in the prompt</div> <div><a href="/docs/docs/en/hooks">Stop and SubagentStop hooks</a> can return <code>hookSpecificOutput.additionalContext</code> to give Claude feedback and keep the turn goin…