server_power
Reboots or powers off a host over SSH after showing a preview, with confirmation before execution. The SSH link drops during the action, which is normal.
Instructions
Reboot or power off the host. action: reboot or poweroff. Always shows a preview first.
The SSH link drops when it runs. That is normal.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| host | No | ||
| action | Yes | ||
| confirm | No |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| result | Yes |