Delete a comment
delete_commentSoft-delete a comment (get its id from list_comments). An agent can delete only agent-authored comments, never a human's. Deleting a thread root removes its replies too.
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 | The comment id to delete (from list_comments). |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| id | Yes | ||
| deleted | Yes | ||
| openReviewComments | No | Present when open review comments are waiting on some branch of this project; read yours with list_comments. |