schedule_workout
Schedule a one-off cycling, running, or intervals workout for a specific date without saving a reusable template.
Instructions
Schedule a ONE-OFF cycling/intervals/running workout for a specific date.
This is the COMMON case. Use this whenever the user wants a workout on a specific date and doesn't explicitly ask for a reusable template. Does NOT save to the Coros library — leaves no template behind.
For a REUSABLE library template instead, use save_workout_template (which saves it for re-scheduling later via schedule_workout_template).
If the user's intent is unclear, ASK THEM: "Do you want this saved as a reusable template in your library, or just scheduled as a one-off for [date]?" Don't guess.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| name | Yes | Workout name as it should appear on the calendar. | |
| steps | Yes | Same shape as save_workout_template: plain steps or repeat groups. | |
| sort_no | No | Order within the day (default 1). | |
| happen_day | Yes | Date in YYYYMMDD format. | |
| sport_type | No | Sport type ID, in the ACTIVITY namespace (as list_activities returns). Default 2 = Indoor Cycling. 200 = Road Bike, 201 = Indoor Cycling (alt). 100 = Running, 102 = Trail Running, 103 = Track Running — these map internally to the workout wire ID (sportType=1) and get the running metadata block. Don't pass 1 directly (it's the wire ID and is rejected). | |
| intensity_type | No | Intensity type ID. Defaults per sport when omitted: runs → 2 (HR), cycling → 6 (power in watts). |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
No arguments | |||