Download attachment
download_attachmentDownloads a FastBound attachment by its attachment ID, records the required audit user email for the ATF audit trail, and returns the file base64-encoded.
Instructions
Download an attachment file by its id. Requires an auditUser email (recorded by FastBound). Returns the file base64-encoded. Read.
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": {
"attachmentId": "<attachmentId>"
},
"name": "download_attachment"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| account | No | Which configured FastBound account to use for this one call — an alias or account number (see list_accounts). Omit to use the active account. | |
| auditUser | No | Email recorded as X-AuditUser for the ATF audit trail. Overrides the account's default audit user (FASTBOUND_<ALIAS>_AUDIT_USER, else FASTBOUND_AUDIT_USER) for this call. Must be an active user on the account. | |
| attachmentId | Yes | GUID of the attachment. |