HERE geocode (address → coordinates)
here_geocodeConvert free-text addresses or place names into WGS84 coordinates for routing, search, or mapping, returning ranked matches with optional country focus.
Instructions
Resolve a free-text address or place to WGS84 coordinates using the HERE Geocoding & Search v7 API. Use this first when you only have an address and need a point for routing, search or mapping. UK defaults: a country focus of GBR (set countryFocus to another ISO-3166-1 alpha-3 code, or "ANY" to search worldwide) and lang=en-GB. Examples: {"q":"10 Downing Street, London"}, {"q":"Trafford Park, Manchester"}, {"q":"M6 Toll","types":["place"]}. Returns a ranked list with formatted address components, lat/lng, bounding box and match score. Empty results are a success with count=0.
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": {
"q": "<q>"
},
"name": "here_geocode"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| q | Yes | Free-text query: full address, postcode, place or landmark, e.g. "10 Downing Street, London" or "Trafford Park". | |
| at | No | Optional context point "lat,lng" used to rank nearby matches (e.g. "53.4808,-2.2426"). | |
| bbox | No | Optional bounding box filter [west, south, east, north] in degrees. Overrides countryFocus. | |
| lang | No | BCP-47 language for returned names, default en-GB (e.g. "cy" for Welsh labels where available). | |
| limit | No | Maximum results to return (1-100, default 5). | |
| types | No | Restrict result types, e.g. ["address","street"]. Omit for all types. | |
| countryFocus | No | ISO 3166-1 alpha-3 country to filter results, e.g. GBR. Defaults to the server default (GBR). Use "ANY" to search all countries. | |
| politicalView | No | Optional ISO 3166-1 alpha-3 political view, e.g. CYP for a CYPRUS-specific view. |