get_invoice_preview
Retrieve a preview image of a specific invoice page. Specify the invoice ID, page number, and desired width in pixels.
Instructions
Gets preview of specified invoice
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": {
"invoice_id": "<invoice_id>"
},
"name": "get_invoice_preview"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| invoice_id | Yes | invoice ID | |
| page | No | page number [1 .. pages amount] | |
| size | No | width in pixels |