end_process
Terminates a process by PID, sending SIGTERM then SIGKILL if it does not exit; optionally ends its process tree first. Refuses critical system and Anabolic processes.
Instructions
Ends a process (SIGTERM, then SIGKILL if it has not ended within two seconds), or with tree=true it and every process under it (those first). Unsaved work in it may be lost. The system's critical processes (init, the kernel, the session's compositor) and Anabolic are refused; a game or anti-cheat program needs force=true after the user agreed.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| pid | Yes | The process ID. | |
| tree | No | Also every process under it (they end first). | |
| force | No | True only after the user agreed to the risk this tool described. |