download_attachment
Fetch an attachment's file by its key and receive the content as base64-encoded data. Decode this string to reconstruct the original file.
Instructions
Download an attachment's file content (see list_attachments for
keys). Read-only. Returns content_base64 -- this server runs
remotely, so raw bytes travel as a base64 string rather than a local
file path; decode it to reconstruct the file.
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_key": "<attachment_key>"
},
"name": "download_attachment"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| attachment_key | Yes |