Export AllTrails trail GPX
alltrails_get_trail_gpxExport an AllTrails trail route as GPX 1.1 XML with per-point elevation, ready to save or import into navigation apps.
Instructions
Export an AllTrails trail's route as a GPX 1.1 document (track points with per-point elevation), built from the trail's offline-detail route geometry. Returns raw GPX XML suitable for saving to a .gpx file or importing into navigation apps.
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": {
"trailId": "<trailId>"
},
"name": "alltrails_get_trail_gpx"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| trailId | Yes | Numeric AllTrails trail id |