Find a place
find_locationFinds the city, county or region to search businesses in and returns its location_ref for filters.locations, with its state and county. It looks up a place the user names, never the user's own location. Places are stored under their local-language names (München, Lisboa). within_state_id / within_county_id (or 'Austin, Texas') narrow the search. The answer flags ambiguous names (needs_clarification, namesakes), cities stored as several zones (city_zones) and big cities whose neighborhoods are stored under their own names (big_city), each with a hint.
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>",
"country": "<country>"
},
"name": "find_location"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| query | Yes | Name of the place to search businesses in, e.g. Lyon. | |
| country | Yes | ISO alpha-2 code. | |
| within_state_id | No | Level-1 id to search inside. | |
| within_county_id | No | Level-2 id to search inside. |