word_delete_comment
Delete a comment and its anchor from a Word document by providing the file path and comment ID.
Instructions
Delete a comment and its anchor markers from a Word document
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>",
"comment_id": "<comment_id>"
},
"name": "word_delete_comment"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| file_path | Yes | Absolute path to the .docx file | |
| comment_id | Yes | w:id of the comment to delete |