Geocode Address or Landmark
alterlab_geocodeResolve an informal address, place name or landmark description (including distance hints like 'a school 67 m away, a university 272 m away') to coordinate candidates. Each candidate has name, address, lat, lng, a 0-1 confidence that rises when sources agree, and the source and source_url it came from. Pass near (lat/lng), city or country to bias results. Cost: priced like one search query; no charge when nothing is found.
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": "alterlab_geocode"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| city | No | City or area name used to bias the search. | |
| near | No | Bias point: candidates closer to it rank higher. | |
| query | Yes | Informal address or landmark description. | |
| country | No | ISO 3166-1 alpha-2 country code. | |
| max_results | No | Maximum candidates returned. Default: 5. |