# Remove from Tractor Supply cart

Automatically remove from Tractor Supply cart on tractorsupply.com. Remove one line from your Tractor Supply cart and see what is left.

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

## About

Use it to clean up the cart before checkout. It removes the whole line, whatever its quantity. If the line changed since you listed the cart, or is not in the cart, it removes nothing and fails with an error. It acts on the cart of this browser. No account is needed.

## Run it

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

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

## Input

- `item_id` (integer, required): The line's item_id from List Tractor Supply cart items.
- `review_hash` (string, required): The line's review_hash from List Tractor Supply cart items.

## Output

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

## FAQ

### What does "Remove from Tractor Supply cart" do?

Remove one line from the Tractor Supply (tractorsupply.com) shopping cart of this browser, whatever its quantity, by its item id and the review_hash that List Tractor Supply cart items gives for it, and return what is left. The review_hash makes sure the line is still the one that was reviewed (same SKU, quantity and price): when it changed, or the line is not in the cart, nothing is removed and the run fails with an error.

### How do I automatically remove from Tractor Supply cart on tractorsupply.com?

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

### Is there a tractorsupply.com API to remove from Tractor Supply cart?

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

### What information do I need to provide?

Required: item_id, review_hash.

### What does it return?

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

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

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

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

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

### How do I run it?

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

### Who maintains it?

It is one of Reduck's official scripts.

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