schedule_week
Schedule a list of workouts for a week in one call; already-scheduled dates are skipped to avoid duplicate calendar entries, and each entry's success or failure is reported.
Instructions
Schedule a list of workouts for the week in a single call.
Idempotent: if a workout is already scheduled for that date, it is
reported as already scheduled and the POST is skipped (avoids
duplicating calendar entries).
Each entry is handled on its own: an invalid or failing entry is
reported with status "failed" or "error" and the rest still run.
A successful entry includes scheduled_workout_id when Garmin returns
the calendar-entry ID; pass it to unschedule_workout to remove the entry.
Args:
week: List of dicts with keys: date (YYYY-MM-DD), workout_id (int)
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": {
"week": "<week>"
},
"name": "schedule_week"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| week | Yes |