end_process
Terminates a process by PID, escalating from SIGTERM to SIGKILL; optionally ends the whole process tree first, with force reserved for user-approved risks.
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.
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": "end_process"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| pid | Yes | The process ID (list_processes gives it). | |
| tree | No | Also every process under it (they end first). | |
| force | No | True only after the user agreed to the risk this tool described. |