schedule_workout
Creates a structured workout and adds it to the Garmin Connect calendar for a chosen day so it syncs to the watch and guides each step; use preview to review before sending.
Instructions
Create a structured workout and put it on the Garmin Connect calendar for
day (YYYY-MM-DD). It syncs to the watch, which then guides each step. Only call
after the athlete agreed; use preview=True to show it without sending.
`sport`: running, cycling, strength, cardio, hiit, walking, hiking, yoga,
mobility, swimming or other (use other/cardio for sports Garmin has no workout
type for, e.g. motocross).
`steps` is a list of objects:
- timed/distance step: {"type": "warmup"|"interval"|"recovery"|"rest"|"cooldown",
one of "minutes" | "seconds" | "km" | "meters" (omit for 'press lap to continue'),
optional target: "hr_zone" (1-5) | "hr_bpm" [low, high] | "power_zone" |
"watts" [low, high] | "pace_per_km" ["5:40", "5:20"] | "cadence" [low, high],
optional "note"}
- repeat: {"type": "repeat", "times": 5, "steps": [...]}
- strength exercise: {"type": "exercise", "name": "Barbell Back Squat",
"sets": 4, "reps": 8 (or "seconds": 45 for holds), "kg": 60,
"rest_seconds": 90, "note": "..."}. Names must match Garmin's exercise catalog;
an unknown name returns the closest matches.
Example (intervals): [{"type":"warmup","minutes":15,"hr_zone":2},
{"type":"repeat","times":5,"steps":[{"type":"interval","minutes":3,"hr_zone":4},
{"type":"recovery","minutes":2,"hr_zone":1}]},{"type":"cooldown","minutes":10}]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": {
"day": "<day>",
"name": "<name>",
"sport": "<sport>",
"steps": "<steps>"
},
"name": "schedule_workout"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| day | Yes | ||
| name | Yes | ||
| sport | Yes | ||
| steps | Yes | ||
| preview | No | ||
| description | No |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| result | Yes |