Get an elevation profile along a path
get_elevation_profileSample the terrain elevation evenly along a path of coordinates (Kartverket DTM) and return the profile plus total distance, ascent, and descent. Useful for hikes and routes. Give the path vertices in order; samples controls resolution.
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": {
"path": "<path>"
},
"name": "get_elevation_profile"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| path | Yes | Ordered path vertices (at least 2). The path is sampled evenly between them. | |
| samples | No | Number of evenly spaced points to sample along the whole path |