Save a GPX ride route
import_ride_routeRequires sign-in and the routes:write permission. Save a GPX file to the traveller's ride routes. Pass the file contents as text in gpx (up to 64 KB) and an optional name. Returns the saved route, or duplicate=true if the same file is already saved.
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": "<gpx>"
},
"name": "import_ride_route"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| gpx | Yes | The full GPX file contents as text (up to 64 KB). | |
| name | No | Optional route name. |