Geocode Address
geocodeConvert an address to precise latitude and longitude coordinates. Returns rooftop-level accuracy where available, with clear indication of accuracy type.
Instructions
Convert an address into latitude + longitude. Returns rooftop coordinates where available, falling back to street, postcode, or locality centroid (with accuracy_type indicating which).
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": {
"country": "<country>"
},
"name": "geocode"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| country | Yes | ISO 3-letter country code, e.g. `gbr`, `usa`, `deu`. | |
| street | No | ||
| house_number | No | ||
| city | No | ||
| postcode | No | ||
| state | No |