Signal or Terminate Remote Background Job
ssh_bg_killTerminate a remote background job using its job ID, delivering a signal to the process group and optionally cleaning up its temp log directory.
Instructions
Deliver a signal to a remote background job's real process group (Unix) or validated process tree (Windows taskkill /T /F), and optionally clean up its remote temp log directory.
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": {
"job_id": "<job_id>"
},
"name": "ssh_bg_kill"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| job_id | Yes | Job ID returned by ssh_bg_start | |
| signal | No | Signal to send (default: TERM; Windows supports TERM/KILL) | TERM |
| cleanup | No | Remove remote temp control/log directory after signaling (default: true) |