Add events to the calendar
create_eventsAdd planned workouts, races, notes, or holidays/sickness to the athlete calendar, up to 50 events per call. Workouts sync to the athlete's watch when device integration is enabled.
Instructions
Add planned workouts, races, notes or holidays/sickness to the athlete calendar (up to 50 per call). Planned workouts sync to the athlete's watch when their device integration is enabled. Show the plan to the user and get agreement before calling. An entry with the same date, category and name as an existing one is skipped unless allow_duplicates is true. Check workout_check in the result and fix any warnings with update_event.
Workout text syntax (Intervals.icu): one step per line starting with "- ", e.g. "- 10m Z2 Pace", "- 1.5km 7:00/km Pace", "- 90s 85% Pace", "- 10m Ramp 60-80% HR", "- 5m Z2 HR". Durations: 30s, 90s, 1m30, 10m, 1h. Distances: 400mtr (meters!), 1.5km, 2mi — "400m" means 400 MINUTES. Repeats: a line ending in "Nx" (e.g. "Main set 4x") followed by its steps, then a blank line. Section lines like "Warmup"/"Cooldown" are labels. Text before the duration labels a step ("- Strides 20s Z5 Pace"). Power (rides): "75%" (of FTP), "200w", "150-180w", "Z2". Bpm ranges like "140-150bpm" are NOT supported; use HR zones or % HR.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| events | Yes | ||
| allow_duplicates | No | Create even if an identical entry exists. |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| created | Yes | ||
| skipped | Yes |