Calculate Drive Times
calculate_drive_timesCalculate realistic drive times from an origin to multiple campgrounds using Mapbox routing with live traffic.
Uses the Mapbox Matrix API for traffic-aware routing. Maximum 9 destinations per request.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| destinations | Yes | List of {campground_id: str, latitude: float, longitude: float} (max 9) | |
| origin_latitude | Yes | Latitude of starting location | |
| origin_longitude | Yes | Longitude of starting location |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
No arguments | |||