Search comments across all pages
search_commentsSearch the comments on every page in the user's HTMLAnnotate account (and their team's shared pages). Filter by words in the comment, status, label, priority, page name, assignee and date. Returns each match's page, number, author, text, status, labels and a link that opens the comment. Use it for questions like "which urgent bugs are still open?" or "what did Sam say last week?". To read every comment on one page, get_comments is better.
Tool call template
This tool declares no required parameters. Add optional parameters from the input schema as needed.
{
"id": 1,
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"arguments": {},
"name": "search_comments"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| page | No | Optional. Only pages whose name contains this. | |
| text | No | Optional. Words to look for in the comment, its replies, its author or the element it is pinned to. | |
| label | No | Optional. Only comments with this label. | |
| limit | No | Most results to return, newest first. Default 25. | |
| since | No | Optional. Only comments left on or after this date, YYYY-MM-DD. | |
| until | No | Optional. Only comments left on or before this date, YYYY-MM-DD. | |
| status | No | Optional. Default "any". "open" includes comments that are in progress. | |
| assignee | No | Optional. Only comments assigned to this person (name or email). Use "none" for unassigned comments. | |
| priority | No | Optional. Only comments with this priority. | |
| include_archived | No | Also search archived pages. Default false. | |
| include_screenshot | No | When exactly one comment matches, also return its screenshot as an image. Default false. |