Review order
review_orderPrices the current cart for checkout (delivery, discount, fees, total) and renders an interactive widget in which the user selects their delivery address and payment method as tappable options — those details are chosen in the widget rather than in chat. Use when the user is ready to check out. Requires sign-in and a non-empty cart. Places no order.
Tool call template
This tool declares no required parameters. Add optional parameters from the input schema as needed.
{
"id": 1,
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"arguments": {},
"name": "review_order"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| addressId | No | Optional — the user picks this in the widget; defaults to the first saved address in the merchant's city. | |
| voucherCode | No | Voucher/promo code to apply. | |
| paymentTypeId | No | Optional — the user picks this in the widget; defaults to Lezzoo Pay wallet for the initial price. |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| fees | No | ||
| total | No | ||
| wallet | No | Wallet balance and can_pay flag. | |
| currency | No | ||
| delivery | No | ||
| discount | No | ||
| subtotal | No | ||
| addresses | No | Addresses eligible for this merchant's city. | |
| address_id | No | ||
| merchant_city | No | ||
| voucher_error | No | ||
| not_serviceable | No | ||
| payment_type_id | No |