RedlineJS
v2.9.1Visual website feedback for coding agents: read, reply to and resolve comments on live pages
These tools were reported by the server itself during our smoke test (tools/list), not copied from the README.
annotate_list_pending List open review comments
Open and in-progress comments reviewers left on the site, oldest first, as Markdown plus JSON. Each names the element it is about: selector, and in development builds the component and source file.
| Parameter | Type | Description |
|---|---|---|
includeInProgress | boolean | Include comments already marked in progress. |
mentioned | boolean | Only comments that mention the agent (for example @Agent) in the comment or a reply. |
page | string | Only comments on this page: a URL path such as /pricing, or a page key. |
annotate_get_comment Read one review comment
One comment in full detail (styles, position, replies, and the page screenshot when there is one) with its activity history.
| Parameter | Type | Description |
|---|---|---|
id * | string | The comment id from annotate_list_pending. |
annotate_reply Reply to a review comment
Adds a reply to the comment thread, for example to say what you changed or to ask a question. The reviewer sees it labelled Agent.
| Parameter | Type | Description |
|---|---|---|
id * | string | |
text * | string | |
mentions | array | Names of review members to mention, for example ["Jane"]. Write "@Jane" in the text too. |
annotate_set_status Change a review comment's status
in_progress when you start on a comment, resolved when it is done, wont_fix (with a note saying why) when it will not change, open to reopen. The note is posted as a reply first.
| Parameter | Type | Description |
|---|---|---|
id * | string | |
status * | string | |
note | string | Posted as a reply before the status changes. Required for wont_fix. |
annotate_watch Wait for new review comments
Waits until reviewers leave or change open comments this session has not returned yet, then returns them. Changes the agent made itself do not count. Returns "No new comments" on timeout; call it again to keep watching.
| Parameter | Type | Description |
|---|---|---|
mentioned | boolean | Only comments that mention the agent (for example @Agent) in the comment or a reply. |
timeoutSeconds | integer | |
windowSeconds | integer | After the first new comment, wait this long to collect more into one batch. |