search_businesses
Search Yelp for businesses by term, location, or coordinates. Filter by category, price, open-now status, and sort results to find restaurants, services, or shops.
Instructions
Search Yelp for businesses matching a term, location, or both. Use when the user wants to discover restaurants, services, or shops. Supports free-text search, geo coordinates, category filters, price tiers, open-now filtering, and pagination via limit/offset. Supply at least one of: location, or both latitude + longitude.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| term | No | Search term, e.g. 'tacos', 'coffee', 'plumbers'. Omit to browse by location only. | |
| location | No | Address, neighbourhood, city, or ZIP code. Required unless latitude + longitude are provided. | |
| latitude | No | Decimal latitude. Pair with longitude. | |
| longitude | No | Decimal longitude. Pair with latitude. | |
| radius | No | Search radius in metres (max 40 000 ≈ 25 miles). | |
| categories | No | Comma-separated Yelp category aliases, e.g. 'restaurants,bars'. | |
| price | No | Comma-separated price tiers: '1'=$, '2'=$$, '3'=$$$, '4'=$$$$. Example: '1,2'. | |
| open_now | No | When True, only return businesses currently open. | |
| sort_by | No | Sort order: 'best_match' (default), 'rating', 'review_count', or 'distance'. | |
| limit | No | Results per page (1–50, default 20). | |
| offset | No | Zero-based offset. Use with limit to paginate: page 2 = offset 20 when limit=20. |