get_attachment
Fetch a single note attachment by its index from list_attachments. Returns the original file bytes, with drawings converted to images.
Instructions
Fetch one attachment of a note by its index in list_attachments. Bytes as Notes holds them, under their own name and type. A drawing has no original, so it comes back as the picture Notes renders of it, which is the only form it exists in.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| id | No | Note id from list/search results. Wins over name. | |
| name | No | Note title. Must match one note; ambiguity returns candidates. | |
| index | Yes | Position in list_attachments, starting at 0. | |
| folder | No | Folder name or path to narrow a name lookup. |