unifi_upgrade_device
Trigger firmware upgrade on a UniFi AP or switch by MAC address. Device reboots only if a newer firmware is available.
Instructions
Trigger a firmware upgrade on an AP or switch by its MAC address. Only upgrades if a newer firmware is available. Device will reboot after upgrade.
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": "unifi_upgrade_device"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| mac | Yes | ||
| site_id | No | default |