download_expense_receipt_image
Download a receipt image for a specific expense using its expense ID, with an optional thumbnail version for smaller file size.
Instructions
Download an expense receipt image from the backend API.
Args: expense_id: The ID of the expense to download the receipt image for thumbnail: Whether to download the thumbnail version (default: False)
Returns: dict containing the image data (base64 encoded), content type, and metadata
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": {
"expense_id": "<expense_id>"
},
"name": "download_expense_receipt_image"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| thumbnail | No | ||
| expense_id | Yes |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
No arguments | |||