get_activity_workouts
Retrieve the workouts performed during a specific Garmin activity, including each device-run step, by activity ID. Returns an empty list when the activity has no workouts.
Instructions
The workouts done during an activity, with the steps the device ran. GETs /activity-service/activity/{id}/workouts: the workouts done during the activity, {index, workoutName, timeCreated, sport, manufacturer, multisportSet, steps, workoutPhrase} with the steps the device ran (PersonalApi.ActivityWorkoutDTO, matched key for key, steps included). [] for an activity done without one.
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": "get_activity_workouts"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| activityId | Yes | Numeric id |