codex_approve_plan
Approve a ready plan and queue its execution. Use after a plan_ready status is received, then poll for completion.
Instructions
Approve the latest ready plan and queue execution. Use this after codex_get_workflow_status reports plan_ready and a valid latestPlan. Next poll codex_get_workflow_status with the same workflowId.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| workflow_id | Yes | ||
| client_request_id | No | Stable retry idempotency key for workflow approval/execution. | |
| message | No | Implement the plan. | |
| output_schema | No | Optional JSON Schema passed to app-server outputSchema for the execution turn final assistant message. | |
| approval_policy | No | on-request | |
| sandbox | No | read-only | |
| timeout_seconds | No | ||
| first_message_max_chars | No |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| ok | Yes | ||
| error | No | ||
| agentGuidance | No | ||
| agentGuidanceText | No | ||
| recoveryAttemptState | No |