shell_bg_stop
Stop a background job with SIGTERM, then SIGKILL after 5 seconds if it does not terminate.
Instructions
Stop a running background job by sending SIGTERM (then SIGKILL after 5s if needed).
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": {
"jobId": "<jobId>"
},
"name": "shell_bg_stop"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| jobId | Yes | Job ID returned by shell_bg_start |