schedule_workouts
Add one or more workouts to specific dates on your Garmin Connect calendar in a single call, using existing workout IDs or inline workout data uploaded and scheduled 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; pace targets are in m/s, not
min/km (5:00/km = 3.333 m/s).
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"}]
Tool call template
Replace each placeholder with a value matching the input schema. Only required parameters are included; add optional parameters as needed.
{
"id": 1,
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"arguments": {
"schedules": "<schedules>"
},
"name": "schedule_workouts"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| schedules | Yes |