health_get_exercise_route
Retrieve the GPS route of a recorded exercise as a TCX file, optionally including trackpoints like time, position, altitude, distance and heart rate.
Instructions
Get the GPS route of one exercise, as the TCX file Google exports.
Only exercises recorded with GPS have a route, and a sync fetches routes for the workouts in its own window. The TCX text carries every trackpoint (time, position, altitude, distance, heart rate) and can run to hundreds of kilobytes, so it is returned only when asked for.
Args:
log_id: The exercise's log_id, as health_get_exercises returns it.
include_tcx: If true, include the TCX text itself.
Returns the exercise's log_id, date and provider, and the TCX text when asked for.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| log_id | Yes | ||
| include_tcx | No |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| result | Yes |