Manage Upgrade
manage_upgradeCheck for RouterOS updates or install them with a dry-run option. Install triggers an automatic router reboot after applying the update.
Instructions
Trigger a RouterOS package update check or install. 'check' queries the update server for new packages. 'install' downloads and applies the update — the router will reboot automatically. Supports dry-run.
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": {
"action": "<action>"
},
"name": "manage_upgrade"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| action | Yes | check — trigger a check for available updates; install — download and install the latest update (triggers reboot) | |
| dryRun | No | Preview the action without executing | |
| routerId | No | Router ID; omit to use the default router. | |
| confirmationToken | No | Token from a prior APPROVAL_REQUIRED response. Re-submit the identical call with this token to confirm the destructive action. |