checkout_preview
Obtain a complete order preview with costs, addresses, and ETA. Identifies unavailable items or warnings that would cause order refusal, enabling cart corrections before confirmation.
Instructions
Preview the order: items, delivery fee, ETA, address, payment, TOTAL.
Charges NOTHING. Show the returned total to the user and ask them to confirm it out loud before calling confirm_order. Always run this before confirming.
If the summary has a warning, or available_for_checkout is false, or any
item has unavailable_on_depot: true, the order will be REFUSED — fix the
cart (remove/replace those items) and preview again before confirming.
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": "checkout_preview"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
No arguments | |||
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
No arguments | |||