undo
Revert a logged batch or restore operation in a Word .docx, by default the latest still in effect, returning paragraphs to prior state; refused if edited since.
Instructions
Take back a logged batch or restore (the latest one that is still in effect by default), returning its paragraphs to their prior state. Refused if they were edited since.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| doc | Yes | Path to the .docx. | |
| op_id | No | The op to undo (default: the latest in effect). | |
| expect | No | ||
| dry_run | No | Check and preview; write nothing. |