Elevation profile of a path
elevation_profileElevation profile along a path of two or more points: distance, ascent, descent, the lowest and the highest point, and up to 100 points along the way (distance from the start, height, lat, lon). The path is sampled every 90 m unless samples or interval_m is set. Each sample counts as one lookup, up to the plan maximum per call.
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": "elevation_profile"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| path | Yes | the points of the path in order, each with lat and lon | |
| samples | No | number of samples along the path | |
| interval_m | No | metres between samples, at least 10 |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| max_m | No | ||
| min_m | No | ||
| points | Yes | up to 100 samples, evenly spread | |
| lookups | Yes | ||
| samples | Yes | ||
| ascent_m | Yes | ||
| descent_m | Yes | ||
| distance_m | Yes | ||
| interval_m | Yes | ||
| attribution | No |