uci_revert
Revert pending UCI changes on OpenWrt by specifying a configuration path (e.g., 'network' or 'network.lan'). Restores the last committed state, discarding uncommitted modifications.
Instructions
Revert pending UCI changes.
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>"
},
"name": "uci_revert"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| path | Yes | UCI path to revert (e.g., 'network' or 'network.lan') |