# Add to Tractor Supply cart

Automatically add to Tractor Supply cart on tractorsupply.com. Add one unit of a Tractor Supply product to the cart and get the cart back with its totals.

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

## About

Give it the product link, or the link of one variant for a product with options. You get each cart line with its name, quantity and prices in US dollars, plus the subtotal and total. Lines already in the cart stay. It adds the product to the cart as you, but nothing is paid or ordered. An unknown product fails with an error. 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/add_to_cart`, or run it from a terminal:

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

## Input

- `product` (string, required): Tractor Supply product link (the url of a Search Tractor Supply products result), or the part of it after /tsc/product/.

## Output

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

## FAQ

### What does "Add to Tractor Supply cart" do?

Add one unit of a Tractor Supply (tractorsupply.com) product to the shopping cart with the product page's own add button, by its product link (the link of one variant for a product with options), and return the cart afterwards: each line with its item id, SKU, name, quantity, prices in US dollars and a review_hash, plus the item count, subtotal and total. Works as a guest: lines already in the cart stay. Nothing is paid or ordered. An unknown product, or one the page offers no add button for, fails with an error.

### How do I automatically add to Tractor Supply cart on tractorsupply.com?

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

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

You do not need one. "Add to 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: product.

### What does it return?

It returns sku, count, lines, total, currency, subtotal, quantity_in_cart.

### 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/add_to_cart, or run it from a terminal with the Reduck CLI: npx @reduck-ai/cli@latest run --script reduck/tractorsupply.com/add_to_cart

### Who maintains it?

It is one of Reduck's official scripts.

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