create_workout
Build a structured running workout with warmup, run, recovery, and cooldown steps, then schedule it for a specific date and optional time; supports heart-rate or pace targets and treadmill sessions.
Instructions
Create a structured running workout and schedule it for a date.
schedule_date is 'YYYY-MM-DD'; time is optional 24h 'HH:MM'. The same name on the same date overwrites instead of duplicating. Targets: 'hr:2' (HR zone) or 'pace:6:35-6:55' (min/mi window); durations '15:00', '1mi', '400m', 'open'. Set spec.location='indoor' for treadmill sessions.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| spec | Yes | ||
| time | No | ||
| schedule_date | Yes |