vm_kill
Terminate a process inside a UTM guest VM by PID, optionally killing its child processes first, to stop stuck or unwanted guest workloads.
Instructions
Kills a guest process (tree=True: its children too, children first). 404 if it is gone; the helper refuses pid 0 and 4, itself and its supervisor. Windows guests, needs the helper.
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": {
"vm": "<vm>",
"pid": "<pid>"
},
"name": "vm_kill"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| vm | Yes | ||
| pid | Yes | ||
| tree | No |