update_scheduled_workout
Modify an existing workout on the Coros training calendar. Edit program details or exercises, and recalculate derived metrics when needed.
Instructions
Update an existing scheduled workout on the Coros training calendar.
Workflow: fetch the day with list_planned_activities_raw, edit the entity / program objects, and (if exercises changed) run them through calculate_workout_program first to refresh derived metrics.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| entity | Yes | Raw entity object from list_planned_activities_raw, with any intended edits applied. Must include idInPlan and planId. | |
| program | Yes | Raw or calculated program object. If exercises changed, first call calculate_workout_program and pass its returned program here. | |
| version_object | No | Optional explicit version object. If omitted, it is built from entity / program with status=2 (update). |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
No arguments | |||