uci_commit
Commit pending UCI configuration changes to make them persistent across reboots. Optionally restart a specified service to apply changes immediately.
Instructions
Commit pending UCI changes to make them persistent. Optionally restart the affected service.
Tool call template
This tool declares no required parameters. Add optional parameters from the input schema as needed.
{
"id": 1,
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"arguments": {},
"name": "uci_commit"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| config | No | Config name to commit (omit to commit all pending changes) | |
| restart_service | No | Service name to restart after commit (e.g., 'network', 'firewall') |