codex_get_thread_compaction_status
Retrieve the current status or guidance for a thread compaction action using the action ID from the start compaction call.
Instructions
Poll a thread compaction action. Use this with actionId from codex_start_thread_compaction. It is passive and should return a bounded status or guidance.
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": {
"action_id": "<action_id>"
},
"name": "codex_get_thread_compaction_status"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| action_id | Yes | ||
| include_events | No |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| ok | Yes | ||
| error | No | ||
| agentGuidance | No | ||
| agentGuidanceText | No | ||
| recoveryAttemptState | No |