get_attachment
Retrieve an attachment from an Anchor note. Small images are displayed directly, while audio and large images are saved to disk without overwriting and the file path is returned.
Instructions
Get an attachment. Images up to 3.5 MB are shown to you directly; audio and larger images are saved to disk (never overwriting) and the path is returned. Pass saveTo to always save.
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": {
"noteId": "<noteId>",
"attachmentId": "<attachmentId>"
},
"name": "get_attachment"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| noteId | Yes | ||
| saveTo | No | Folder or file path; default is the user's Downloads folder | |
| attachmentId | Yes |