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.
Tool call template
Replace each placeholder with a value matching the input schema. Only required parameters are included; add optional parameters as needed.
{
"id": 1,
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"arguments": {
"index": "<index>"
},
"name": "get_attachment"
}
}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. |