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.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| vmid | Yes | ||
| timeout | No | ||
| force_stop | No |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
No arguments | |||