Update Comment
update_commentReplace the text of one of your own comments with plain text and retrieve the previous version. Use it to edit authored comments only.
Instructions
Replace the text of one of your own comments with plain text. Docmost only lets you edit comments you wrote. The previous text is returned.
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": {
"comment_id": "<comment_id>",
"text": "<text>"
},
"name": "update_comment"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| text | Yes | Comment text, plain text. | |
| comment_id | Yes | Comment id from list_comments. |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
No arguments | |||