codex_cancel
Interrupts the current Codex turn while keeping existing file edits, then lets you check the conversation state until cancellation completes.
Instructions
Request interruption of the current Codex turn. File edits already made are retained. Query state until cancelled/completed.
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": {
"conversation_id": "<conversation_id>"
},
"name": "codex_cancel"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| conversation_id | Yes | Bridge conversation_id returned by codex_start/resume/list |