reply_to_comment
Replies to an existing review thread in an Overleaf project, posting the message and returning thread and message details; prevents blind retry after a timeout.
Instructions
Reply to an existing review thread. An unknown threadId fails with NOT_FOUND and posts nothing. Returns threadId and the created message (id, author { id, displayName }, content, ISO timestamp), plus trackChangesActive and writeMode. A timed-out reply is never resubmitted: it returns recoveredAfterTimeout when the thread shows exactly one new matching message from this account, else OUTCOME_UNKNOWN; do not retry it blindly.
Tool call template
Replace each placeholder with a value matching the input schema. Only required parameters are included; add optional parameters as needed.
{
"id": 1,
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"arguments": {
"projectId": "<projectId>",
"threadId": "<threadId>",
"content": "<content>"
},
"name": "reply_to_comment"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| content | Yes | ||
| threadId | Yes | Existing thread id from list_comments | |
| projectId | Yes | Overleaf project ID |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| message | Yes | ||
| threadId | Yes | ||
| writeMode | Yes | ||
| trackChangesActive | Yes | ||
| recoveredAfterTimeout | No |