codex_get_workflow_status
Poll workflow state from storage to check progress in Plan Mode, execution, or review. Query by workflow ID to get status, recent messages, and recommended next action.
Instructions
Poll workflow state from storage by default. Use this for Plan Mode, execution, and review workflows. Follow nextRecommendedAction and do not create replacement work unless guidance tells you to.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| workflow_id | Yes | ||
| last_messages | No | ||
| message_max_chars | No | ||
| include_events | No | ||
| refresh_live | No | Reserved explicit live refresh flag. Default polling is passive. | |
| refresh_live_goal | No | Best-effort live thread/goal sync. Defaults to false so frequent workflow polling stays passive and cannot create app-server requests. |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| ok | Yes | ||
| error | No | ||
| agentGuidance | No | ||
| agentGuidanceText | No | ||
| recoveryAttemptState | No |