edit_note
Replace an Apple Note's body with new markdown while keeping its title and folder. Note is recreated with a new ID, with a backup saved first, and attachments preserved if their lines are kept.
Instructions
Replace a note's body with new markdown, keeping its title and folder.
IMPORTANT -- this is destructive. Apple provides no way to rewrite a note in place with real formatting, so the note is deleted and recreated: it gets a NEW note ID and a new creation date. The original is backed up to ~/.local/share/applenotes-mcp/backups first.
Attachments are preserved: keep their  / [name](file://...)
lines in the markdown you pass back and they are re-attached; drop a line to remove that
attachment. The one exception is an attachment that is not downloaded locally (evicted
to iCloud) -- the note is refused, since that file cannot be re-attached. The normal flow
is to read_note, edit that markdown, and pass it back here.
Returns the new note's ID.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| title | No | ||
| note_id | Yes | ||
| markdown | Yes |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| result | Yes |