create_swim_threshold_workout
Build a single continuous threshold swim set with warmup and cooldown, then upload it to Garmin Connect for CSS pace testing.
Instructions
Create a single threshold swim set and upload it to Garmin Connect.
Good for CSS testing — one continuous threshold block after warmup.
Args: name: Workout name (e.g. "CSS Test 800m") distance_m: Threshold set distance in meters (default 800) pace: Target pace as "M:SS/100m" stroke: Stroke type warmup_m: Warmup distance in meters (default 400) cooldown_m: Cooldown distance in meters (default 200) pool_length: Pool length in meters (default 25)
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| name | Yes | ||
| pace | No | 1:42/100m | |
| stroke | No | freestyle | |
| warmup_m | No | ||
| cooldown_m | No | ||
| distance_m | No | ||
| pool_length | No |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| result | Yes |