internet
Manage WAN connectivity on TP-Link routers: check status, configure IPv4/IPv6 protocols, renew or release leases, enable IPv6, set DNS privacy, clone MAC addresses, and control flow.
Instructions
Internet (WAN). action=status (connection, IPv4/IPv6, WAN port, dual-NAT, speed, DNS privacy) | protocols | get (family=4|6, proto?) | set (family, proto=dynamic|staticip|pppoe|l2tp|pptp|dslite|v6plus|ocn for IPv4; dynamic|static|pppoe|pass|tunnel for IPv6, settings={...}) CRITICAL | renew | release (family) | ipv6_enable | ipv6_disable | autodetect | dns_privacy (settings={dns_privacy: none|doh|dot, dns_mode: default|strict, server_list: [...]}) | dns_privacy_servers (kind=doh|dot) | dns_privacy_test (settings) | mac_clone (settings={mac_clone_type, mac_custom}) | flow_control (settings={rx_enable, tx_enable}).
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": "internet"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| kind | No | ||
| apply | No | false (default) = dry run: show the plan, diff, warnings and risk, send nothing. true = send it. | |
| proto | No | ||
| action | No | status | |
| family | No | ||
| reveal | No | Show secrets (passwords/keys) unmasked. | |
| router | No | Which router (see router_status 'routers'); default main. | main |
| settings | No | fields to change (see the matching router_catalog form) | |
| 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). |