# List Xiaomi UK cart items

Automatically list Xiaomi UK cart items on mi.com. List the items in your Xiaomi UK cart, with quantities, delivery and prices in pounds.

- Site: mi.com
- Address: `reduck/mi.com/list_cart_items`
- Updated: 2026-12-01 (v1)
- Author: Reduck AI (reduck)

## About

Use it to check the cart before you buy, or before you remove an item. You get each line with its name, quantity, prices and the most you can order, plus the item count, subtotal, delivery and total. Each line also has the value that the Remove from Xiaomi UK cart script needs. No account is needed: it reads the guest cart of the browser.

## Run it

Ask an AI agent connected to Reduck over MCP (`https://mcp.reduck.ai/mcp`) to run `reduck/mi.com/list_cart_items`, or run it from a terminal:

```bash
npx @reduck-ai/cli@latest run --script reduck/mi.com/list_cart_items
```

## Input

It takes no input.

## Output

- `count` (integer, required)
- `lines` (array, required)
- `currency` (string, required)
- `subtotal` (number, required)
- `total` (number | null, optional)
- `delivery` (number | null, optional)

## FAQ

### What does "List Xiaomi UK cart items" do?

List the items in the Xiaomi UK (mi.com/uk) shopping cart of this browser: for each line its line id, item id, name, quantity, unit price, struck-through price and line price in pounds, the most that can be ordered, link, image and a review_hash (pass it to Remove from Xiaomi UK cart), plus the item count, subtotal, delivery and total. It is the browser's guest cart: no sign-in. An empty cart gives an empty list.

### How do I automatically list Xiaomi UK cart items on mi.com?

Ask an AI agent connected to Reduck to run reduck/mi.com/list_cart_items, or run it from a terminal with the Reduck CLI: npx @reduck-ai/cli@latest run --script reduck/mi.com/list_cart_items

### Is there a mi.com API to list Xiaomi UK cart items?

You do not need one. "List Xiaomi UK cart items" drives the real mi.com pages in a browser, so it works whether or not mi.com offers an API for this.

### What information do I need to provide?

Nothing. It takes no input.

### What does it return?

It returns count, lines, total, currency, delivery, subtotal.

### Do I need to be logged in to mi.com?

No. It only uses pages of mi.com that are reachable without signing in.

### Does it change anything on mi.com, or only read data?

It only reads. It looks things up on mi.com and changes nothing there.

### How do I run it?

Ask an AI agent connected to Reduck to run reduck/mi.com/list_cart_items, or run it from a terminal with the Reduck CLI: npx @reduck-ai/cli@latest run --script reduck/mi.com/list_cart_items

### Who maintains it?

It is one of Reduck's official scripts.

Source: https://reduck.ai/explore/scripts/reduck/mi.com/list_cart_items
