cancel_compaction
Cancel a pending compaction or continuation dispatch for a specific thread job before it is sent. Verify with compaction_status afterward to confirm the cancellation.
Instructions
Cancel pending compaction or continuation dispatches only for the exact job returned by schedule_compaction or compaction_status. Already sent requests cannot be undone. Use compaction_status for observation and inspect it after cancellation.
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": {
"threadId": "<threadId>",
"jobId": "<jobId>"
},
"name": "cancel_compaction"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| jobId | Yes | Exact jobId returned by schedule_compaction or compaction_status for this thread. Never infer it. | |
| threadId | Yes | Current CODEX_THREAD_ID; obtain from the shell environment. Never guess or select a different thread. |