Delete a comment
delete_commentDelete one comment of a line's thread by its number, whoever wrote it: "delete comment 11 on #1042". It is gone for good, and its number is not used again. A status comment goes without changing the line's status; a file's comment goes and the receipt stays on the line (detach_document moves a receipt back to the Inbox). Delete only what the person asked you to.
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": "<comment>"
},
"name": "delete_comment"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| line | No | The line's ID, like #1042 (list_lines and read_line show it): names the line alone, instead of month and number. | |
| month | No | The month as YYYY-MM, like 2026-09; with number, or give line instead. | |
| number | No | The line's number in the month, like 12; with month, or give line instead. | |
| comment | Yes | The comment's number in the line's thread, like 11 (`number` in list_comments). |