codex-reply
Continue a Codex conversation across MCP/Claude restarts by passing the saved threadId, preserving context for follow-up prompts.
Instructions
Continue a Codex conversation across MCP/Claude restarts. Pass threadId from codex. Legacy conversationId is also accepted. Only one turn may run per conversation.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| cwd | No | Absolute project directory. For replies, defaults to the original directory. | |
| model | No | Optional model; otherwise use your existing Codex configuration. | |
| config | No | Per-call Codex overrides; does not edit global configuration. | |
| images | No | Existing local image paths. | |
| prompt | Yes | Task or follow-up prompt. May include code and newlines. | |
| sandbox | No | Default read-only. Use workspace-write for authorized edits. danger-full-access disables the sandbox and must be explicitly requested. | |
| add_dirs | No | Additional writable directories when sandbox=workspace-write. | |
| threadId | No | ||
| conversationId | No | ||
| approval-policy | No | Non-interactive execution cannot show approval prompts; restricted operations fail instead of hanging. | |
| timeout_seconds | No | Default 3600 seconds. Cancellation stops the running process group. | |
| reasoning_effort | No |