Create elevation profile
create_elevation_profileDraw an elevation profile from a GPX file with elevation data and return it as SVG.
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": {
"gpx": "<gpx>"
},
"name": "create_elevation_profile"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| gpx | Yes | Content of the GPX file (XML text) | |
| sport | No | Colour preset by sport and difficulty | |
| style | No | Visual style | |
| title | No | Heading; defaults to the track name | |
| aspect | No | Width divided by height | |
| autoAxis | No | Derive the elevation axis from the data even if the preset fixes it (recommended) | |
| showPeak | No | Label the highest point | |
| fillColor | No | Fill colour, #rrggbb | |
| lineColor | No | Line colour, #rrggbb | |
| showStats | No | Show a line with length, ascent and descent | |
| distanceStep | No | Distance between kilometre marks; 0 = automatic | |
| showWaypoints | No | Show waypoints |