create_course_from_gpx
Import a GPX, FIT, or TCX file and create a Garmin course in one call, naming it from the file and setting privacy and activity type.
Instructions
importCourseGpx then createCourse, in one call. Name defaults to the GPX <name>, then the filename without .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": {
"filePath": "<filePath>"
},
"name": "create_course_from_gpx"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| options | No | ||
| filePath | Yes | Absolute path to a local .fit, .gpx or .tcx file (~ is expanded) |