Approve and order
checkout_prepare
Preview the total, tax and pickup details without placing an order.
A dry run. Nothing is ordered and the card is not touched.
| Type | Read: looks things up, changes nothing |
| Needs a cart the buyer approved | No |
| Moves money | No |
Tool description (what the assistant sees)
Builds a checkout summary for a cart without placing an order or touching payment. The response carries requires_user_approval=true and purchase_executed=false.#Parameters
| Name | Type | Required | Description |
|---|---|---|---|
cart_id | uuid | Yes | The cart. |
items | object[] | Yes | The cart lines as returned by cart_build: for each, requested, product, quantity and line_total. 1 to 50 lines. |