add_planned_workout
Add a raw planned workout to the Coros training calendar using existing entity and program objects, ideal for programmatic scheduling when you already have the required data.
Instructions
Add an inline planned workout to the Coros training calendar.
This is a low-level escape hatch for callers that already hold raw entity / program objects (e.g. copied from list_planned_activities_raw). For the common case of building and scheduling a workout, prefer schedule_workout.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| entity | Yes | Raw schedule entity object. Must include idInPlan and happenDay. | |
| program | Yes | Raw program object to add to the calendar. | |
| version_object | No | Optional explicit version object. If omitted, it is built with status=1 (add). |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
No arguments | |||