agent_interrupt
Stop a tmux-hosted agent mid-generation without terminating its session; sends Escape, optionally Ctrl-C, and preserves the conversation. Use agent_stop to end the session instead.
Instructions
Stop a tmux-hosted agent mid-generation without killing its session, by sending Escape (then Ctrl-C if asked). The conversation is preserved. Use agent_stop to end the session instead.
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": {
"session": "<session>"
},
"name": "agent_interrupt"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| hard | No | Also send Ctrl-C after Escape | |
| session | Yes |