codex_execute_plan
Execute approved plans using durable workflow execution. Configurable timeout, sandbox, and approval policy ensure reliable automation.
Instructions
Compatibility write for executing an approved plan. Prefer codex_approve_plan or codex_submit_task with operation_type='execute_plan'. In client mode this delegates to durable workflow execution.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| workflow_id | No | ||
| chat_id | No | ||
| project_id | No | ||
| client_request_id | No | ||
| message | No | Implement the plan. | |
| output_schema | No | Optional JSON Schema passed to app-server outputSchema for the execution turn final assistant message. | |
| force | No | ||
| timeout_seconds | No | ||
| first_message_timeout_seconds | No | Deprecated and ignored. Plan execution returns after turn/start; poll codex_get_workflow_status or codex_get_turn_status. | |
| first_message_max_chars | No | ||
| approval_policy | No | on-request | |
| sandbox | No | read-only |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| ok | Yes | ||
| error | No | ||
| agentGuidance | No | ||
| agentGuidanceText | No | ||
| recoveryAttemptState | No |