Closest places by driving time
bl_nearest_by_driveRanks nearby places of a chosen category by current-traffic driving time from a point, timing selected candidates and omitting unroutable ones.
Instructions
Rank places of one kind around a point by driving time from it in current traffic, quickest first.
Times a drive to Balad's top candidates places (as bl_nearby lists them), one route call each; unroutable
places are left out. For more places without drive times use bl_nearby; details: bl_place.
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>",
"lat": "<lat>",
"lng": "<lng>"
},
"name": "bl_nearest_by_drive"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| lat | Yes | Latitude, e.g. 35.7448. | |
| lng | Yes | Longitude, e.g. 51.3753. | |
| what | Yes | Category slug from bl_categories (e.g. pharmacy, gas-station) or free text (e.g. پیتزا). | |
| open_now | No | Only places open now. | |
| radius_km | No | Box half-width in km (0.5-20). | |
| candidates | No | How many top places to time (2-8). |