Interrupt SSH foreground command
ssh_interruptSend Ctrl-C to interrupt the foreground process in a remote SSH session and wait for shell recovery, keeping the session only after confirmation. Returns a status when idle.
Instructions
Send Ctrl-C to the current foreground process group and wait for the shell protocol to recover. The session is kept only when recovery is confirmed. Returns nothing_to_interrupt when idle.
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": {
"id": "<id>"
},
"name": "ssh_interrupt"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| id | Yes |