maintenance
Perform TP-Link router upkeep: back up/restore configs, check or update firmware, run ping/traceroute, change operation mode, schedule reboots, with dry-run safety.
Instructions
Maintenance. action=info | backup (download the config to the backup folder) | backups (list) | restore (file = a backup name or path; CRITICAL, reboots) | firmware_check (router + mesh satellites, online) | firmware_update_online (CRITICAL, reboots) | firmware_status | firmware_upload (file = image path; CRITICAL) | satellite_firmware_update (mac) | ping / traceroute (target, count, size, max_hops, timeout) | operation_mode (mode=router|ap|repeater|client|multissid; none = read; CRITICAL; keep_access) | reboot_schedule (settings). Factory reset is deliberately only reachable via router_raw_write (forbidden tier).
Tool call template
This tool declares no required parameters. Add optional parameters from the input schema as needed.
{
"id": 1,
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"arguments": {},
"name": "maintenance"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| mac | No | ||
| file | No | ||
| mode | No | ||
| size | No | ||
| apply | No | false (default) = dry run: show the plan, diff, warnings and risk, send nothing. true = send it. | |
| count | No | ||
| action | No | info | |
| reveal | No | Show secrets (passwords/keys) unmasked. | |
| router | No | Which router (see router_status 'routers'); default main. | main |
| target | No | ||
| timeout | No | ||
| max_hops | No | ||
| settings | No | fields to change (see the matching router_catalog form) | |
| keep_access | No | operation_mode to router: turn remote management on first so this server can reach the device on its WAN side (exposes the admin page there - the internet if the WAN is your ISP) | |
| confirm_token | No | Required with apply=true for CRITICAL changes: the token from the dry run (valid 5 minutes, bound to the exact plan and current router state). |