Activity workouts
get_activity_workoutsRetrieve the planned workout linked to a recorded Garmin activity, including sport, steps, targets, or suggested-workout phrase. Returns empty when no workout is linked.
Instructions
The planned workout linked to one recorded activity, if any: workoutName, sport and steps, each with intensity, durationType/durationValue (metres for DISTANCE) and a target (e.g. targetType SPEED with targetValueLow/High in m/s). An activity started from one of Garmin's daily suggested workouts may carry only a workoutPhrase (e.g. EASY_WEEK_LOAD_BASE); an empty result means no workout was linked. This is the plan; for how each rep actually went use get_activity_analysis (laps). Get the ID from search_activities.
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": {
"activity_id": "<activity_id>"
},
"name": "get_activity_workouts"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| activity_id | Yes | Garmin activity ID, from search_activities. |