get_workout_by_id
Retrieve detailed workout information by numeric ID or UUID, including segments, step structure, and optional raw Garmin data for scheduled or training-plan workouts.
Instructions
Get detailed information for a specific workout
Returns workout details including segments and step structure.
Accepts either:
- Numeric workout ID (from get_workouts, get_scheduled_workouts, or
training-plan families that expose workout_id)
- Workout UUID (from adaptive Garmin Coach/training-plan workouts)
Rest-day UUIDs can resolve to a minimal record without a workout name
or segments.
Pace target values are speeds in meters per second. target_value_low
and target_value_high preserve Garmin's targetValueOne/targetValueTwo
order; they are not sorted by magnitude.
Args:
workout_id: Workout ID (numeric) or UUID (for training plan workouts)
raw: Return Garmin's full workout JSON (the DTO format upload_workout
describes) instead of the simplified summary, which leaves fields out.
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": {
"workout_id": "<workout_id>"
},
"name": "get_workout_by_id"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| raw | No | ||
| workout_id | Yes |