get_daily_nutrition
Retrieve daily nutrition totals for every nutrient eaten on a specified date, including tracked and untracked values. Returns summary macros and per-nutrient amounts to assess intake against targets.
Instructions
Get daily nutrition totals for every nutrient eaten that day.
The response has:
summary: flat macro totals (energy, protein, carbs, net_carbs, fat, fiber, alcohol). A value is null if nothing that day contained it.
nutrients: each with id, name, amount, unit, category, confidence and
tracked.tracked_count and untracked_count.
tracked says whether that nutrient has a target set in Cronometer.
Untracked nutrients are still eaten and still counted here; they simply have
nothing to measure against, and Cronometer's own summary leaves them out. So
an absent nutrient means none was eaten, rather than none being tracked.
Report an untracked amount as a plain figure. It has no target, so never describe it as over, under or on track, and offer set_nutrient_target if a target would be useful.
Args: date: Date as YYYY-MM-DD (defaults to today). include_untracked: Leave true for everything eaten. False restricts the response to nutrients with targets, matching the app's own summary.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| date | No | ||
| include_untracked | No |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| result | Yes |