Add a review comment
add_commentAttach a review comment thread to a specific passage in a .tex file, marking it like an Overleaf editor highlight to give targeted, location-based feedback.
Instructions
Start a new review comment thread on a passage of a .tex file, as if highlighting it in the Overleaf editor. Web mode only (opt-in, see README).
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| path | Yes | File the passage is in. | |
| text | Yes | Exact passage to comment on (as it appears in the file). | |
| comment | Yes | Comment text. | |
| project | No | Project ID or Overleaf project URL (or project name in web mode). Defaults to OVERLEAF_PROJECT_ID. | |
| occurrence | No | Which match to use if `text` appears more than once (1-based). |