Invoice
get_invoiceUse this when a signed in customer wants the invoice for a teas.co.uk order. For a paid order it returns a link to the PDF invoice on teas.co.uk; the person opens it and signs in if asked. The invoice itself never passes through the assistant.
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": {
"order_number": "<order_number>"
},
"name": "get_invoice"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| order_number | Yes | The order number, for example 123456. |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| url | No | The invoice link for the person to open; it opens only for the account that placed the order. | |
| note | Yes | ||
| order | Yes | ||
| available | Yes |