HERE autosuggest (typed-ahead suggestions)
here_autosuggestTurns partial address or place queries into ranked suggestions; defaults to Great Britain and can rank results near a latitude/longitude point for proximity.
Instructions
Turn a partial address/POI query into ranked suggestions using the HERE Autosuggest v7 API — the right tool when the user has typed only part of a name ("Manch", "Traff", "M6 Toll"). UK bias by default: without at, suggestions are restricted to a Great Britain bounding box (HERE Autosuggest does not accept a country-code filter). Pass at="lat,lng" to rank suggestions near a point (e.g. the driver's current location) instead. Suggestions include addresses, places, and query terms. Use here_geocode afterwards to resolve a chosen suggestion to coordinates if it has no position. For complete addresses or coordinates use here_geocode; for places around a point use here_search_places.
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_autosuggest"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| q | Yes | Partial free-text query, e.g. "Manch", "Trafford P", "M6 Toll". | |
| at | No | Optional "lat,lng" to rank suggestions by proximity (strongly recommended for in-cab use). | |
| lang | No | BCP-47 language, default en-GB. | |
| limit | No | Maximum suggestions (default 8). | |
| countryFocus | No | ISO 3166-1 alpha-3 country filter, default GBR. Use "ANY" for worldwide. Ignored when at is supplied. |