Find a product in stock at nearby stores
search_productsUse this when someone asks where to find a specific product near a place, who has it, or whether it is in stock near a city or ZIP code ("where can I find Nike Dunks near South Bend?", "who has the New Balance 550 near 46204?", "is the adidas Samba in stock near me in size 8?"), including indirect needs with a deadline ("I need Dunks in size 9 before Saturday"). Covers only the stores Aisles lists in 180 metro areas: JD Sports, DICK’S Sporting Goods stores and the stores inside 9 specific Simon malls, not every chain or store. Returns the closest store listings: whether each store reported the item in stock, the retailer-reported price (possibly an online or regional price; a range across sizes/colors when no size is given), pickup/delivery options and when Aisles last checked. Not for online-only shopping or shipping orders, restaurants and food delivery, places outside the covered metro areas, chains or stores Aisles does not list, reserving or holding items, and promises that an item will still be there later. A listing is the retailer's last report, not a guarantee for a later day or a deadline. Add size, fulfillment, max_price or availability only when the user asked for them; if a fulfillment, price or availability filter leaves nothing, the reply lists what there is without it. A size is never dropped.
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_products"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| size | No | The clothing or shoe size the user stated, exactly as said, e.g. "8", "10.5", "M", "32". Only when the user gave one; a package amount is not a size. | |
| limit | No | Number of listings to return (default 8). | |
| query | Yes | Product words only: brand, product name or kind, e.g. "nike air force 1", "adidas samba", "new balance 550", "under armour hoodie". A brand alone is fine when that is all the user named. Package quantities and amounts ("2 pack", "32 oz") stay here. Leave out the place and the clothing or shoe size. | |
| location | No | The place the user named: a covered metro slug or name (list_locations has them all) or a 5-digit ZIP code in those areas. Town and mall names are not resolved: for a town or mall inside a metro, use the metro (Del Amo Fashion Center or Torrance: los-angeles; King of Prussia or King of Prussia: philadelphia; Mall of Georgia or Buford: atlanta; Roosevelt Field or Garden City: new-york; Sawgrass Mills or Sunrise: fort-lauderdale; South Shore Plaza or Braintree: boston; The Galleria or Houston: houston; University Park Mall or Mishawaka: south-bend; Woodfield Mall or Schaumburg: chicago) or the town's ZIP. Leave it out when the user named no place: their approximate location is used if the app supplies it, and otherwise the reply asks for a city or ZIP. | |
| max_price | No | Maximum price in US dollars. | |
| fulfillment | No | Only stores offering all of these. | |
| size_system | No | Only when the user said whose size it is: US_MENS, US_WOMENS, US_YOUTH, US_UNISEX, EU or UK. Never infer it from the number alone ("size 8" has no system). | |
| availability | No | Default "available": in stock or low stock. | |
| radius_miles | No | Search radius in miles. Leave it out for a city to cover every store Aisles lists there, including malls outside the center; a ZIP defaults to 10 miles. |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| total | Yes | ||
| results | Yes | ||
| location | No | ||
| alternatives | No |