reject_ai_edits
Selectively reject tracked changes by revision ID or author in memory, restoring pre-edit state while leaving other revisions untouched. Call save to persist changes.
Instructions
Selectively reject tracked changes by revision id or author in the in-memory session (restoring their pre-edit state), leaving all other revisions byte-untouched. This does not write file_path; call save to persist the mutation. Symmetric to accept_ai_edits: provide revision_ids or author, sweeps document.xml and supported side-story parts, and hard-errors on an ambiguous overlap (code AMBIGUOUS_REVISION_OVERLAP with a structured overlaps list) unless normalize_first is set.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| author | No | Reject every revision authored by this w:author. Convenience alternative to revision_ids. | |
| file_path | Yes | Path to the DOCX or ODT file. | |
| revision_ids | No | w:id values of the revisions to reject. Mutually preferred over author. | |
| normalize_first | No | Attempt best-effort resolution on an ambiguous (overlapping) revision graph instead of hard-erroring. No byte-identical guarantee. Default: false. |