get_route_as_gpx
Export any Strava route as a GPX file using its route ID for offline navigation or compatibility with GPS devices.
Instructions
Export Route GPX
Endpoint: GET /routes/{id}/export_gpx
Description: Returns a GPX file of the route. Requires read_all scope for private routes.
Read-only operation. Scopes: required: read_all.
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": {
"id": "<id>"
},
"name": "get_route_as_gpx"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| id | Yes | The identifier of the route. |