Interrupt Command By Id
interrupt_command_by_idStops a running asynchronous SSH command by sending Ctrl+C using its command ID, allowing long-running tasks to be interrupted when no longer needed.
Instructions
Interrupt a running async command by sending Ctrl+C.
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": {
"command_id": "<command_id>"
},
"name": "interrupt_command_by_id"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| command_id | Yes | The command ID returned by execute_command_async |