Set a comment's status, priority, labels or assignee
set_comment_statusChange how a comment is tracked, the same way the HTMLAnnotate app does: its status (open, in progress, resolved), priority, labels and who it is assigned to. Pass only what should change. Resolving emails everyone in the thread, and assigning emails the person assigned. Labels replace the comment's current labels (up to 3). To only mark a comment done or reopen it, resolve_comment is simpler.
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": {
"page": "<page>",
"number": "<number>"
},
"name": "set_comment_status"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| page | Yes | Which page: its name, its review link (/v/...) or its manage link. | |
| labels | No | Optional. The labels the comment should have. An empty list clears them. | |
| number | Yes | The comment number as shown by get_comments, like 3 for #3. | |
| status | No | Optional. The new status. | |
| assignee | No | Optional. A teammate or reviewer on this page, by name or email. "none" unassigns it. | |
| priority | No | Optional. "none" clears it. |