# Remove a product from the Target.com cart

Automatically remove a product from the Target.com cart on target.com. Remove a product from the Target.com cart of this browser by its product id (tcin), whatever its quantity, and return what is left in the cart: each line with its product id, name, seller, quantity, unit price and line price in dollars, plus the item count and subtotal. Only the line of that product is touched. A product that is not in the cart is reported with removed false and the cart unchanged, not as a failure. Works as a guest, with no account.

- Site: target.com
- Address: `reduck/target.com/remove_from_cart`
- 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/target.com/remove_from_cart`, or run it from a terminal:

```bash
npx @reduck-ai/cli@latest run --script reduck/target.com/remove_from_cart
```

## Input

- `product` (string, required): Target product id (tcin, as listed by List Target.com cart items) or a www.target.com product link containing /A-<id>.

## Output

- `count` (integer, required)
- `lines` (array, required)
- `total` (number | null, required)
- `removed` (boolean, required)

## FAQ

### What does "Remove a product from the Target.com cart" do?

Remove a product from the Target.com cart of this browser by its product id (tcin), whatever its quantity, and return what is left in the cart: each line with its product id, name, seller, quantity, unit price and line price in dollars, plus the item count and subtotal. Only the line of that product is touched. A product that is not in the cart is reported with removed false and the cart unchanged, not as a failure. Works as a guest, with no account.

### How do I automatically remove a product from the Target.com cart on target.com?

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

### Is there a target.com API to remove a product from the Target.com cart?

You do not need one. "Remove a product from the Target.com cart" drives the real target.com pages in a browser, so it works whether or not target.com offers an API for this.

### What information do I need to provide?

Required: product.

### What does it return?

It returns count, lines, total, removed.

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

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

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

It makes changes on target.com, like sending, posting, booking or buying something.

### How do I run it?

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

### Who maintains it?

It is one of Reduck's official scripts.

Source: https://reduck.ai/explore/scripts/reduck/target.com/remove_from_cart
