get_route_elevation_gain
Calculate elevation gain and retrieve elevation profile for any route. Ideal for planning cycling, hiking, or optimizing fuel efficiency.
Instructions
Calculate elevation gain and retrieve elevation profile for a route. Useful for cycling, hiking, or fuel efficiency analysis.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| origin | Yes | Starting location (address or 'lat,lng') | |
| destination | Yes | Ending location (address or 'lat,lng') | |
| mode | No | Travel mode (elevation is most relevant for bicycling/walking) | bicycling |
| samples | No | Number of elevation samples along the route (max 512) |