codex_execute_plan
Submits an approved plan for implementation with configurable timeout, approval policy, and sandbox settings.
Instructions
Compatibility layer low-level workflow write tool: submit the latest approved Plan Mode plan for implementation by sending 'Implement the plan.' in default collaboration mode. For durable long-running tasks and client-timeout resilience, prefer codex_submit_task(operation_type='execute_plan').
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 |