add_bike
Add a cycling interval step to your Garmin workout. Set end condition as duration, distance, or lap button, and target power zone, range, or percentage.
Instructions
Add a cycling interval step.
End condition: set exactly one of duration, distance, or neither (lap button). Target: set zone OR power range OR power_pct range OR none.
Args: duration: Duration as "M:SS" or "lap" for lap button. distance: Distance like "10km", "20mi". zone: Training zone name (e.g. "threshold", "z3"). power_min: Lower power in watts. Must pair with power_max. power_max: Upper power in watts. Must pair with power_min. power_pct_min: Lower power as %FTP. Must pair with power_pct_max. power_pct_max: Upper power as %FTP. Must pair with power_pct_min.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| duration | No | ||
| distance | No | ||
| zone | No | ||
| power_min | No | ||
| power_max | No | ||
| power_pct_min | No | ||
| power_pct_max | No |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| result | Yes |