> Documentation index: https://www.xekta.com/llms.txt

# cart_get

> Read a cart back with its items, frozen prices and total.

Call it before asking for approval, so the total you show is the one on XEKTA's record.

| | |
| - | - |
| Type | Read: looks things up, changes nothing |
| Needs a cart the buyer approved | No |
| Moves money | No |

**Tool description (what the assistant sees)**

```text
Returns one cart with its items, frozen prices and total. Read-only.
```

## Parameters

| Name | Type | Required | Description |
| - | - | - | - |
| `cart_id` | `uuid` | Yes | The cart. |

## Notes

- `buyer_summary` already holds the text to show the buyer: items, quantities, unit prices, the amount due, and which shop they collect from.
- When sales tax cannot be worked out, the cart still comes back, with `tax_cents` and `total_cents` set to `null` and a `tax_error` field. See [Errors](https://www.xekta.com/docs/errors#sales-tax).
