upload_course
Convert a GPX file into a Garmin Connect course, ready to sync to your watch for navigation or PacePro planning.
Instructions
Upload a GPX file as a Garmin Connect Course.
The course can then be loaded onto the watch (sync or "Send to Device") and used as a navigation course or to build a PacePro strategy.
Args: gpx_path: Absolute path to the .gpx file on disk. course_name: Override the course name. Defaults to the name parsed from the GPX file. activity_type: One of running, cycling, hiking, walking, trail_running, mountain_biking, road_biking, gravel_cycling. Defaults to running. description: Optional description shown on the course detail page.
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": {
"gpx_path": "<gpx_path>"
},
"name": "upload_course"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| gpx_path | Yes | ||
| course_name | No | ||
| description | No | ||
| activity_type | No | running |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| result | Yes |