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)
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": {
"activity_id": "<activity_id>"
},
"name": "download_gpx_file"
}
}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 |