uci_add_list
Adds a value to an existing UCI list option on OpenWrt routers. Specify the UCI path and the value to append to the list.
Instructions
Add an item to a UCI list option.
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": {
"path": "<path>",
"value": "<value>"
},
"name": "uci_add_list"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| path | Yes | UCI path (e.g., 'network.lan.dns') | |
| value | Yes | Value to add to the list |