schedule_workouts
Schedule multiple workouts to specific calendar dates in Garmin Connect with a single call, using existing workout IDs or inline workout data to upload and schedule them together.
Instructions
Schedule multiple workouts to specific calendar dates
This adds workouts to your Garmin Connect calendar in a single call. Each item can either reference an existing workout by ID, or provide inline workout_data to upload-and-schedule in one step.
Args: schedules: List of workout schedules, each with: - calendar_date (str): Date to schedule the workout in YYYY-MM-DD format (required) - workout_id (int): ID of an existing workout to schedule (required unless workout_data is provided) - workout_data (dict): Inline workout JSON to upload first, then schedule (optional). When provided, workout_id is not required. Uses the same structure and target-value rules as upload_workout.
Examples: Schedule existing workouts by ID: [{"workout_id": 123456, "calendar_date": "2024-01-15"}, {"workout_id": 789012, "calendar_date": "2024-01-17"}]
Upload and schedule inline:
[{"calendar_date": "2024-01-15", "workout_data": {"workoutName": "Easy Run", ...}},
{"workout_id": 789012, "calendar_date": "2024-01-17"}]
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| schedules | Yes |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| result | Yes |