smartgym_get_routine
Fetch a workout routine by name or ID and return its warmup, main, and cooldown exercises with planned sets and recent session history for review or editing.
Instructions
Get a routine split into warmup, main and cooldown sections.
routine is a name (case-insensitive, partial allowed) or id. Each exercise shows
its exercise_id (what the edit tools take), rest, note, planned template sets, and
up to history_depth recent sessions (reps + weight_kg; 0.0 = bodyweight) with the
latest session's top set and total volume.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| routine | Yes | ||
| history_depth | No |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| days | Yes | ||
| goal | Yes | ||
| main | Yes | ||
| name | Yes | ||
| note | Yes | ||
| warmup | Yes | ||
| archived | Yes | ||
| cooldown | Yes | ||
| identifier | Yes |