get_nearby_amenities
Find nearby amenities such as schools, hospitals, parks, transit stops, supermarkets, restaurants, and pharmacies for any location via OpenStreetMap.
Instructions
Find nearby amenities around a location using OpenStreetMap.
Returns schools, hospitals, parks, transit stops, supermarkets, restaurants, and pharmacies within the specified radius.
Args: lat: Latitude of the location lon: Longitude of the location radius_m: Search radius in meters (default: 2000, max: 5000)
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": {
"lat": "<lat>",
"lon": "<lon>"
},
"name": "get_nearby_amenities"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| lat | Yes | ||
| lon | Yes | ||
| radius_m | No |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| result | Yes |