update_note
Replace an Apple Note's body with new Markdown, keep or update its title, and attach files. Destructive overwrite; locate by name or folder.
Instructions
Replace a note's body. Destructive for that note: the old body is overwritten. Title is kept unless a new one is given. The body is Markdown, like create_note.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| id | No | Note id from list/search results. Wins over name. | |
| body | Yes | New Markdown body. | |
| name | No | Note title. Must match one note; ambiguity returns candidates. | |
| title | No | New title. Default: keep the current title. | |
| attach | No | Absolute paths of files to attach: images, PDFs, audio, anything. The body cannot carry one, because Notes' importer discards it; these are pasted in afterwards. Put a Markdown image link on its own line where each should sit, in the same order, or they land at the end. Needs the Accessibility permission. | |
| folder | No | Folder name or path to narrow a name lookup. | |
| true_styles | No | Apply true paragraph styles (headings, code blocks, quotes, ==highlights==, checklists) by briefly driving the Notes app. Default true; the paste only happens when the note carries something the importer cannot make. Needs the Accessibility permission; Notes fronts for a few seconds and focus returns. Set false for headless or bulk runs: the note renders look-alike styles instead. |