search_places
search_placesSearch real-time Google Maps data to find restaurants, hotels, parks, and shops by name, type, or area. Filter results by open status to plan trips or locate nearby services.
Instructions
Searches for places — restaurants, cafés, hotels, attractions, shops, parks, and more — using real-time Google Maps data.
Use this when the user asks things like:
• "Find coffee shops near the Eiffel Tower"
• "Best sushi restaurants in downtown Seattle"
• "Dog-friendly parks in Austin, TX"
• "Museums open right now in London"
• "Gas stations along Highway 1"
Returns up to 20 results with name, address, star rating, price level, open/closed status, and type tags.
To get phone number, website, opening hours, and user reviews for a specific result, pass its id to get_place_details.Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| near | No | Optional location context appended to the query, e.g. 'Golden Gate Bridge, San Francisco' or 'Paris, France'. Use this to bias results toward a specific area. | |
| type | No | Optional Google Place type filter. Common values: restaurant, cafe, bar, bakery, hotel, lodging, tourist_attraction, museum, art_gallery, park, zoo, amusement_park, shopping_mall, grocery_or_supermarket, gas_station, hospital, pharmacy, gym, movie_theater, night_club, library. See Google Place Types for the full list. | |
| query | Yes | What to search for, e.g. 'coffee shop', 'Italian restaurant', 'museum', 'dog-friendly park'. | |
| open_now | No | If true, only return places that are currently open. | |
| max_results | No | Maximum number of results to return (1–20). Default: 10. |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| places | Yes | ||
| query_used | Yes | The final text query sent to the Places API |