ssh_job_stop
Stops a background SSH job by terminating its whole process group, escalating to SIGKILL after 5 seconds; optionally deletes the job's log directory, including for finished jobs.
Instructions
Stop a background job (SIGTERM, then SIGKILL after 5s, whole process group). With remove=true also delete its log directory (works for finished jobs too).
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": {
"target": "<target>",
"job_id": "<job_id>"
},
"name": "ssh_job_stop"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| job_id | Yes | ||
| remove | No | ||
| target | Yes |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| result | Yes |