export_gpx
Writes a planned cycling route to a GPX 1.1 file with elevation in a specified directory for Garmin Connect import.
Instructions
Write a planned route as GPX 1.1 (with elevation) into out_dir (must exist; absolute or ~).
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": {
"route_id": "<route_id>"
},
"name": "export_gpx"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| name | No | ||
| out_dir | No | ~/Downloads | |
| route_id | Yes |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| result | Yes |