add_comments
Add multiple comments to a Word document in one operation, with partial success handling for unfound anchors.
Instructions
Add multiple comments to a document in a single operation. Opens and saves the file only once. Supports partial success: comments with unfound anchors are reported as failures without blocking the rest.
Tool call template
Replace each placeholder with a value matching the input schema. Only required parameters are included; add optional parameters as needed.
{
"id": 1,
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"arguments": {
"file_path": "<file_path>",
"comments": "<comments>"
},
"name": "add_comments"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| file_path | Yes | Absolute path to the .docx file | |
| comments | Yes | Array of comments to add | |
| default_author | No | Default author name for comments without an explicit author | Claude |