Places along a driving route
bl_along_routeFind a specific place type—such as a gas station, restaurant, or pharmacy—along a driving route between two points, ranked by distance from the start and distance off the route.
Instructions
Find places of one kind (gas station, restaurant, pharmacy...) along the suggested driving route between two points.
Ordered by km_from_start, with off_route_km. Searches up to 12 boxes along the route, so on trips of
hundreds of km places between boxes are missed; split the trip for full coverage.
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>",
"from_lat": "<from_lat>",
"from_lng": "<from_lng>",
"to_lat": "<to_lat>",
"to_lng": "<to_lng>"
},
"name": "bl_along_route"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| what | Yes | Category slug from bl_categories (e.g. pharmacy, gas-station) or free text (e.g. پیتزا). | |
| limit | No | Max places to return (1-30). | |
| to_lat | Yes | Latitude, e.g. 35.7448. | |
| to_lng | Yes | Longitude, e.g. 51.3753. | |
| from_lat | Yes | Latitude, e.g. 35.7448. | |
| from_lng | Yes | Longitude, e.g. 51.3753. | |
| open_now | No | Only places open now. | |
| max_off_route_km | No | Max distance from the road in km (0.2-3). |