notes-revert
Revert a note's body to an earlier revision (find the seq via notes-history). This does NOT erase history — it appends a NEW revision whose body equals the chosen earlier one, attributed to you, so the revert can itself be undone. Use only when the user explicitly asks to undo a change. Optional expected_lock_version (from notes-get) rejects the revert if the note changed since you read it, instead of clobbering that change. Required: id (integer), seq (integer).
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| id | Yes | Note ID (required) | |
| seq | Yes | The revision seq to restore the body to (from notes-history) | |
| expected_lock_version | No | Optional concurrent-edit guard; pass the lock_version you last saw via notes-get |