restart_device
Reboot a UniFi device by MAC address to power-cycle it and resolve connectivity or performance issues. Specify the device MAC; the console persists the command and the device reconnects after a brief offline period.
Instructions
Restart (reboot) a UniFi device by MAC address.
Mutating operation: sends a reboot command that is persisted on the console; the device goes offline briefly and reconnects. Unlike provision_device (re-push config without reboot) and upgrade_device (firmware update), this power-cycles the device. No other config change is needed.
Args: mac: Device MAC address (case-insensitive; aa:bb:cc:dd:ee:ff or aabbccddeeff). site: Site to operate on. Defaults to "default". device: Optional device name to target a specific console; omit for default.
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": {
"mac": "<mac>"
},
"name": "restart_device"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| mac | Yes | Device MAC address (case-insensitive; aa:bb:cc:dd:ee:ff or aabbccddeeff). | |
| site | No | Site to operate on. Defaults to "default". | default |
| device | No | Optional device name to target a specific console; omit for default. |