Travel-time matrix
travel_time_matrixNetwork travel time (minutes) and distance (metres) from each origin to each destination. Note: points here are [latitude, longitude] pairs.
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": {
"origins": "<origins>",
"destinations": "<destinations>"
},
"name": "travel_time_matrix"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| mode | No | Travel mode: walk, bike or drive | walk |
| origins | Yes | [[lat, lon], ...] | |
| destinations | Yes | [[lat, lon], ...] |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| bbox | No | ||
| type | No | FeatureCollection | |
| features | Yes | ||
| geospark | No |