Workout Plan
render_workoutTurn a JSON workout plan into an interactive dashboard with dark theme, metrics, tips, video links, and progress tracking. Visualize weekly routines and monitor performance.
Instructions
Render an interactive workout plan with dark theme, summary metrics, expandable exercise cards with tips and video links, progress tracking, and history. Pass plan as a JSON array of week objects. IMPORTANT: Each exercise MUST include video_url with a real YouTube link to a proper form demonstration video. Also include estimated_calories, duration_minutes, and tips (array of form cue strings).
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| plan | Yes | JSON array: [{"week":"Week 1","days":[{"day":"Monday","focus":"Upper Body","exercises":[{"name":"Bench Press","sets":3,"reps":"10","rest":"90s","muscle_group":"chest","estimated_calories":80,"duration_minutes":8,"tips":["Keep elbows at 45 degrees","Drive feet into floor"],"video_url":"https://youtube.com/..."}]}]}] | |
| title | No | Plan title | |
| estimated_total_calories | No | Estimated total calories for the full program | |
| estimated_total_duration | No | Estimated total duration in minutes |