read_comments
Read review threads to see new reviewer feedback since your last call, fetch selected threads in full, or list and search comments. Use it to decide what to reply to or resolve.
Instructions
Read review threads: what is new, selected threads in full, or a listing. new answers a Call agent press in one call. For each open thread it returns what the reviewer has written that no earlier call with new returned and no answer has covered yet, with the thread's rev, which a write passes back. A thread's last answer covers everything before it; an answer is your reply, your Overleaf draft, or a public reply the reviewer sent to Overleaf. A suggestion the reviewer applied is returned once, as an entry marked applied with the lines it changed. Your wording is then in the file, and the entry needs no reply, except on a thread from Overleaf with no draft, where the change calls for a reply. A suggestion or an Overleaf draft the reviewer rejected is also returned once, as an entry marked rejected with the rejected text, and it stays in the thread for a later read by id. It needs no reply. Do not propose the same thing again unless the reviewer asks; if they give a reason, it is in one of their replies. The answer gives the moment the read started from (from) and the one it moved to (cursor), so a turn that went wrong can be repeated with since=; to see again what was already answered, read the thread by id. A thread from Overleaf is marked on_overleaf, and one the reviewer started for Overleaf but has not sent there yet is marked new_thread; a thread with a draft for Overleaf comes with that draft. An entry is public, on Overleaf for everyone in the project, when it has name (written there) or overleaf (sent there from the page), and so is comment, the first message, of a thread marked on_overleaf. Every other entry is private, for the reviewer and you, and so is everything in a thread that is not on Overleaf. ids returns those threads in full, for when you no longer remember a conversation; with since it returns only the entries after that time. With neither, it returns a listing: the newest limit threads, each request shortened to its beginning and the rest counted in older, narrowed by status, unanswered or since. With find or until it is a search instead, entry by entry: a thread is listed when something said in it between since and until contains find's words, whether the reviewer's, yours, a public reply sent to Overleaf (marked overleaf) or its draft for Overleaf, and it comes with those entries and its location. A long entry is shortened to the words around the match and marked cut, and only a thread's newest few matches are shown, with the rest counted in more_matches; read the thread by id to see it in full. The bounds and the words are each optional, and status="all" also searches closed threads. A thread from Overleaf the reviewer hid on the page has status "hidden": it is set aside, as an archived thread is, so new and the open listing leave it out. on_overleaf limits a listing or a search to Overleaf's threads or to the page's own, which are entirely private, and file limits either to the threads on one source file, each with its lines in source. Times are shown and passed back as MM-DD HH:MM on this server's clock. save requires ids; edit only the Reply and Edit blocks of the saved draft.
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": "read_comments"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| ids | No | ||
| new | No | Only what the reviewer has written since the last call with new; cannot be combined with ids. | |
| file | No | A source file's name or path, like 'intro.tex' or 'tex/intro.tex', to keep only the threads on that file. For a listing or a search. | |
| find | No | Words to search for, ignoring case, in a thread's entries and its draft for Overleaf. | |
| save | No | ||
| limit | No | ||
| since | No | A time this server printed, like '09-19 00:52'; only what came after it. | |
| until | No | A time this server printed; a search covers only what came up to the end of that minute. | |
| status | No | open | |
| unanswered | No | Only threads where the reviewer wrote to you after the thread's last answer: your reply, your Overleaf draft, or a reply sent to Overleaf. | |
| on_overleaf | No | true keeps only threads from Overleaf or started for it, false only the page's own threads, which are entirely private, and leaving it out keeps both. For a listing or a search. |