Elevation Line
elevation_line"Elevation profile along a route" / "hiking trail elevation gain" / "topographic profile of [path]" / "how hilly is this route", elevation samples along a geometry (linestring). Pass geojson / polyline / encodedpolyline5 / encodedpolyline6. Use for hiking elevation gain, cycling grade analysis, trail planning, terrain profiles.
Example tool call
This call uses example arguments supplied in the tool’s input schema.
{
"id": 1,
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"arguments": {
"geometry": {
"type": "LineString",
"coordinates": [
[
8.681495,
49.41461
],
[
8.687872,
49.420318
]
]
},
"format_in": "geojson"
},
"name": "elevation_line"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| geometry | Yes | Per format_in | |
| format_in | Yes | geojson | polyline | encodedpolyline5 | encodedpolyline6 |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| version | No | ||
| geometry | No | LineString (or polyline in the requested format_out); geojson coordinates are [lon, lat, elevation_m] | |
| timestamp | No | ||
| attribution | No |