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 a 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,
however far (the way to ask "how far is the station" for a rural home). To compare
many homes, pass up to 50 keys in akeys and get one row per home in homes: one
call covers the whole list.
Use it for amenities and transport. Crime and air quality are in address_report;
compare_homes also names the nearest station, school, supermarket and park for two to
four homes. Keys come from search_addresses or any row another tool returned. A kind
with nothing inside the radius is left out of kinds (an empty kinds means nothing
within it at all): widen radius_m or use closest. Schools here are by distance only, not catchment
or Ofsted rating.
Tool call template
This tool declares no required parameters. Add optional parameters from the input schema as needed.
{
"id": 1,
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"arguments": {},
"name": "whats_nearby"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| n | No | How many closest places, with `closest`: 10 by default, up to 25 for one home; at most 3 per home with `akeys`. | |
| akey | No | Address key of one home, from search_addresses. Give this or `akeys`. | |
| akeys | No | Several homes in one call, up to 50 address keys: use this instead of calling once per home, for example for every home recent_sales or search_homes_for_sale returned. | |
| 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. |