read_document
Extract text, comments, and track changes from Word documents to review revisions and feedback.
Instructions
Read a Word document and extract content, comments, and track changes.
Args: path: Path to the .docx file include_text: Include full document text (default: True) include_comments: Include comments with anchors (default: True) include_track_changes: Include insertions/deletions (default: True)
Returns: Dictionary containing: - metadata: Document metadata (path, author, created, modified, word_count) - paragraphs: List of paragraphs with index, text, and style - comments: List of comments with id, author, date, text, anchor_text, anchor_paragraph, resolved (boolean), and replies - track_changes: List of track changes with id, type (insertion/deletion), author, date, text, paragraph
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| path | Yes | ||
| include_text | No | ||
| include_comments | No | ||
| include_track_changes | No |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
No arguments | |||