unifi_restart_device
Restarts an adopted UniFi device using the official restart action; previews by default and requires confirm:true when the target is the gateway or affects a protected network.
Instructions
Restart an adopted device (official RESTART). Needs confirm: true when the device is the gateway, or carries a protected network (pi-cluster by default) directly or further down its uplink chain: that restart cuts unifi-mcp off. Without confirm it previews. An ambiguous name returns the candidates.
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": {
"device": "<device>"
},
"name": "unifi_restart_device"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| site | No | Site name, id or reference; optional while the console has a single site | |
| device | Yes | Device name, MAC, IP or id | |
| confirm | No | Must be true to carry out a guarded change; without it the tool only previews it |