power_cycle_port
Temporarily disables and re-enables PoE power on a specified UniFi device port to restart connected PoE-powered devices such as access points or cameras.
Instructions
Power cycle a specific port on a device.
This will temporarily disable PoE power on the port and then re-enable it. Useful for restarting PoE-powered devices like access points or cameras.
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": {
"site_id": "<site_id>",
"device_id": "<device_id>",
"port_idx": "<port_idx>"
},
"name": "power_cycle_port"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| site_id | Yes | Site UUID | |
| port_idx | Yes | Port index (1-based) | |
| device_id | Yes | Device UUID |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| result | Yes |