Update a note
update_noteChange a note without ever overwriting it: every change creates a new revision.
expected_version is the version read with get_note. On a conflict, read the note again and
reapply your change. An omitted field keeps its value. To restore an old version:
get_note(version=N), then update_note with its title, content and linked_notes.
An omitted category keeps the note's category; giving one applies the new category's
writing rules to the content. linked_notes, when given, replaces the list of links.
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": {
"note_id": "<note_id>",
"expected_version": "<expected_version>"
},
"name": "update_note"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| title | No | ||
| content | No | ||
| note_id | Yes | ||
| category | No | ||
| linked_notes | No | ||
| expected_version | Yes |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| id | Yes | ||
| version | Yes |