kill_process
Terminate a running process by its PID using graceful SIGTERM or forceful SIGKILL when needed. Resolve unresponsive or unwanted processes quickly.
Instructions
[DISABLED - set LNMCP_ENABLE_KILL=1 to enable] Terminate or kill a process by PID
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 kill | |
| force | No | Force kill (SIGKILL) instead of graceful termination (SIGTERM) |