Generate Expense PDF
report_expense_pdfGenerate a PDF report for a specific expense, including receipt images, to download and review expense details.
Instructions
Use this when the user wants to generate and download a PDF report for a specific expense including receipt images.
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": {
"expenseId": "<expenseId>"
},
"name": "report_expense_pdf"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| expenseId | Yes | The unique identifier of the expense to generate PDF for |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| success | No | Whether PDF was generated successfully | |
| size | No | PDF file size in bytes |