codex_resume
Resume an interrupted Codex CLI session and send a new prompt to continue the task without restarting.
Instructions
Resume a previous Codex session non-interactively (codex exec resume) and optionally send a new prompt.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| all | No | Search across all directories, not just the current one. | |
| cwd | No | Working directory for the codex process. | |
| env | No | Additional environment variables for codex. | |
| model | No | Model the agent should use. May be forced by the server's model-override environment variable. | |
| prompt | No | Prompt to send after resuming the session. | |
| ephemeral | No | Skip persisting session files to disk. Defaults to true. | |
| extraArgs | No | Additional raw codex CLI arguments appended to the command. | |
| sessionId | No | Conversation/session id (UUID) or thread name. Omit to resume the most recent session. | |
| timeoutMs | No | Process timeout in milliseconds. | |
| ignoreRules | No | Do not load user or project execpolicy .rules files. | |
| outputSchema | No | Path to a JSON Schema file describing the expected final response shape. | |
| skipGitRepoCheck | No | Allow running outside a Git repository. Defaults to true. | |
| outputLastMessage | No | Path to a file where the final agent message should be written. | |
| dangerouslyBypassApprovalsAndSandbox | No | Skip all confirmation prompts and sandboxing. Only use in an already-isolated environment. |