Interrupt Codex Agent
agent_interruptInterrupt an active worker's turn to stop ongoing work or apply corrections. Idle workers remain unaffected.
Instructions
Interrupt a worker's active turn. Calling this on an idle worker is a no-op.
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": {
"agentId": "<agentId>"
},
"name": "agent_interrupt"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| agentId | Yes |