upgrade_device
Update a device's firmware when the console has an upgrade available, causing a reboot to apply the new version.
Instructions
Upgrade a device's firmware to the latest available version.
Mutating operation: initiates a firmware upgrade that is persisted once applied; the device reboots during the update. Unlike restart_device (plain reboot) and provision_device (config re-push), this changes the running firmware. Only proceeds when an upgrade is available on the console.
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": "upgrade_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. |