Preview an order: total and terms
preview_orderUse this when the user wants to order one of the offers from get_quotes. Returns the quoted total for that quote_id (parts plus the shipping the shop quoted), what the total excludes (such as tax and US import duty), whether the price is firm or budgetary, and the terms for ordering. Reads the saved quote only: contacts no shop, places nothing, charges nothing. Requires a Maglev API key.
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": {
"quote_id": "<quote_id>"
},
"name": "preview_order"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| quote_id | Yes | quote_id of one offer returned by get_quotes |