Nearby points of interest
nearby_poisNearby points of interest and the travel time to each, from a location (metered: 1 token per returned row). One origin: block_geoid or lat+lon; keep limit small to control spend and context size. Many origins (up to 250): block_geoids or points — one batch call and one rate-limit request, rows tagged by origin, no limit/pagination, so filter with type/mode/max_minutes. Batching saves requests and context, not tokens: it still charges per row. A non-empty truncated (+ truncated_reason) means the balance or row budget cut the batch short.
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": "nearby_pois"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| lat | No | Origin latitude (WGS84), with lon. | |
| lon | No | Origin longitude (WGS84), with lat. | |
| mode | No | walk, bike, or transit. | |
| type | No | Destination type id (see get_catalog). | |
| limit | No | Max rows (first page). | |
| points | No | Many lat/lon points — one batch call. | |
| block_geoid | No | 15-digit census block GEOID of a single origin. | |
| max_minutes | No | Upper bound on travel time (<=30). | |
| block_geoids | No | Many block GEOIDs — one batch call. |