codex_resume
Resume a prior task or session with concrete review feedback and rework instructions while preserving session memory, and run the next round asynchronously without polling.
Instructions
Resume an existing Codex task/session with concrete review feedback or rework instructions while preserving Codex's prior session memory. Model and reasoning effort inherit independently from the previous round when known, unless explicitly overridden. Applies the configured Codex Castor permission policy (full access by default). Runs asynchronously as a background tool; do NOT poll after calling.
Tool call template
This tool declares no required parameters. Add optional parameters from the input schema as needed.
{
"id": 1,
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"arguments": {},
"name": "codex_resume"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| model | No | Override the Codex model for this round. Omit to inherit the previous round's recorded model when available, or use the CLI default otherwise. | |
| task_id | No | Task ID returned by an earlier codex_dispatch call (automatically resolves session_id and workdir). | |
| workdir | No | Working directory (only needed if task_id is omitted). | |
| feedback | No | Concrete review feedback, failing test output, and exact fixes required. Provide either feedback or feedback_file. | |
| fast_mode | No | Optional override to enable or disable Codex Fast mode (service_tier='fast') for this round. Omit to use the Codex Castor Fast mode setting. | |
| session_id | No | Explicit Codex session UUID (only needed if task_id is omitted). | |
| feedback_file | No | Path to a Markdown feedback file. Provide either feedback or feedback_file. | |
| permission_mode | No | Optional override for Codex permission/approval policy for this round ('full_access', 'approve_for_me', 'workspace_write', 'read_only'). Omit to use the Codex Castor permission setting. | |
| reasoning_effort | No | Override the Codex reasoning effort for this round. Omit to inherit the previous round's recorded effort when available, or use the CLI default otherwise. |