router_change
Change router or modem web UI settings by setting, adding, or deleting objects, with a preview before confirming changes.
Instructions
Change any setting the web UI can change. action: "set" (stack = the row's _stack; omit for single objects), "add" (parent_stack = the parent row's _stack, e.g. "1" for LAN_DHCP_STATIC_ADDR under LAN 1) or "delete". Read the object first so attribute names match. Without confirm=true it only shows what it would do.
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>",
"object": "<object>"
},
"name": "router_change"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| stack | No | ||
| action | Yes | ||
| object | Yes | ||
| confirm | No | ||
| attributes | No | ||
| parent_stack | No |