accept_change
Accept a tracked change in a Word document, permanently applying insertions or removing deletions.
Instructions
Accept a tracked change (apply the change permanently).
For insertions: The inserted text becomes part of the document. For deletions: The deleted text is permanently removed.
Args: path: Path to the .docx file change_id: ID of the track change to accept output_path: Save to new file; if omitted, creates timestamped backup and overwrites original
Returns: Dictionary containing: - success: True if successful - change_id: ID of the accepted change - change_type: "insertion" or "deletion" - output_path: Path where the file was saved
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| path | Yes | ||
| change_id | Yes | ||
| output_path | No |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
No arguments | |||