extract_revisions
Extract tracked changes from DOCX/ODT files as structured JSON, including before/after paragraph text, revision details, comments, and row changes. Read-only, with pagination.
Instructions
Extract tracked changes as structured JSON with before/after text per paragraph, revision details, and comments. Table rows inserted or deleted as a whole, and row property changes (w:trPr > w:ins / w:del / w:trPrChange), are reported as records with scope "row", keyed by the row's first paragraph, whose revisions are ROW_INSERTION / ROW_DELETION / FORMAT_CHANGE entries carrying the revision id, author and date. Supports pagination via offset and limit. Read-only - does not modify the document.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| limit | No | Max entries per page (1-500). Default: 50. | |
| offset | No | 0-based offset for pagination. Default: 0. | |
| file_path | Yes | Path to the DOCX or ODT file. |