get_elevation_profile
PAID (50 credits) — elevation PROFILE along a line, not a single point: pass points=[[lon,lat],…] (up to 100) or start=[lon,lat] + end=[lon,lat] with samples (2-100, evenly spaced). Returns every point's elevation and distance plus min/max, total gain/loss, net change, mean and max segment slope. For "how steep is this route", "line-of-sight terrain between two towers", "elevation change along this pipeline/trail". Copernicus DEM GLO-90 via Open-Meteo (~90 m). The free get_terrain_profile gives one point; this gives the whole line + the maths. Needs an API key with credits — use estimate_cost first.
Returns JSON: {ok, points, distance_m, min/max/start/end_elevation_m,
total_gain_m, total_loss_m, net_change_m, mean_slope_pct,
max_segment_slope_pct, profile:[{i, lon, lat, distance_m, elevation_m}]}.
Tool call template
This tool declares no required parameters. Add optional parameters from the input schema as needed.
{
"id": 1,
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"arguments": {},
"name": "get_elevation_profile"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| end | No | ||
| start | No | ||
| points | No | ||
| samples | No |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| result | Yes |