RedlineJS

v2.9.1
com.redlinejs/redline Checked 18 hours ago Published 6 days ago

Visual 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.

ParameterTypeDescription
includeInProgressbooleanInclude comments already marked in progress.
mentionedbooleanOnly comments that mention the agent (for example @Agent) in the comment or a reply.
pagestringOnly 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.

ParameterTypeDescription
id *stringThe 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.

ParameterTypeDescription
id *string
text *string
mentionsarrayNames 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.

ParameterTypeDescription
id *string
status *string
notestringPosted 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.

ParameterTypeDescription
mentionedbooleanOnly comments that mention the agent (for example @Agent) in the comment or a reply.
timeoutSecondsinteger
windowSecondsintegerAfter the first new comment, wait this long to collect more into one batch.