Preview quote totals
preview_quoteCompute line items, subtotal, tax, discount, and total for a quote payload without creating anything. Use this to confirm pricing with the user before create_quote.
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": {
"services": "<services>"
},
"name": "preview_quote"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| currency | No | Defaults to USD | |
| discount | No | Rendered as a negative line item on the PDF | |
| language | No | Document language: en, pt-BR or es. Defaults to pt-BR for BRL, es for the Spanish-speaking Latin American currencies, otherwise en | |
| services | Yes | Line items for the quote | |
| tax_rate | No | Decimal tax rate, e.g. 0.08 for 8% | |
| template | No | PDF accent style, defaults to standard | |
| tax_label | No | Custom tax label, e.g. IVA, IGV, ITBMS. Defaults to the language word (Tax / Imposto / Impuesto) |