create_course_from_gpx
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": {
"filename": "<filename>",
"content": "<content>"
},
"name": "create_course_from_gpx"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| content | Yes | The file's contents: plain text for .gpx/.tcx, base64 for .fit | |
| options | No | ||
| encoding | No | How content is encoded. Default utf8; use base64 for .fit | |
| filename | Yes | File name ending in .fit, .gpx or .tcx, e.g. morning-run.gpx |