Update note
update_noteChange an existing entry: tick a todo off (done: true) or reopen it, rename it, add to or edit a note's text, add or remove tags, move it to a folder, pin it, mark it favorite, mark a card to come back to in drills, or mark it as reference material for its tags' behaviors. Only the fields you pass change. To edit a note, read_note it first: edits are find-and-replace pairs matched against the Markdown read_note showed, and text replaces the whole body. The text a note had before an edit is kept in its version history, where the user can restore it. Edits rebuild only the paragraphs, lists or tables they touch, so drawings and pictures elsewhere stay as they are; coloured highlights and text read as and and can be changed like any other text; an edit inside a part holding something Markdown cannot carry (a drawing) is refused, and so is replacing the whole text of a note that has one. append_text always works. An empty line the user left between paragraphs shows as a line holding only , and an edit can remove it like any other text. Name the entry by id, or by its exact title; a vaguer name comes back as candidates to choose from rather than a guess.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| done | No | Todos: true ticks it off, false reopens it. | |
| note | Yes | The entry to change. Its id (from any other tool's output) or its exact title. | |
| text | No | Markdown that replaces the note's whole body (not its title). Prefer edits for a change to part of it. | |
| edits | No | Find-and-replace pairs applied in order to the note's Markdown as read_note showed it. Each find must appear exactly once; replace may be empty to delete it. | |
| title | No | A new title (for a todo, its text). | |
| folder | No | Folder path to move a note into (created if missing), or "/" for no folder. | |
| pinned | No | Pin to (or unpin from) the top of its lists. | |
| add_tags | No | Tag paths to add. Missing tags are created. | |
| favorite | No | Mark (or unmark) as favorite. | |
| reference | No | Mark (or unmark) as reference material the behaviors of its tags read. | |
| append_text | No | Markdown to add at the end of a note. | |
| needs_drill | No | Drills: true when the user missed a card (it comes back), false when they got it. | |
| remove_tags | No | Tags to take off (the entry itself stays). |