word_reply_to_comment
Add a threaded reply to an existing Word comment, optionally marking the thread as resolved. Requires the parent comment ID from word_get_comments.
Instructions
Add a threaded reply to an existing Word comment.
Creates a new w:comment entry in word/comments.xml and links it
to the parent thread using w14:paraIdParent on the reply's first
paragraph. If the parent comment has no w14:paraId (older docs), a
synthetic one is added and reused.
Args: file_path: Path to the .docx file comment_id: ID of the parent comment (from word_get_comments) text: Reply text author: Reply author (defaults to office_set_comment_identity/env) output_path: Optional output path (defaults to overwriting input) auto_resolve: Mark the thread resolved after adding the reply
Returns: Status dictionary with reply details
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| file_path | Yes | Path to the .docx file | |
| comment_id | Yes | ID of the parent comment (from word_get_comments) | |
| text | Yes | Reply text | |
| author | No | Reply author (defaults to office_set_comment_identity/env) | |
| output_path | No | Optional output path (defaults to overwriting input) | |
| auto_resolve | No | Mark the thread resolved after adding the reply |