Delete a Docmost comment
delete_commentPermanently deletes a comment and removes its page highlight; set deleteReplies to also remove the entire thread when needed.
Instructions
Permanently deletes a comment and removes its highlight from the page, deleting a whole thread only when deleteReplies is set.
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": {
"commentId": "<commentId>"
},
"name": "delete_comment"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| commentId | Yes | Comment id from list_comments. | |
| deleteReplies | No | Also delete the comment's replies, which Docmost requires for a thread's top comment; defaults to false. |