kill_process
Terminate a running process by PID or process name, optionally forcing termination, to stop hung tasks or free resources such as locked serial ports.
Instructions
Stop/terminate a running process by PID or by process name.
Args: pid: Specific Process ID to kill. process_name: Name of the process to kill (if pid is not specified). force: Use SIGKILL (force kill) instead of graceful SIGTERM.
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"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| pid | No | ||
| force | No | ||
| process_name | No |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
No arguments | |||