> ## Documentation Index
> Fetch the complete documentation index at: https://docs.agentcard.sh/llms.txt
> Use this file to discover all available pages before exploring further.

# buy_view_cart

> View the current cart (items + totals) at a linked merchant.

Connect to `https://mcp.agentcard.sh/mcp` with the **user's connection token** (or a `buy_token` for org-owned accounts).

**Behavior:** read-only, idempotent.

<Note>Not in the default `tools/list`. It is still callable by exact name, and appears when the client sends the `x-expert-tools: 1` header.</Note>

## What it does

View the current cart (items + totals) at a linked merchant. Use this to build the itemized confirmation before checkout. If the user wants to TIP, pass that same tip as tip\_cents here so the total you show them (cart + tip) is the exact amount checkout will charge — then pass the SAME tip\_cents and that shown total (as expected\_total\_cents) to buy\_checkout.

## Inputs

| Field | Type | Description |
| - | - | - |
| `merchant` *(required)* | string | |
| `tip_cents` | number | optional tip (cents) the user asked for, to include in the shown total. Pass the SAME value to buy\_checkout. Omit if no tip. |

## Returns

None.

## Example call

```json theme={null}
{
  "tool": "buy_view_cart",
  "arguments": {
    "merchant": "\u2026"
  }
}
```


This documentation is built and hosted on [Mintlify](https://mintlify.com), a developer documentation platform.