Restore revision
restore_revisionRestores a note to a chosen revision by writing that revision's content and title back to the live note, while optionally snapshotting the current state first to keep the change reversible.
Instructions
Restore a note to one of its revisions: writes the revision's content (and, by default, title) back onto the live note. By default the current state is snapshotted first with create_revision, so the restore is reversible. Find revision IDs with get_revisions {noteId}; preview one with get_revisions {revisionId}. Protected notes cannot be restored through ETAPI.
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": {
"revisionId": "<revisionId>"
},
"name": "restore_revision"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| revisionId | Yes | Revision to restore (from get_revisions {noteId}). | |
| restore_title | No | Also restore the title the note had in that revision (default true). | |
| snapshot_current | No | Snapshot the note's CURRENT state as a new revision before restoring (default true), so the restore itself can be undone. Only disable this if the user explicitly does not want it. |