Revert pending changes
omv_revert_changesDiscard all pending OpenMediaVault configuration changes and report which modules and staged edits were dropped; use it to undo staged changes before applying them.
Instructions
Drop every pending configuration change on the NAS (OMV's Revert button) and say what was dropped. Use it when asked "undo what you staged", "discard the pending changes", or "cancel that share"; to keep them, omv_apply_changes. dropped_modules are the modules that were pending; dropped_staged the changes this server had staged. Changes made elsewhere are dropped too. Directories that creating a shared folder made on disk stay there: reverting removes the folder from the configuration, not the directory. Refuses when nothing is pending. Needs OMV_ALLOW_WRITES=1.
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": "omv_revert_changes"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
No arguments | |||
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| detail | Yes | ||
| outcome | Yes | ||
| pending | Yes | ||
| dropped_staged | Yes | ||
| dropped_modules | Yes |