read_note
Retrieve an Apple Note as markdown to inspect or edit it, preserving checklists, headings, lists, tables, and file attachments exactly as stored in the original note.
Instructions
Read a note as markdown, for inspecting or editing it.
Reconstructed from Notes' own protobuf, so checklists come back with their ticked
state, and a numbered list is not confused with a bullet list -- neither of which
the HTML AppleScript exports can express. Tables are taken from the HTML, since the
protobuf holds them only as a placeholder. File attachments (images, PDFs) come back
as  / [name](file://...) pointing at the file on disk.
Heading depth is preserved through ##; only ### and deeper are flattened (to ##),
and that is a write-side loss, not a read-side one -- ### Foo was already stored as a
Heading. # is Apple's Title style, so the note's own title reads back as # <title>.
Falls back to the HTML alone if the protobuf cannot be read, which loses checklists;
edit_note refuses to run in that state rather than rewrite from a degraded read.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| note_id | Yes |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| result | Yes |