Update a calendar event
update_eventUpdate a calendar event by moving it to a different date, renaming it, or rewriting its workout steps, changing only the fields you provide.
Instructions
Change a calendar event: move it to another date, rename it, or rewrite the workout steps. Only the fields you pass are changed. Confirm the change with the user first.
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 |
|---|---|---|---|
| id | Yes | Event id (from list_events). | |
| date | No | Move to this date. | |
| name | No | ||
| time | No | Start time "HH:MM" (optional). | |
| type | No | Sport, e.g. "Run", "Ride", "Walk". Required for workouts and races. | |
| indoor | No | ||
| category | No | ||
| duration | No | Planned duration ("45:00" or seconds) when there are no workout steps. | |
| end_date | No | Last day for multi-day entries (holiday, sick, …). | |
| description | No | For workouts: the steps in workout text syntax. Otherwise free-text notes. | |
| distance_km | No | Planned distance in km. |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| event | Yes |