history_purge
Remove Word document undo history—all entries or those before a date—to protect privacy while leaving a tombstone. Run dry_run first, then confirm.
Instructions
Remove undo history (all, or before a date) for privacy, leaving a tombstone. Run with dry_run first, then repeat with its confirm.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| all | No | Remove the whole log. | |
| doc | No | Path to the .docx. | |
| store | No | A store folder (see history.orphans) to read instead of the document's own. | |
| before | No | Remove entries older than this ISO date or time (UTC). | |
| confirm | No | From the dry run. | |
| dry_run | No | List what would go; returns confirm. |