docxredline
v0.1.0Read, redline, and finalize .docx files with native Word tracked changes.
These tools were reported by the server itself during our smoke test (tools/list), not copied from the README.
read_docx
Read a .docx file as clean Markdown-like text (CriticMarkup view of existing tracked changes), optionally filtered.
| Parameter | Type | Description |
|---|---|---|
path * | string | Path to the .docx file. |
clean_view | boolean | Read the final clean version (accept all tracked changes). |
page | number | Synthetic page number to return (paragraphs are grouped into pages). |
search_query | string | Only return paragraphs containing this text. |
process_document_batch
Apply a batch of edits to a .docx as native Word tracked changes (redlines), or accept/reject/reply to existing tracked changes and comments by ID.
| Parameter | Type | Description |
|---|---|---|
changes * | array | The list of changes to apply atomically. |
path * | string | |
author | string | Author name recorded on the tracked changes. |
output_path | string | Where to write the edited .docx. Defaults to <name>.redlined.docx beside the input. |
finalize_document
Pre-send scrub: strip author metadata and internal tracking IDs from a .docx, optionally lock it, and prepare it for distribution.
| Parameter | Type | Description |
|---|---|---|
path * | string | |
output_path | string | |
protection_mode | string | e.g. read_only to lock the document. |