Download transaction attachment
download_transaction_attachmentDownload a transaction's attached file, save it with owner-only permissions, and get the path. Images are shown inline.
Instructions
Downloads a file attached to a transaction. Saves it (owner-only permissions) in the download directory and returns the path; images are also shown inline.
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": {
"feedItemUid": "<feedItemUid>",
"feedItemAttachmentUid": "<feedItemAttachmentUid>"
},
"name": "download_transaction_attachment"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| saveAs | No | File name or absolute path to save to | |
| accountUid | No | Account UID. Optional: defaults to STARLING_DEFAULT_ACCOUNT_UID, the only account, or the PRIMARY account | |
| categoryUid | No | Category UID: the main account's defaultCategory, or a space / savings goal UID. Optional: defaults to the main account | |
| feedItemUid | Yes | Feed item (transaction) UID | |
| feedItemAttachmentUid | Yes | Attachment UID from list_transaction_attachments |