create_run_workout
Create a continuous run workout with warmup and cooldown, upload it to Garmin Connect, and target a Garmin heart-rate zone or a custom bpm range.
Instructions
Create a continuous run workout and upload it to Garmin Connect.
Builds a single uninterrupted run interval with warmup and cooldown walks.
Targets a named Garmin heart-rate zone by default. Named zones (Z1-Z5) don't line up with every real training target -- e.g. a 136-148 bpm Zone 2 goal straddles Garmin's Z2 (118-137) and Z3 (138-157). Pass hr_min and hr_max together to target that exact bpm range instead; the watch will then show "in range" only for the range you actually want, not a whole zone that over- or under-shoots it.
Args: name: Workout name (e.g. "Step 8 - 30min continuous") run_seconds: Duration of the run in seconds warmup_min: Warmup walk duration in minutes cooldown_min: Cooldown walk duration in minutes hr_zone: Target heart-rate zone (Z1-Z5, default Z3). Ignored if hr_min/hr_max are given. hr_min: Optional custom target heart rate range, minimum bpm (must be given with hr_max) hr_max: Optional custom target heart rate range, maximum bpm (must be given with hr_min)
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| name | Yes | ||
| hr_max | No | ||
| hr_min | No | ||
| hr_zone | No | Z3 | |
| warmup_min | Yes | ||
| run_seconds | Yes | ||
| cooldown_min | Yes |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| result | Yes |