Skip to main content
Removes one product from the cart at a linked merchant. Use the product id you got from buy_search_products.
Not advertised in tools/list by default — the buy tool covers this conversationally. Expert integrations can still call it by name.

Parameters

ParameterTypeRequiredDescription
merchantstringYesMerchant slug (for example goodeggs)
product_idstringYesId 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

{ "name": "buy_remove_from_cart", "arguments": { "merchant": "goodeggs", "product_id": "prod_abc123" } }