place_search
Find nearby points of interest by category using OpenStreetMap. Results are distance-sorted with bearing from the search center, useful for locating fuel, hospitals, EV chargers, and other facilities.
Instructions
Find points of interest of a given category near a location.
Searches OpenStreetMap for facilities by type -- fuel stations along a route, hospitals near an incident, EV chargers in a city, warehouses in a catchment, communication towers on a ridge. Results are sorted by distance and include the bearing from the search centre.
For one specific named place, use place_geocode instead.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| limit | No | Maximum results. | |
| category | Yes | What to look for. One of: fuel, ev_charging, parking, hospital, pharmacy, clinic, police, fire_station, school, restaurant, cafe, hotel, supermarket, bank, atm, toilets, drinking_water, bus_stop, railway_station, airport, port, warehouse, power_substation, power_tower, communication_tower, water_tower, viewpoint, shelter, campsite, peak, bridge, farmland. | |
| location | Yes | Centre of the search, as coordinates or a place name. | |
| radius_m | No | Search radius in metres. |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| meta | Yes | ||
| count | Yes | ||
| centre | Yes | ||
| places | Yes | ||
| category | Yes | ||
| radius_m | Yes |