Places text search
places_search_textFind places by free text: a business name, a category, or "X in/near Y" (e.g. "coffee in Porto", "pharmacies near Lisbon Oriente"). Default choice for finding places. Use places_nearby only when you already have exact coordinates. Returns up to 20 places, each with place_id, name, formatted address, lat/lng, types, rating, opening hours (open_now and weekly hours), and attributions. Pass a place_id to places_details for phone or website.
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": "places_search_text"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| query | Yes | Free-text query, e.g. 'coffee in Austin' | |
| radius | No | Optional location bias radius in meters | |
| latitude | No | Optional location bias latitude | |
| longitude | No | Optional location bias longitude | |
| field_mask | No | ||
| included_type | No | Optional Places type filter | |
| language_code | No | ||
| max_result_count | No | 1-20 |