shutdown_guest
Request a graceful shutdown of a VM or container by asking the guest OS to power off, with adjustable timeout and force-stop fallback for unresponsive guests.
Instructions
Gracefully shut down a VM or container, asking the guest OS to power off.
Args: vmid: Guest to shut down. timeout: Seconds to wait for the guest before giving up. force_stop: Hard-stop the guest if the graceful shutdown times out.
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": {
"vmid": "<vmid>"
},
"name": "shutdown_guest"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| vmid | Yes | ||
| timeout | No | ||
| force_stop | No |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
No arguments | |||