download_attachment
Downloads an iMessage attachment using its GUID and returns the file as base64-encoded data.
Instructions
Download an attachment and return it as base64-encoded data.
Args: attachment_guid: The attachment GUID.
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_guid": "<attachment_guid>"
},
"name": "download_attachment"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| attachment_guid | Yes |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| result | Yes |