add_comment
Add a comment to a paragraph in a Word document by specifying its paragraph ID and comment text. Optionally set the author name shown in the comment sidebar.
Instructions
Add a comment anchored to a paragraph.
Creates the comment in comments.xml and adds range markers (commentRangeStart/End) around the paragraph content.
Args: para_id: paraId of the paragraph to comment on. text: Comment text. author: Author name (shown in Word's comment sidebar).
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| para_id | Yes | ||
| text | Yes | ||
| author | No | Claude |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| result | Yes |