search_coupons
ChatGPTFind discount codes in our own coupon catalog, by shop, by category, or both. Call this first whenever the user asks about discounts, coupons or promo codes for a shop or category, before saying anything about what is available. Pass each shop or catalogue category as the user named it, and put several in one call rather than calling this repeatedly. The answer is grouped per selector: a shop or category we do not carry comes back empty without affecting the others. It returns coupon ids; pass the ones worth showing to show_coupons, which draws the cards and is the only place the user gets the code.






