Compare two days
nourish_compare_daysCompare two dates' nutrition summaries to compute per-nutrient differences (calories, protein, carbs, fat, fiber, sugar, sodium) and meal-type changes. Ideal for tracking daily diet variations.
Instructions
Compute a per-nutrient diff between two days' summaries. Returns deltas (date_b - date_a) for calories, protein, carbs, fat, fiber, sugar, sodium plus what changed by meal type. Useful for 'how was today vs yesterday?' coaching.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| date_a | Yes | First date (the 'baseline' to compare against). | |
| date_b | Yes | Second date (the 'newer' / comparison date). | |
| response_format | No | json |