Download REWE eBon Receipt PDF
rewe_get_ebon_pdfDownload the original PDF receipt for a given eBon ID. Optionally save it to a local path; otherwise receive base64 PDF data and file size.
Instructions
Download the original PDF receipt for a given ebonId. Optionally pass savePath to write the PDF directly to disk; otherwise returns base64Pdf and sizeBytes.
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": {
"ebonId": "<ebonId>"
},
"name": "rewe_get_ebon_pdf"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| ebonId | Yes | eBon receipt ID from rewe_list_ebons. | |
| savePath | No | Optional local file path to save the PDF directly (e.g. '~/Downloads/ebon.pdf'). |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| id | Yes | ||
| savedTo | No | ||
| base64Pdf | No | ||
| sizeBytes | Yes |