session.resume
Reopen the project's most recent session to mark it active, attach the calling agent, and return summary-depth context for agent handoffs or completed-session reopenings.
Instructions
Reopen the project's most recent session: mark it active, attach the calling agent and log a session.resumed event. Returns {session, context} with the summary-depth context. Use it when taking over from another agent or reopening a completed session; an already active session only needs context.get. Each call logs another session.resumed event.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| agent | No | Name of the agent taking over, e.g. claude or codex; defaults to AGENT_SESSION_AGENT, else "mcp" |