create_walk_run_workout
Build and upload a walk/run interval workout to Garmin Connect from run, walk, repeat, warmup, cooldown, and heart-rate zone inputs, returning the new workout ID.
Instructions
Create a walk/run interval workout and upload it to Garmin Connect.
Builds the internal Garmin JSON automatically and returns the new workout ID.
Args:
name: Workout name (e.g. "W3 Mié 2:2")
Max 256 characters: Garmin SILENTLY TRUNCATES longer names.
run_seconds: Duration of each run interval in seconds
walk_seconds: Duration of each walk/recovery interval in seconds
repeats: Number of run/walk repetitions
warmup_min: Warmup duration in minutes
cooldown_min: Cooldown duration in minutes
hr_zone: Target heart-rate zone (Z1-Z5, default Z3)
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": {
"name": "<name>",
"run_seconds": "<run_seconds>",
"walk_seconds": "<walk_seconds>",
"repeats": "<repeats>",
"warmup_min": "<warmup_min>",
"cooldown_min": "<cooldown_min>"
},
"name": "create_walk_run_workout"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| name | Yes | ||
| hr_zone | No | Z3 | |
| repeats | Yes | ||
| warmup_min | Yes | ||
| run_seconds | Yes | ||
| cooldown_min | Yes | ||
| walk_seconds | Yes |