set_lan_settings
Change the router's LAN IP, subnet mask, and DHCP pool with a preview of stranded reservations, forwards, routes, and DMZ entries, then confirm the two-phase update.
Instructions
Change the router's LAN address, mask and DHCP pool (needs features.allow_lan_change).
The preview lists reservations, forwards, routes and DMZ entries the new subnet would strand. If the address changes the router moves and this session ends: the result gives the new URL; the MCP server must be restarted with FIOS_ROUTER_URL pointing there. Two-phase.
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": {
"ip": "<ip>"
},
"name": "set_lan_settings"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| ip | Yes | ||
| mask | No | 255.255.255.0 | |
| confirm | No | ||
| dhcp_end | No | ||
| dhcp_start | No | ||
| dhcp_enabled | No | ||
| expected_etag | No | ||
| lease_time_min | No |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
No arguments | |||