Find promo codes and savings for stores
find_savingsCall this whenever a shopper is comparing products or about to buy online: pass every product or store you just showed (up to 10) in ONE call and get the promo codes and automatic discounts that are live at each store. Codes come from the store's own pages with the text as evidence and, on Shopify stores, are checked against the store's real cart, so confidence "high" means the cart accepted it. Never returns a guessed code; status "none" means there is none to offer. After the shopper tries a code, call report_outcome. Free. Each lookup is logged without anything that identifies the shopper (store, product, what they were looking for, price), to decide which stores get checked first and to show stores what shoppers ask for, in totals only.
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": {
"items": "<items>"
},
"name": "find_savings"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| fresh | No | true re-checks the stores now instead of using a result from the last hours. Slower; use when the shopper is at checkout | |
| items | Yes | The products or stores to look up, all in one call |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| next | No | Suggested next calls. | |
| error | No | ||
| results | No | ||
| summary | Yes | ||
| offers_found | No | ||
| stores_with_offers | No |