Upload transaction attachment
feed_item_attachment_uploadUpload an attachment to a Starling Bank transaction feed item using a file path or base64 data.
Instructions
Upload an attachment to a feed item (transaction). Provide either base64 encoded attachment data or a file path (recommended).
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": {
"accountUid": "<accountUid>",
"categoryUid": "<categoryUid>",
"feedItemUid": "<feedItemUid>"
},
"name": "feed_item_attachment_upload"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| filePath | No | Option 1: Path to file on disk (recommended) | |
| accountUid | Yes | The account UID | |
| categoryUid | Yes | The category UID (use default category for main account) | |
| contentType | No | Content type of the attachment (e.g., image/jpeg, application/pdf) | |
| feedItemUid | Yes | The feed item UID | |
| attachmentData | No | Option 2: Base64 encoded attachment data |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| feedItemAttachmentUid | No |