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.
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": {
"origin": "<origin>",
"destination": "<destination>"
},
"name": "get_route_elevation_gain"
}
}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) |