kill_process_code
Terminate a process by PID or name, sending a configurable signal such as SIGTERM to stop it.
Instructions
Kill a process by PID or name
Tool call template
This tool declares no required parameters. Add optional parameters from the input schema as needed.
{
"id": 1,
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"arguments": {},
"name": "kill_process_code"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| pid | No | Process ID to kill | |
| name | No | Process name to kill (alternative to PID) | |
| signal | No | Signal to send (default: SIGTERM) | SIGTERM |