codex_resume
Continue a previous Codex session synchronously by session ID or 'last', sending follow-up instructions while preserving full conversation context.
Instructions
Continue a previous Codex session synchronously by session_id (or 'last' for the most recent session) with follow-up instructions, preserving Codex's full conversation 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 | Working directory for the resumed session. | |
| model | No | Optional model override for Codex. Omit to use the model selected in the Codex Bridge UI panel or ~/.codex/config.toml. | |
| config | No | Optional Codex config overrides in 'key=value' TOML format (passed as -c). | |
| images | No | Optional image file paths to attach to the prompt. | |
| prompt | Yes | Follow-up instructions to send to the resumed Codex session. | |
| goal_id | No | Optional persistent goal_id to associate this Codex execution with (auto-links session_id and iteration count). | |
| session_id | Yes | Session UUID returned by a prior codex_run/codex_start, or 'last' to resume the most recent session. | |
| milestone_id | No | Optional milestone_id (e.g. 'm1') inside goal_id that this execution is working on. | |
| timeout_seconds | No | Maximum seconds to wait before aborting (default 600). | |
| reasoning_effort | No | Optional reasoning effort override for Codex. Omit to use the level selected in the Codex Bridge UI panel or Codex default. | |
| skip_git_repo_check | No | Allow Codex to run outside a Git repository (defaults to UI panel setting / true). |