codex_get_worker_command_status
Poll the status of a worker command from client-mode control actions, such as archive or restart. Optionally retrieve the command result.
Instructions
Poll a worker command created by a client-mode control action. Use this for archive, unarchive, compaction, restart, runtime refresh, and delegated lifecycle commands. Keep include_result=false unless the result is needed.
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": {
"command_id": "<command_id>"
},
"name": "codex_get_worker_command_status"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| command_id | Yes | ||
| include_result | No | ||
| max_result_chars | No |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| ok | Yes | ||
| error | No | ||
| agentGuidance | No | ||
| agentGuidanceText | No | ||
| recoveryAttemptState | No |