codex_get_operation_status
Retrieve the current status and progress of a durable operation. Monitor tasks after submission and follow the next recommended actions.
Instructions
Poll a durable operation from storage. Use this after codex_submit_task and follow nextRecommendedAction, pollRecommended, queueState, and agentGuidance. Never create a new retry while an existing operation is active.
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": {
"operation_id": "<operation_id>"
},
"name": "codex_get_operation_status"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| operation_id | Yes | ||
| last_messages | No | ||
| message_max_chars | No | ||
| progress_events | No | ||
| progress_max_chars | No | ||
| include_events | No |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| ok | Yes | ||
| error | No | ||
| agentGuidance | No | ||
| agentGuidanceText | No | ||
| recoveryAttemptState | No |