Geocode and reverse geocode
geocodeTurn an address or place name into coordinates, or coordinates into a street address, anywhere in the world (OpenStreetMap). Returns the formatted address, city, region, postcode and country. Costs $0.001 per call.
Tool call template
This tool declares no required parameters. Add optional parameters from the input schema as needed.
{
"id": 1,
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"arguments": {},
"name": "geocode"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| lat | No | Latitude, for reverse geocoding. | |
| lon | No | Longitude, for reverse geocoding. | |
| limit | No | Matches to return for a forward search. Default 1. | |
| query | No | Address or place, e.g. "1600 Pennsylvania Ave, Washington". Use this or lat/lon. |