codex_resume
Continue an existing Codex CLI session with follow-up instructions or fixes while preserving full prior context; specify the session ID or use 'last'.
Instructions
Continue an existing Codex CLI session (codex exec resume) with follow-up instructions or fixes, keeping full prior context.
Tool call template
Replace each placeholder with a value matching the input schema. Only required parameters are included; add optional parameters as needed.
{
"id": 1,
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"arguments": {
"session_id": "<session_id>",
"prompt": "<prompt>"
},
"name": "codex_resume"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| cwd | No | Optional target working directory override. | |
| group | No | Optional task group name override (inherits original group by default). | |
| model | No | Optional GPT model slug override. | |
| preset | No | Optional model + reasoning preset. | |
| prompt | Yes | Follow-up prompt or revision instructions. | |
| task_name | No | Optional child task label override. | |
| session_id | Yes | Session UUID returned by codex_run, or "last" for the most recent session. | |
| wait_seconds | No | Seconds to wait before returning running status with job_id (0..600). | |
| approval_policy | No | Approval policy override for the resumed turn. | never |
| reasoning_effort | No | Optional reasoning effort override. | |
| skip_git_repo_check | No | Allow running outside a Git repository. |