> ## Documentation Index
> Fetch the complete documentation index at: https://docs.agentcard.sh/llms.txt
> Use this file to discover all available pages before exploring further.

# buy_remove_from_cart

> Remove a product from the cart at a linked merchant

Removes one product from the cart at a linked merchant. Use the product id you got from `buy_search_products`.

<Note>Not advertised in `tools/list` by default — the [buy](/companies/mcp/tools/buy) tool covers this conversationally. Expert integrations can still call it by name.</Note>

## Parameters

| Parameter    | Type   | Required | Description                            |
| ------------ | ------ | -------- | -------------------------------------- |
| `merchant`   | string | Yes      | Merchant slug (for example `goodeggs`) |
| `product_id` | string | Yes      | Id of the product to remove            |

## Returns

The updated cart: each remaining item with its quantity and price, the subtotal, and the total including fees, tax, and delivery when it differs from the subtotal. If nothing is left you get "Cart is empty." Failures return a short error message.

## Example

```json theme={null}
{ "name": "buy_remove_from_cart", "arguments": { "merchant": "goodeggs", "product_id": "prod_abc123" } }
```
