# List the Vitacost cart items

Automatically list the Vitacost cart items on vitacost.com. List the products in the vitacost.com cart of this browser, with quantity, unit price and line price, and the item subtotal.

- Site: vitacost.com
- Address: `reduck/vitacost.com/list_cart_items`
- Updated: 2026-11-25 (v1)
- Author: Reduck AI (reduck)

## Run it

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

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

## Input

It takes no input.

## Output

- `count` (integer, required): Number of units in the cart.
- `lines` (array, required)
- `total` (number | null, required): Item subtotal after the store's automatic discounts, without tax or shipping.

## FAQ

### What does "List the Vitacost cart items" do?

List the products in the vitacost.com cart of this browser, with quantity, unit price and line price, and the item subtotal.

### How do I automatically list the Vitacost cart items on vitacost.com?

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

### Is there a vitacost.com API to list the Vitacost cart items?

You do not need one. "List the Vitacost cart items" drives the real vitacost.com pages in a browser, so it works whether or not vitacost.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.

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

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

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

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

### How do I run it?

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

### Who maintains it?

It is one of Reduck's official scripts.

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