Interrupt a Codex turn
codex_interruptStops a running turn on a Codex thread so you can halt active work and preserve the thread for follow-up.
Instructions
Stop the running turn on a Codex thread.
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": {
"thread_id": "<thread_id>"
},
"name": "codex_interrupt"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| thread_id | Yes |