download_course_gpx
Download a Garmin Connect course as a GPX file rebuilt from track points and waypoints, so you can save or export it for navigation or backup.
Instructions
Download a Garmin Connect course as a GPX file.
The GPX is rebuilt from the course's track points (lat/lon/elevation)
and course points (as waypoints); it is not the originally uploaded file.
Args:
course_id: ID of the course to download.
output_path: Optional destination directory (saved as {course_id}.gpx)
or file path ending in .gpx; any other file path is rejected.
Defaults to the download_activity_file directory
(GARMIN_FIT_DOWNLOAD_DIR, then set_fit_download_dir), else
./courses/{course_id}.gpx.
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": {
"course_id": "<course_id>"
},
"name": "download_course_gpx"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| course_id | Yes | ||
| output_path | No |