Update comment
update_commentUpdate an existing comment. The comment text is REQUIRED and REPLACES the entire comment body — pass the complete new text, not a diff or append (there is no partial-text mode). Get comment_id from list_comments or get_comment. pinned: pass true/false to change it, omit to leave it unchanged.
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>",
"comment": "<comment>"
},
"name": "update_comment"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| pinned | No | Set to True to pin the comment, False to unpin. | |
| comment | Yes | The updated comment text. Full replacement text — overwrites the existing comment body. | |
| comment_id | Yes | The ID of the comment to update. |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| comment | No |