stop_vm
Stop a VM by attempting graceful shutdown first, then forcing shutdown after timeout.
Instructions
Stop a virtual machine. Attempts graceful shutdown first, forces after timeout.
RAM/CPU changes require full stop+start from TrueNAS — in-guest reboot does NOT re-allocate resources.
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_id": "<vm_id>"
},
"name": "stop_vm"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| vm_id | Yes | ||
| force | No |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| result | Yes |