create_workout
Design and add personalized interval workouts with warmup, cooldown, and repeat blocks to Garmin Connect.
Instructions
Create a new structured workout in Garmin Connect. Supports complex interval workouts with warmup, cooldown, and repeat blocks.
Example for interval running workout: { "workoutName": "5x3min Intervals", "sportType": "running", "description": "Interval training", "workoutSegments": [{ "segmentOrder": 1, "sportType": "running", "workoutSteps": [ { "stepOrder": 1, "stepType": "warmup", "endCondition": "time", "endConditionValue": 600 }, { "stepOrder": 2, "stepType": "interval", "endCondition": "time", "endConditionValue": 180, "targetType": "pace" }, { "stepOrder": 3, "stepType": "recovery", "endCondition": "time", "endConditionValue": 120 }, { "stepOrder": 4, "stepType": "cooldown", "endCondition": "time", "endConditionValue": 600 } ] }] }
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| sportType | Yes | Sport type: running, cycling, swimming, strength, cardio, walking, hiking, yoga | |
| description | No | Optional workout description | |
| workoutName | Yes | Name of the workout (required) | |
| workoutSegments | Yes | Array of workout segments containing steps |