What is nearby
whats_nearbyTrain, tram and ferry stops, bus stops, primary and secondary schools, cafes and
restaurants, pubs, takeaways, supermarkets, parks and play areas around one home, from
official open data, within 100 m to 2 km: for each kind the count, the nearest one and
its distance. Pass closest with a kind to get the nearest N of that kind instead.
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": {
"akey": "<akey>"
},
"name": "whats_nearby"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| n | No | ||
| akey | Yes | Address key from search_addresses (hex string). | |
| closest | No | Instead of counts within the radius, list the N closest places of this one kind (expanding rings up to 16 km). | |
| radius_m | No | Radius in metres, 100 to 2000. |