distance_matrix
Calculate distances and travel times between multiple points. Specify an origin and destinations to receive a matrix of distances and durations.
Instructions
Calculate distances and travel times between multiple points. First coordinate is the origin; all others are destinations. Returns a matrix of distances and durations.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| profile | No | Travel mode (default: driving) | |
| coordinates | Yes | Semicolon-separated lat,lng points. e.g. '28.55,77.13;28.48,77.05;28.63,77.21' (min 2 points) |