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.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| pid | No | ||
| force | No | ||
| process_name | No |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
No arguments | |||