Resume subagent
send_messageResume a completed subagent by ID or name and deliver a prompt while preserving its full history; if it is mid-turn, queue the message for delivery when the current turn ends.
Instructions
Resume a completed agent by ID or name, preserving its full history. Blocks like spawn_agent. Codex resumes replay the whole thread with no prompt cache: the result includes a warning, and a resume after a long idle (default 30 minutes, codexResumeIdleSeconds in models.yaml) is refused unless allow_expensive_resume is true. timeout is the turn cap in seconds and is echoed as timeout_seconds. If the agent is still mid-turn, this queues the message (one slot) for delivery the moment the current turn ends, rather than failing — call list_agents/get_agent_events if you need to know when it lands.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| agent | Yes | Agent ID or name | |
| effort | No | Reasoning effort for this turn (Codex and Antigravity per-turn; Claude only when the session must cold-start). OpenCode and Cursor reject it. Defaults to the value used at spawn. | |
| prompt | Yes | ||
| timeout | No | Turn cap in seconds for this resume. Overrides the agent config. Echoed back as timeout_seconds. | |
| run_in_background | No | ||
| allow_expensive_resume | No | Resume a Codex agent even though it has been idle past the uncached-replay limit. |