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).
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": {
"id": "<id>",
"seq": "<seq>"
},
"name": "notes-revert"
}
}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 |