Execute device action
unifi_net_device_actionTriggers a UniFi network device action such as restart by device ID, with optional dry-run preview or YES confirmation before applying.
Instructions
Generic device action. Uses the executeadopteddeviceaction endpoint. Vendor value: RESTART (lowercase "restart" is mapped).
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| action | Yes | e.g. "RESTART" | |
| confirm | No | "YES" to apply; without it the tool returns a preview. | |
| dry_run | No | true: preview only, nothing is sent. | |
| deviceId | Yes |