Get workouts performed in an activity
garmin_get_activity_workoutsRetrieve the structured workouts followed during a Garmin activity, including workout name, sport, steps with targets, and creation time. Returns empty if the activity was not a structured workout.
Instructions
List the structured workouts that were followed during an activity (workout name, sport, steps with targets, creation time). Returns an empty array when the activity was not a structured workout.
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": {
"activityId": "<activityId>"
},
"name": "garmin_get_activity_workouts"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| activityId | Yes | Numeric Garmin activity ID, as returned in `activityId` by garmin_search_activities. |