Forward geocode an address or landmark via Photon OSM
geocode_addressConvert a street address, landmark, city, or place query into OpenStreetMap coordinates and structured address fields using Komoot Photon.
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": "geocode_address"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| lat | No | Optional latitude for proximity bias. | |
| lon | No | Optional longitude for proximity bias. | |
| lang | No | Preferred Photon label language (default "default"). | |
| limit | No | Maximum number of features to return (default 5). | |
| query | Yes | Address, landmark, or place name (e.g. "Brandenburg Gate Berlin", "1600 Amphitheatre Parkway"). |