search_businesses
Find businesses on Yelp by term, location, or both. Filter by category, price, open status, and more, with paginated results including ratings and addresses.
Instructions
Search Yelp for businesses matching a term, location, or both.
Use this tool when the user wants to discover businesses — restaurants, services, shops, entertainment — in a given area. It supports free-text search, geo coordinates, category filters, price tiers, open-now filtering, and pagination.
Supply at least one of: location, or both latitude + longitude.
Returns a list of matching businesses with ratings, review counts, price tier, address, and a Yelp URL. The 'total' field indicates how many results exist in the full result set; use 'offset' to paginate.
Raises ValueError when neither location nor coordinates are provided.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| params | Yes | Parameters for search_businesses. |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| businesses | No | ||
| total | No | ||
| region | No |