Search local businesses near a place
data_local_searchFind businesses and services near a place from OpenStreetMap: send what (a category such as cafe, pharmacy, hotel or dentist, or a name such as Starbucks) and near (a place such as "Hoan Kiem, Hanoi") or lat and lon, plus an optional radius_m (default 1500, at most 10000). Nominatim's best text matches in the box around the radius (at most 40), kept when they are a business inside the radius and sorted by distance, so a call can return fewer rows than page_size; each row has title, category, address, lat, lon, distance_m, phone, website and opening_hours where OpenStreetMap has them. Data © OpenStreetMap contributors, ODbL 1.0. Costs 1 credit. Every row has name (platform/collection/id), kind, its fields and source {platform, url, license, attribution, fetched_at, terms_url}; quote source.attribution when you show a row.
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": {
"what": "<what>"
},
"name": "data_local_search"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| lat | No | Latitude of the search center, with lon. | |
| lon | No | Longitude of the search center, with lat. | |
| near | No | A place to search around, such as "Shibuya, Tokyo" or "10 Downing Street, London"; or send lat and lon. | |
| what | Yes | A category (cafe, restaurant, pharmacy, hotel, supermarket, dentist...) or a business name. | |
| radius_m | No | Search radius in metres (default 1500). | |
| page_size | No | Rows to return, 1 to 40 (default 10). |