Read attachment
read_attachmentOpen Memos attachments to view images as pictures or text files as readable text; set full_size=true for original image instead of 600px preview.
Instructions
Open an attachment: images come back as viewable pictures (a ≤600px preview unless full_size=true), text files as text. To store the original file locally use download_attachment.
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": {
"attachment": "<attachment>"
},
"name": "read_attachment"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| full_size | No | Return the original image instead of the preview | |
| attachment | Yes | Attachment name ("attachments/…"), id, or file URL |