Search live deals
search_dealsSearch StackTheDeal's live deals by keyword(s) — matched against deal titles, summaries, store and category. Use for questions like 'find me a deal on a coffee maker' or 'any LEGO deals?'. Optional filters narrow the matches: store (exact name), category, max_price (dollars), min_discount_pct. Sorting: pass sort — 'price_asc' returns the cheapest matches first (use it when the user asks for the cheapest), 'price_desc' priciest first, 'discount_desc' biggest percent off first; the default is 'relevance'. Results are StackTheDeal's verified site deals; each result links to its deal's page on stackthedeal.com only (results link to our pages only — the retailer's link lives on that page). Travel searches (flights, hotels, car rentals, airport transfers, eSIMs, tours) also return travel_partners: the booking partners StackTheDeal is connected to, grouped by vertical and linked to the matching section of stackthedeal.com/travel/ — surface those when the user wants to actually book, not just browse deals.
Tool call template
Replace each placeholder with a value matching the input schema. Only required parameters are included; add optional parameters as needed.
{
"id": 1,
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"arguments": {
"query": "<query>"
},
"name": "search_deals"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| sort | No | Sort order: "relevance" (default — best match / catalog order), "price_asc" (cheapest first — use when the user asks for the cheapest), "price_desc" (priciest first), "discount_desc" (biggest percent off first). | |
| limit | No | Max deals to return (1-50, default 20). | |
| query | Yes | Search words, e.g. 'air fryer' or 'LEGO'. | |
| store | No | Optional: only deals at this store (exact name, e.g. Amazon). | |
| offset | No | Pagination: skip this many matches (use the next_offset from the previous result to page further). | |
| category | No | Optional: only deals in this category, e.g. electronics, home, travel. | |
| max_price | No | Optional: only deals priced at or under this many dollars. | |
| min_discount_pct | No | Optional: only deals at least this percent off (0-100). |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| deals | No | ||
| next_offset | No | ||
| total_matching | No |