router_change
Modify TP-Link router or modem settings via set, add, or delete actions. Preview proposed changes first, then apply them only after confirmation.
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 | ||
| device | No | Name of a device from devices.toml (see the 'devices' command); omit for the default device. | |
| object | Yes | ||
| confirm | No | ||
| attributes | No | ||
| parent_stack | No |