download_gpx_file
Download an activity as a GPX file, converting it to a format compatible with GPS devices and mapping software.
Instructions
Download activity as a GPX file.
Converts and downloads the activity as a GPX (GPS Exchange Format) file, which is compatible with most GPS devices and mapping software.
Args: activity_id: The unique ID of the activity output_path: Optional path to save the file (e.g., "/path/to/activity.gpx")
Returns: JSON string with file info and base64-encoded content (if no output_path)
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| activity_id | Yes | Activity ID to download | |
| output_path | No | Path to save the GPX file (optional) |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| result | Yes |