word_delete_comment
Remove a comment from a Word document by specifying its unique comment ID. Deletes the comment and cleans up associated markers.
Instructions
Delete a comment from a Word document by comment ID.
Removes the comment from comments.xml and strips associated reference markers from document.xml.
Args: file_path: Path to the .docx file comment_id: Comment ID from word_get_comments output output_path: Optional output path (defaults to overwriting input)
Returns: Status dictionary with deletion details
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| file_path | Yes | Path to the .docx file | |
| comment_id | Yes | Comment ID from word_get_comments output | |
| output_path | No | Optional output path (defaults to overwriting input) |