Edit a review comment
edit_commentRewrite your own or the user's comment—thread body, suggestion, or a specific reply—to correct or update wording. Use a reply tool to respond to someone else's words instead.
Instructions
Rewrite a comment you wrote, or one the user wrote: the thread's body or suggestion (suggestion:null drops it), or with reply_index (0-based, as list_comments orders them) one reply's body. Someone else's words are never yours to change: answer them with reply_comment. Shows as edited. Changes no file.
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>"
},
"name": "edit_comment"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| body | No | The new text. | |
| project | No | Project id. Optional when the access token is scoped to exactly one project. | |
| comment_id | Yes | The thread, as list_comments names it. | |
| suggestion | No | The new suggested replacement for the quoted passage; null removes it. Threads only. | |
| reply_index | No | Edit this reply instead of the thread itself. |