upload_block
Upload a block of planned workouts to the intervals.icu calendar, verify durations to catch silent DSL errors, and update without duplicates on re-run.
Instructions
Puts a block of planned workouts in the intervals.icu calendar.
From there the workouts sync to Zwift (Workouts -> Custom -> Intervals.icu) and Garmin.
Write the block name, the workout names and the descriptions in ENGLISH, even when talking to the user in another language. The calendar, Zwift and Garmin are English, and these workouts outlive the conversation.
After the upload, the server's interpretation of each workout is compared with the duration you stated. That catches DSL mistakes that would otherwise be silent — above all nested repeats, which make the workout shorter than intended without the server complaining. Read the warnings: a workout can upload without errors and still be wrong.
Re-run with the same block_name to correct; it creates no duplicates.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| workouts | Yes | The workouts to put in the calendar. | |
| block_name | Yes | Name of the block, e.g. 'winter-block-2027'. ALWAYS in ENGLISH, whatever language the conversation is in. Becomes part of each workout's external_id and is the key for listing or deleting the block later. Uploading the same block name again UPDATES the workouts instead of duplicating them — re-run with the same name to correct a block. |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| result | Yes |