get_food_entries
Retrieve detailed food entries with macros and hydration for any date or range up to 90 days. Useful for analyzing what you ate on specific days.
Instructions
Get full individual food entries with name, macros, and all nutrients — plus hydration entries and a hydrationByDay rollup with consumed water and saved daily goals when available — for a single day or a date range (up to 90 days). Use this when the user asks about WHAT they ate ("what did I eat yesterday?", "show me everything I logged this week", "what was my dinner Tuesday?") or when you need entry-level detail for analysis (meal patterns, top sources of a macro, identifying repeat items, etc.). For daily totals / goal tracking / trends, use get_nutrition_log instead. Pass EITHER date (single day) OR from + to (range). Date parameters accept 'today', 'yesterday', 'YYYY-MM-DD', or full ISO timestamps; bare dates are interpreted in the user's LOCAL timezone so late-night meals correctly land on the same day the user went to bed. Ranges are inclusive on both ends and capped at 90 days; results are capped at 1000 entries with a truncated flag if that cap hits.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| to | No | Range end (inclusive): 'today', 'yesterday', 'YYYY-MM-DD', or ISO 8601. Requires `from`. | |
| date | No | Single date: 'today', 'yesterday', 'YYYY-MM-DD', or ISO 8601. Use this OR from+to. | |
| from | No | Range start: 'today', 'yesterday', 'YYYY-MM-DD', or ISO 8601. Requires `to`. |