Prune snapshots
nuvio_prune_snapshotsPrune outdated snapshots based on age, count, or total size, previewing removals by default before any destructive deletion.
Instructions
Delete old snapshot files according to retention limits (age, count, total size). Local-only; defaults to dry_run. Destructive local operation: previews unless confirm=true; dry_run=true always previews.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| confirm | No | Required to actually delete. Without it nothing is removed. | |
| dry_run | No | Force a preview. Without `confirm` the operation always previews, even if dry_run is false. | |
| keep_last | No | Always keep the newest N snapshots. | |
| max_total_bytes | No | Keep total snapshot bytes under this. | |
| older_than_days | No | Delete snapshots older than N days (0 disables). |