codex_adopt_workflow_plan
Adopt a newer valid plan candidate into a workflow when status reports an adoptable plan. Use after polling workflow status.
Instructions
Adopt a valid newer Plan Mode candidate already present in the workflow thread. Use this only when status or diagnostics reports an adoptable plan. Next poll codex_get_workflow_status.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| workflow_id | Yes | ||
| candidate_turn_id | Yes | ||
| candidate_plan_hash | Yes | ||
| client_request_id | No | ||
| adoption_note | No | ||
| message_max_chars | No |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| ok | Yes | ||
| error | No | ||
| agentGuidance | No | ||
| agentGuidanceText | No | ||
| recoveryAttemptState | No |