Accept tracked changes
accept_changesPermanently accept tracked-change suggestions in an Overleaf project by IDs or filters, clearing pending-change metadata. Use for finalizing reviewed edits; the action is irreversible.
Instructions
Permanently accepts tracked-change suggestions. The text stays in the doc; the pending-change metadata is cleared. Select changes either by change_ids from list_tracked_changes, or by filters (author, path, kind, text; combined with AND), or with all: true. Changes that span multiple docs are grouped automatically. 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": "accept_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. |