Kill Process
kill_processSend a signal to a process by PID to terminate or control it. Uses SIGTERM by default for graceful termination; use SIGKILL to force termination.
Instructions
Send a signal to a process by PID. Default signal is SIGTERM (graceful). Use SIGKILL to force. Runs via sudo.
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": {
"pid": "<pid>"
},
"name": "kill_process"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| pid | Yes | Process ID to signal | |
| signal | No | Signal name (SIGTERM, SIGKILL, SIGHUP, etc.) | SIGTERM |