Create Workout
create_workoutBuild structured workouts in Garmin Connect with intervals, warmups, and cooldowns. Input workout details and segments to schedule training plans.
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 } ] }] }
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": {
"workoutName": "<workoutName>",
"sportType": "<sportType>",
"workoutSegments": "<workoutSegments>"
},
"name": "create_workout"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| sportType | Yes | Sport type. One of: running, cycling, walking, swimming, strength, cardio, yoga, pilates, hiit, mobility, rucking, other. The workout service has no hiking type; use walking or rucking. | |
| description | No | Optional workout description | |
| workoutName | Yes | Name of the workout (required) | |
| workoutSegments | Yes | Array of workout segments containing steps |