Preview Quote Tool
preview-quoteCalculates a deterministic estimate preview without saving, sending, or creating a quote. Use to preview quote in the connected business. Returns document_type, customer_id, pricing, persisted, scope.
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": {
"items": "<items>"
},
"name": "preview-quote"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| items | Yes | Estimate line item. | |
| tax_mode | No | Tax calculation mode: none or manual. | |
| coupon_code | No | Optional coupon code evaluated by the authorized pricing service. | |
| customer_id | No | Optional resolved customer ID. | |
| tax_rate_id | No | Business-owned tax rate identifier for manual tax calculation. | |
| document_discount_type | No | Document-wide discount mode: none, percentage, or fixed. | |
| document_discount_value | No | Document-wide discount amount or percentage for the selected discount mode. |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| scope | Yes | Authorization scope of this result; data remains restricted to the connected business. | |
| pricing | Yes | Pricing data returned by the authorized safe projection. | |
| persisted | Yes | Persisted flag; previews do not perform this action. | |
| customer_id | Yes | Customer id for the returned result. | |
| document_type | Yes | Type of the previewed document. |