calculate_isochrone
Calculate travel time isochrones to visualize areas reachable from a location within specified time limits using walking, cycling, or driving profiles.
Instructions
Calculate travel time isochrone (areas reachable within time limit) using Valhalla
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": {
"center_longitude": "<center_longitude>",
"center_latitude": "<center_latitude>",
"max_duration_seconds": "<max_duration_seconds>"
},
"name": "calculate_isochrone"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| center_longitude | Yes | Center longitude | |
| center_latitude | Yes | Center latitude | |
| max_duration_seconds | Yes | Maximum travel time in seconds (1 minute to 1 hour) | |
| profile | No | Routing profile (default: driving). Maps to Valhalla costing: driving->auto, walking->pedestrian, cycling->bicycle | |
| contours | No | Optional: Array of contours to generate. If not provided, uses max_duration_seconds as single contour. Example: [{"time": 5}, {"time": 10}, {"time": 15}] | |
| polygons | No | Return polygons (true) or lines (false). Default: true |