routing
Manage static routes on TP-Link routers: list the live route table, then add, update, or remove entries with dry-run planning and confirmation.
Instructions
Static routes: action=list | system (the live routing table) | add (route={name, target, netmask, gateway, interface LAN|WAN, enable}) | update (name, route={...}) | remove (name).
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": "routing"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| name | No | ||
| apply | No | false (default) = dry run: show the plan, diff, warnings and risk, send nothing. true = send it. | |
| route | No | ||
| action | No | list | |
| reveal | No | Show secrets (passwords/keys) unmasked. | |
| router | No | Which router (see router_status 'routers'); default main. | main |
| 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). |