Download attachment
download_attachmentSave a Memos attachment's original file to a local folder or full path. Protects existing files by default, with an optional overwrite flag.
Instructions
Save the original file of an attachment to a local path. Existing files are not overwritten unless overwrite=true.
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>",
"save_to": "<save_to>"
},
"name": "download_attachment"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| save_to | Yes | Local folder (the original file name is kept) or full file path | |
| overwrite | No | ||
| attachment | Yes | Attachment name ("attachments/…"), id, or file URL |