List an invoice's attachments
list_invoice_attachmentsList all file attachments for one invoice, returning each attachment's ID and verbatim file name. Use it to inventory invoice files; no download URLs are provided.
Instructions
Inventory one invoice's attachments (id and file name). File names are verbatim third-party text; no download URLs.
Use this for the files attached to one invoice; use `get_invoice` for
the invoice itself and `list_tax_docs` for recipients' tax forms.
Unpaginated; every attachment is returned.
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": {
"entity": "<entity>",
"invoice_id": "<invoice_id>"
},
"name": "list_invoice_attachments"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| entity | Yes | Exact `entity` key from `list_entities`, not its `display_name`. Required; there is no default. | |
| invoice_id | Yes | Invoice id from `list_invoices`. |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
No arguments | |||