Search card offers
search_offersSearch the card offers and discounts running today at shops, restaurants, hotels and online stores in Sri Lanka, from every bank on anybanq.lk. Ask in plain words (query 'shoes', 'dinner in Kandy', 'Keells', 'laptop online with Visa', 'black friday') and narrow by bank, category, card network, credit or debit, online, town or season. Results are ranked by how well they match, then by discount, with each offer's discount, bank, the cards it is for, end date and anybanq.lk page.
Tool call template
This tool declares no required parameters. Add optional parameters from the input schema as needed.
{
"id": 1,
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"arguments": {},
"name": "search_offers"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| bank | No | Bank that issued the card, e.g. 'HNB', 'Commercial Bank', 'Sampath' | |
| sort | No | relevance = best match first (biggest discount first without a query) | relevance |
| limit | No | How many offers to return (1-20) | |
| place | No | Town or Colombo area in Sri Lanka, e.g. 'Kandy', 'Kollupitiya', 'Colombo 7' | |
| query | No | What the person wants, in their words: a thing to buy, a shop or brand, a place, e.g. 'shoes', 'buffet', 'Odel', 'hotel in Ella' | |
| online | No | true = only offers for shopping online | |
| season | No | black-friday = usable over the Black Friday weekend to Cyber Monday; christmas = the banks' Christmas promotions | |
| network | No | Card network the person pays with | |
| cardType | No | Credit or debit card | |
| category | No | Offer category: dining (Dining), cafes-restaurants (Cafés & Restaurants), supermarkets (Supermarkets), hotels-leisure (Hotels & Leisure), travel (Travel), fashion (Fashion), home-lifestyle (Home & Lifestyle), online-shopping (Online Shopping), electronics (Electronics), health-wellness (Health & Wellness), beauty-salons (Beauty & Salons), jewellery (Jewellery), automobile (Automobile), education (Education), seasonal (Seasonal), e-wallets (E-Wallets), other (Other) | |
| minDiscountPct | No | Only offers of at least this percentage off |