health_get_exercise_route
Retrieve an exercise's GPS route as a TCX file by log_id, optionally including the full trackpoint data when needed.
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.
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": {
"log_id": "<log_id>"
},
"name": "health_get_exercise_route"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| log_id | Yes | ||
| include_tcx | No |