Reject tracked changes
reject_changesReject tracked-change suggestions in Overleaf projects by change IDs, author/path/kind/text filters, or all changes; removes insertions and keeps deletions. Irreversible.
Instructions
Rejects the specified tracked-change suggestions. For tracked inserts the inserted text is removed; for tracked deletes the strikethrough is cleared and the text stays. Implemented as an OT update with u:true flags on the inverse ops — same pathway Overleaf's web client uses. Select changes by change_ids from list_tracked_changes, by filters (author, path, kind, text; combined with AND), or with all: true. Irreversible.
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": "reject_changes"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| all | No | Select every pending change in the project. Required to act without ids or filters. | |
| kind | No | Restrict filter selection to inserts or deletes. | any |
| change_ids | No | Tracked-change ids (from list_tracked_changes). Alternatively, select changes with the filters below. | |
| 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. | |
| author_email | No | Select all changes by this exact author email. | |
| path_contains | No | Select all changes in docs whose path contains this substring. | |
| text_contains | No | Select changes whose inserted/deleted text contains this (case-insensitive). | |
| author_id_endswith | No | Select all changes by a user_id ending in this suffix. |