get_nutrition_summary
Summarize food intake, calorie balance, and weight trends over a period; return totals, averages, and weekly weight slope for chosen windows.
Instructions
Use for food intake, calorie balance and weight trend over a period (default the 28 days ending today; read-only).
Per day: logged kcal, carbohydrates, protein and fat, the device's total and active burn and balance (custom wellness fields, codes configurable) and weight. Per window (default 7/14/28 days): intake totals and means over logged days only, days without logged intake, burn mean, balance total and mean on logged days, weight change and slope in kg per week. A day without logged intake is never 0 kcal; the device burn is an estimate; a calorie balance does not measure fat change. Optionally the Intervals.icu training load per day. Method: intervals://methods/wellness (get_guide).
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| windows | No | Comma-separated windows in days, 2-365 | 7,14,28 |
| end_date | No | Last day YYYY-MM-DD; default today | |
| athlete_id | No | Default: the configured athlete | |
| burn_field | No | Custom wellness field code of the total daily burn (kcal) | GarminTotalCalories |
| start_date | No | First day YYYY-MM-DD; default 27 days before end_date (28 days) | |
| active_field | No | Custom wellness field code of the active burn (kcal) | GarminActiveCalories |
| balance_field | No | Custom wellness field code of a device balance; where missing, intake minus burn | GarminKcalBalance |
| output_format | No | json = machine-readable, all fields | text |
| include_training_load | No | Add the Intervals.icu training load per day |