create_workout
Create a time-based workout plan in Garmin Connect, including warm-up, intervals with recovery, and cool-down. Set intervals and repeats to zero for a steady session.
Instructions
Create a new time-based workout plan in Garmin Connect.
Builds a warm-up, an optional repeated interval and recovery block, and a cool-down. Set interval_minutes and repeats to 0 for a steady session.
Args: name: What to call the workout, for example "Tuesday intervals". sport: One of running, cycling, walking, swimming, hiking. warmup_minutes: Length of the warm-up. Use 0 to skip it. interval_minutes: Length of each hard interval. Use 0 for a steady session. recovery_minutes: Length of the easy recovery after each interval. repeats: How many times to repeat the interval and recovery pair. cooldown_minutes: Length of the cool-down. Use 0 to skip it.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| name | Yes | ||
| sport | No | running | |
| repeats | No | ||
| warmup_minutes | No | ||
| cooldown_minutes | No | ||
| interval_minutes | No | ||
| recovery_minutes | No |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| result | Yes |