device_action
Restart an adopted UniFi device to resolve connectivity issues. Reboot briefly disconnects all clients.
Instructions
Execute an action on an adopted device. Currently supports RESTART (reboot). WARNING: restart will briefly disconnect all clients on that device.
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": {
"deviceId": "<deviceId>",
"action": "<action>"
},
"name": "device_action"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| deviceId | Yes | Device ID (UUID from list_devices) | |
| action | Yes | Device action. RESTART reboots the device. |