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.
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 |