[DOCS] Subagent continuation docs still show the old resume flow
Documentation Type
Incorrect/outdated documentation
Documentation Location
https://code.claude.com/docs/en/sub-agents
Section/Topic
Resume subagents / programmatic subagent continuation
Current Documentation
The code docs currently say:
To resume a subagent, ask Claude to continue the previous work:
The Agent SDK TypeScript reference still includes:
type AgentInput = { ... resume?: string; ... }
The Agent SDK subagents guide also says:
Pass resume: sessionId in the second query's options, and include the agent ID in your prompt
What's Wrong or Missing?
Claude Code v2.1.77 removed the Agent tool's resume parameter and replaced the continuation flow with SendMessage({to: agentId}).
The same release also changed SendMessage so it auto-resumes stopped agents in the background. Current docs still teach the older continuation pattern, so SDK users and advanced subagent users do not get an accurate reference for the supported API.
Suggested Improvement
Update the subagent continuation docs to distinguish session resume from agent continuation.
Suggested changes:
- remove
resumefrom the Agent tool input/reference - show
SendMessage({to: agentId})as the supported way to continue a previously spawned agent - document that
SendMessageauto-resumes stopped agents in the background - clarify when session-level
resumeis still valid and when users need agent-level continuation instead
Impact
High - Prevents users from using a feature
Additional Context
Affected Pages:
| Page | Context |
|------|---------|
| https://code.claude.com/docs/en/sub-agents | User-facing subagent continuation section |
| https://platform.claude.com/docs/en/agent-sdk/subagents | Programmatic subagent continuation examples still describe the old flow |
| https://platform.claude.com/docs/en/agent-sdk/typescript | AgentInput still shows resume?: string |
Total scope: 3 pages affected
Source: Claude Code v2.1.77 release notes
Exact release entries:
The Agent tool no longer accepts aresumeparameter - useSendMessage({to: agentId})to continue a previously spawned agent
SendMessage now auto-resumes stopped agents in the background instead of returning an error
3 Comments
Issue #35141 Verification
Title: [DOCS] Subagent continuation docs still show the old resume flow
Issue Date: 2026-03-17
Verification Date: 2026-03-18
Status: PARTIALLY RESOLVED
---
Issue Summary
This issue reports that subagent continuation documentation still describes the old
resumeparameter flow for the Agent tool, whereas Claude Code v2.1.77 removed theresumeparameter and replaced continuation withSendMessage({to: agentId}). The issue identifies three affected pages: the code.claude.com sub-agents page, the platform.claude.com Agent SDK subagents guide, and the platform.claude.com Agent SDK TypeScript reference.---
Verification Results
Claim 1: code.claude.com sub-agents page still teaches the old resume pattern
Status: RESOLVED
The sub-agents page at https://code.claude.com/docs/en/sub-agents (lines 663-679) has been updated. It now describes the
SendMessage-based flow:SendMessagetool with the agent's ID as thetofield to resume it."SendMessage, it auto-resumes in the background without requiring a newAgentinvocation."The page no longer mentions the Agent tool's
resumeparameter for subagent continuation.Verdict: The code.claude.com sub-agents page has been updated to reflect the new
SendMessageflow.Claim 2: platform.claude.com Agent SDK subagents guide still describes the old flow
Status: UNRESOLVED
The Agent SDK subagents guide at https://platform.claude.com/docs/en/agent-sdk/subagents (lines 377-478) still teaches the old session-resume pattern:
resume: sessionIdin the second query's options, and include the agent ID in your prompt"query()call starts a new session by default, so passresume: sessionIdto continue in the same session."options: { ... resume: sessionId }in the second query invocationoptions=ClaudeAgentOptions(... resume=session_id)in the second invocationNote: The
resumeparameter here refers to the SDK-levelquery()session resume, not the Agent tool'sresumeparameter. The SDKresumeparameter is for resuming an SDK session and is still a valid option. However, the guide's framing implies this is the way to continue a subagent, which may conflict with the newSendMessageapproach for agent-level continuation.Verdict: The SDK subagents guide still describes the session-resume pattern for subagent continuation. Whether this is outdated depends on whether session-level resume is still the recommended SDK-level approach (it remains in the SDK API), but the guide does not mention
SendMessageas an alternative.Claim 3: platform.claude.com TypeScript reference still shows
resume?: stringin AgentInputStatus: UNRESOLVED
The TypeScript reference at https://platform.claude.com/docs/en/agent-sdk/typescript (lines 1217-1229) still shows:
````
````
The
resume?: stringfield is still present in theAgentInputtype definition.Verdict: The Agent tool's
AgentInputtype still documents theresumeparameter, contradicting the v2.1.77 changelog which states "The Agent tool no longer accepts aresumeparameter."Claim 4: The SDK-level
ClaudeAgentInputstill has aresumefieldStatus: Informational
The SDK-level
ClaudeAgentInputat https://platform.claude.com/docs/en/agent-sdk/typescript (line 225) documentsresume | string | undefined | Session ID to resume. This is the SDK session-level resume (for resuming aquery()session), not the Agent tool's resume parameter. This is a distinct concept and is likely still valid.---
Current State
| Claim | Status |
|-------|--------|
| code.claude.com sub-agents page uses old resume flow | RESOLVED - updated to use
SendMessage|| platform.claude.com SDK subagents guide uses old flow | UNRESOLVED - still shows session-resume pattern |
| platform.claude.com TypeScript
AgentInputhasresume| UNRESOLVED - still showsresume?: string|---
Suggested Fix
resume?: stringfrom theAgentInputtype definition on the TypeScript reference page, or add a note that it has been removed as of v2.1.77.resume(still valid forquery()) and agent-level continuation (now done viaSendMessage). Add guidance or examples showing theSendMessageapproach for continuing a subagent within a session.---
References
SendMessageAgentInputtype still includesresume?: stringClaudeAgentInput.resume(distinct concept, likely still valid)resumeparameter"SendMessagenow auto-resumes stopped agents in the background"---
Conclusion & Recommendation
Primary Concern: The code.claude.com sub-agents page has been updated to reflect the
SendMessageflow, but the platform.claude.com SDK pages still document the oldresumeparameter onAgentInputand the old session-resume subagent continuation pattern.Resolution Status: PARTIALLY RESOLVED
Recommendation: KEEP OPEN
One of three affected pages has been fixed, but the platform.claude.com SDK TypeScript reference and subagents guide still need updates to reflect the removal of the Agent tool's
resumeparameter and the newSendMessagecontinuation flow.Issue #35141 Verification
Title: [DOCS] Subagent continuation docs still show the old resume flow
Issue Date: 2026-03-17
Verification Date: 2026-03-18
Status: RESOLVED
---
Issue Summary
This issue reports that the subagent continuation docs still described the old
resumeparameter flow for continuing a previously spawned agent, even though Claude Code v2.1.77 replaced it withSendMessage({to: agentId})and added auto-resume behavior for stopped agents.---
Verification Results
Claim 1: Docs still show the old
resumeparameter as the continuation mechanismStatus: RESOLVED
The sub-agents page now documents
SendMessageas the continuation mechanism under the "Resume subagents" section:The old
resumeparameter is no longer shown as the continuation mechanism.Verdict: The documentation now correctly shows
SendMessageas the supported way to continue a previously spawned agent.Claim 2: Auto-resume behavior for stopped agents is not documented
Status: RESOLVED
The sub-agents page now explicitly documents auto-resume:
Verdict: The auto-resume behavior is now clearly documented.
Claim 3: Session-level resume vs agent-level continuation distinction missing
Status: RESOLVED
The documentation now distinguishes between these concepts. Session persistence is documented separately:
While agent-level continuation uses
SendMessageas described above.Verdict: The distinction between session resume and agent continuation is now clear in the documentation.
---
Current State
| Claim | Status |
|-------|--------|
| Old
resumeparameter shown as continuation mechanism | RESOLVED || Auto-resume behavior undocumented | RESOLVED |
| Session vs agent continuation distinction missing | RESOLVED |
---
References
---
Conclusion & Recommendation
Primary Concern: Subagent continuation docs showed the deprecated
resumeparameter instead of the currentSendMessagemechanism.Resolution Status: RESOLVED
Recommendation: CLOSE
The sub-agents page now documents
SendMessageas the continuation mechanism, describes auto-resume behavior for stopped agents, and distinguishes session-level resume from agent-level continuation.This issue has been automatically locked since it was closed and has not had any activity for 7 days. If you're experiencing a similar issue, please file a new issue and reference this one if it's relevant.