Nearest places by direction
nearby_placesCounts 1 request. By default for each of the eight everyday trips: the nearest place on foot with walking minutes, compass direction and whether within the trip's limit, then up to two more within 30 minutes. types may also ask school, elementary_school, secondary_school, childcare, playground or hospital where the release has them (limits 15, 15, 15, 15, 10, 30 min), else it refuses with the types it has; school includes a few driving schools, so for a child ask elementary_school or secondary_school. Walking only, from the point's H3 cell (basis). links.map opens the map's compass; picture adds it as an image (1 more request). Next: travel_times for other modes.
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": "nearby_places"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| lat | Yes | Latitude, decimal degrees (Canada 41.6 to 83.2). | |
| lon | Yes | Longitude, decimal degrees (Canada -141.1 to -52.6). | |
| lang | No | en or fr. | |
| types | No | Default the eight everyday trips; the six others where the release has them. | |
| api_key | No | Key from check_sign_in, if this client sends none. | |
| picture | No | Also the compass as a PNG. |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| meta | Yes | ||
| basis | Yes | ||
| links | Yes | ||
| trips | Yes |