Send new Codex turn
codex_sendResume an authorized Codex thread and start a new turn when no turn is active. Provide the thread ID and a new instruction to continue the conversation.
Instructions
Resume an authorized Codex thread when necessary and start a new turn. Use only when no turn is active; use codex_steer for an in-flight turn.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| cwd | No | Optional allowed repository directory override. | |
| model | No | Optional Codex model id. Omit to use the configured default. | |
| effort | No | Optional reasoning effort accepted by the selected model. | |
| prompt | Yes | New user instruction. | |
| threadId | Yes | Codex thread id. | |
| sandboxMode | No | read-only prevents edits; workspace-write permits writes only in the repository. Legacy camelCase aliases remain accepted. | workspace-write |
| networkAccess | No | Requires CODEX_ALLOW_NETWORK=1 on the MCP server. | |
| approvalPolicy | No | Controls when Codex asks before command execution or file changes. | on-request |