search_osm_elements
Find OpenStreetMap places by name or type within a bounded area, using coordinates or a bounding box to return nearby results sorted by distance.
Instructions
Literal case-insensitive text search in multilingual name/alt_name/ official_name tags (including :* variants) and amenity/tourism/leisure/ historic/shop tags. Requires bbox (west,south,east,north, max 0.25 degrees each side) OR lat/lon/radius_meters (1–10000m). Never a global regex scan. Results sorted by straight-line distance from point or bbox center.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| lat | No | ||
| lon | No | ||
| bbox | No | ||
| limit | No | ||
| query | Yes | ||
| element_type | No | all | |
| radius_meters | No |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| result | Yes |