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.
Tool call template
Replace each placeholder with a value matching the input schema. Only required parameters are included; add optional parameters as needed.
{
"id": 1,
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"arguments": {
"workflow_id": "<workflow_id>"
},
"name": "codex_get_workflow_status"
}
}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 |