Shopper: search products
search_productsFind a product the user has already chosen, by exact name, model number or barcode (UPC/EAN), and get its id for compare_prices. Use this when the user is ready to buy: they ask where to buy it, for the best price now, whether a price is a good deal, or for a link. For a parts or shopping list, search each item. Not for researching what to buy (e.g. 'best headphones under $200'): decide that yourself, then search for the chosen model. Do not use for recall or safety questions (use check_recalls).
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| brand | No | Only this brand, e.g. 'Dyson', when the user names one | |
| limit | No | ||
| query | Yes | The chosen product's name, model number or UPC/EAN, e.g. 'Sony WH-1000XM6' or '045496884963'; not a category | |
| condition | No | new unless the user asks for used, open-box or refurbished; 'used' covers all of those | new |
| max_price | No | Highest price in USD, e.g. 100 for 'under $100' | |
| min_price | No | Lowest price in USD, when the user gives a budget floor | |
| in_stock_only | No | Only products with at least one in-stock offer |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| query | Yes | ||
| results | Yes | ||
| sample_data | Yes |