Edit a message in a comment thread
edit_comment_messageReplace the text of your own message in an Overleaf comment thread to correct or clarify review feedback.
Instructions
Replaces the text of one message in a thread. Overleaf only allows editing your own messages.
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": {
"thread_id": "<thread_id>",
"message_id": "<message_id>",
"content": "<content>"
},
"name": "edit_comment_message"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| content | Yes | The new message text. | |
| thread_id | Yes | The thread id, e.g. from list_comments. | |
| message_id | Yes | The message id, from read_comment_thread (`messages[].id`). | |
| project_id | No | Overleaf project id from list_projects or open_project. Opens the project if it is not already active. Pass it on every call when MCP sessions may change between calls. Writes without it only go to the project last confirmed by open_project or by a write naming it. |