Revise a notebook entry
notebook_updateRevise the text of an entry in the user's RelayLink notebook, keeping the previous version in its history. ALWAYS pass expectedRevision — the number notebook_open or notebook_find gave you — so a change somebody else made in between is caught rather than overwritten. If it is stale you get the newer text back, your text is kept as an unmerged edit rather than lost, and you show the user both and ask. To add a thought without changing what is there, use notebook_save with parentId instead: a reflection, an outcome or an alternative belongs beside the original, not on top of it. This is the user's RelayLink notebook, for material they are keeping: use it when they name RelayLink or their notebook, when they are continuing work already kept here, or when they pick a RelayLink entry. A durable fact ABOUT them — how they like to be worked with, what they are working on — is memory_add's instead, and a project-scoped preference or one with an end date is this notebook's. A bare "add a task" or "save this note" may be meant for another connected app, and a destination they name outright is always the destination. If more than one place is plausible and nothing settles it, ask once, then stay with the answer for the rest of the task.
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": {
"entryId": "<entryId>"
},
"name": "notebook_update"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| body | No | The new full text. Omit to leave the body alone. | |
| title | No | A new title. Omit to leave it alone. | |
| detail | No | Replacement kind-specific fields as JSON. Omit to leave them alone. | |
| source | No | user_stated | user_confirmed | ai_suggested, if the authorship of the text has changed. | |
| entryId | Yes | The entry_id to revise. | |
| changeNote | No | One line on why, for the history. Optional. | |
| expectedRevision | No | The revision you are editing, from notebook_open. Omit only if you have not read the entry — the reply then tells you which revision it is now at. |