router_read
Reads TP-Link router or modem settings objects, either all instances or a specific stack, returning masked passwords and keys and stack identifiers needed for approved changes.
Instructions
Read a settings object: every instance, or the one at stack (e.g. "1,2"). Each row carries its _stack, which router_change needs. Passwords and keys are masked unless TPLINK_SHOW_SECRETS=1.
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": {
"object": "<object>"
},
"name": "router_read"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| stack | No | ||
| device | No | Name of a device from devices.toml (see the 'devices' command); omit for the default device. | |
| object | Yes | ||
| attributes | No |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| result | Yes |