probe_compaction
Verify extension-owned Codex VS Code chat preconditions before compacting accumulated conversation context. Confirms owner/thread, version, layout, schema, and IPC access to ensure a valid handoff.
Instructions
Read-only preflight for an extension-owned Codex VS Code chat on Windows, macOS, or Linux. Run after compaction_status and before schedule_compaction to verify the exact owner/thread, extension version, runtime layout, public schema, and IPC access. It does not compact or prove live compaction compatibility; layout_compatible means only that the required layout was found. Standalone Codex CLI sessions are unsupported because they have no VS Code extension owner. Use compaction_status instead to inspect an existing job.
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>"
},
"name": "probe_compaction"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| threadId | Yes | Current CODEX_THREAD_ID; obtain from the shell environment. Never guess or select a different thread. |