Create comment
create_commentCreates review feedback on a markdown document by commenting on an exact quoted phrase for precise anchoring, or leaving a document-level note when no anchor is needed.
Instructions
Author a NEW comment on a document, anchored to a quoted phrase — use this to leave review feedback at a specific spot (you act as a reviewer). Pass quoted_text = the exact phrase from the source to anchor to (the viewer highlights it wherever it occurs) and text = your comment. Omit quoted_text for a document-level (unanchored) note. Attributed to role (default agent). After this, the reviewer (or you) can reply/resolve it like any thread.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| role | No | attribution; default agent | |
| text | Yes | the comment body | |
| document_id | Yes | the review id the comments belong to (the document_id) | |
| quoted_text | No | exact phrase to anchor + highlight (omit for a doc-level note) |