Reject tracked changes by id
reject_changesReject tracked changes in Overleaf documents by removing inserted text or restoring deleted text. Specify change IDs from list_tracked_changes; action is 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. Pass the change_id values from list_tracked_changes. Irreversible.
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": {
"change_ids": "<change_ids>"
},
"name": "reject_changes"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| change_ids | Yes | Tracked-change ids to accept (from list_tracked_changes). |