Get attachment
evernote_get_resourceFetches an Evernote attachment by GUID as extracted text, base64 binary, OCR recognition, or metadata, and optionally saves it to an allowed path.
Instructions
Get an attachment by GUID as text (default; PDF/OCR), binary (base64), recognition, or metadata. Optional saveToPath writes the result under allowed roots. To list a note's attachments, use evernote_get_note resources[].
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": {
"guid": "<guid>"
},
"name": "evernote_get_resource"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| as | No | View (default: text). text = PDF text layers and image OCR; binary = raw bytes as base64; recognition = Evernote OCR items plus extractedText; metadata = filename/mime/size/hash/hasRecognition without the body. | text |
| guid | Yes | Resource GUID | |
| saveToPath | No | Optional local path to write the result (must be under allowed file roots; overwrites if the file exists). binary writes the file bytes; text writes extracted text; recognition/metadata write JSON. |