Photon Search
photon_searchForward geocode, place name -> coordinates. Strong on partial / autocomplete-style queries.
Example tool call
This call uses example arguments supplied in the tool’s input schema.
{
"id": 1,
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"arguments": {
"query": "Eiffel Tower Paris"
},
"name": "photon_search"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| lat | No | Latitude bias center | |
| lon | No | Longitude bias center | |
| bbox | No | Bounding box: "min_lon,min_lat,max_lon,max_lat" | |
| lang | No | Language for the response (en, de, fr, ...) | |
| zoom | No | Zoom level for bias (0-18) | |
| layer | No | house | street | locality | city | district | county | state | country | |
| limit | No | 1-50 (default 5) | |
| query | Yes | Free-text place name / address | |
| osm_tag | No | OSM tag filter (e.g. "amenity:pharmacy") | |
| location_bias_scale | No | Strength of lat/lon bias (default 0.2) |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| features | No | Array of geocoding results |