Geocoding & Reverse Geocoding
geocodeTurn an address, place or landmark into coordinates with a structured address, or coordinates into the nearest address (reverse), from OpenStreetMap. Use for maps, delivery, distance calculations or location lookups.
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 |
|---|---|---|---|
| q | No | ||
| lat | No | ||
| lon | No | ||
| lang | No | en | |
| limit | No |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| result | Yes |