Interrupt Codex turn
codex_interruptCancel an active Codex turn by providing its thread ID, optionally specifying the turn ID to target the exact operation.
Instructions
Request cancellation of an active Codex turn.
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": "codex_interrupt"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| turnId | No | Optional turn id; defaults to the active turn known by this bridge. | |
| threadId | Yes | Codex thread id. |