Find a place by name
geocode_searchFinds places, addresses and points of interest by name (geocoding). Partial text works, as for autocomplete. Each result has the name, the address, lat and lon, a bounding box (south, west, north, east), the OpenStreetMap element (osm), and for ways and relations an overpass_area_id to use in overpass_query as area(id:N). Languages: en, de, fr. One call counts as one geocoding request.
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": "geocode_search"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| kind | No | only places of this kind; settlement is a city, town, village or district | |
| near | No | prefer results near this point, such as a place named in the conversation | |
| limit | No | most results | |
| query | Yes | what to find, such as "Bundesplatz 3, Bern", "Zermatt" or "Louvre" | |
| within | No | ||
| language | No | language of the names and addresses; the local names when not set | |
| country_codes | No | only results in these countries, ISO 3166-1 alpha-2 codes such as CH or DE |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| results | Yes | ||
| attribution | No |