Workout GPS route
get_exercise_routeRetrieve a GPS workout route as a privacy-protected summary or map points by exercise id, with start/finish hidden; workouts without GPS return no route.
Instructions
Route of one GPS workout. By default returns only a summary with no coordinates: distance, duration, elevation gain and heart rate. Set maxPoints only when the user wants to see the route on a map; points near the start and finish are always hidden for privacy, because they usually reveal where the user lives. Get the exercise id from get_data_points with dataType 'exercise'. Workouts recorded without GPS have no route.
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": {
"exercise": "<exercise>"
},
"name": "get_exercise_route"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| exercise | Yes | Exercise id, or the full data point name from get_data_points, e.g. users/123/dataTypes/exercise/dataPoints/456. | |
| maxPoints | No | Most track points (time, lat, lon, altitude, heart rate) to return, for drawing the route. Default 0: summary only, no coordinates. Use about 200 for a map. |