flatten_document
Accepts all tracked changes and removes formatting revisions from Word documents, outputting clean text without revision markup.
Instructions
Accept all tracked changes and remove all revision markup.
Accepts every w:ins / w:del and strips all w:rPrChange and w:pPrChange elements, leaving plain text with no tracked-change metadata.
Returns: {"changes_accepted": int, "formatting_changes_removed": int}
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
No arguments | |||
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| result | Yes |