opn_config_revert
Restore configuration from a history entry to revert unintended changes. Requires confirm=true; other services continue with old config until reconfigured.
Instructions
Restore config.xml from a history entry (id from opn_config_history). Services other than the firewall keep running with their old config until reconfigured. Needs confirm=true.
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": {
"backup": "<backup>"
},
"name": "opn_config_revert"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| backup | Yes | ||
| confirm | No | ||
| reload_firewall | No |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
No arguments | |||