get_diary_day
Read your FatSecret food diary for a specific day, grouped by meal with calories, macros, totals, targets, and remaining amounts. Use it to answer what you ate today or how much you have left.
Instructions
Read the User's Food Diary for one Diary Day.
Returns the Food Entries grouped by Meal (name, amount, kcal and Macros), the day's totals, the User's Daily Targets and what remains of them. Use it for questions like "what have I eaten today?" or "how much is left?". Past days reuse entries already read during this server session, for up to twelve hours. Today is always fresh. Set refresh=true when the User requests fresh data or says they changed this past day in the FatSecret app.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| refresh | No | ||
| diary_day | No | The Diary Day, as YYYY-MM-DD. Omit for today in the User's timezone. |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| meals | Yes | Meals that have Food Entries, in the order of the day. | |
| totals | Yes | ||
| diary_day | Yes | ||
| remaining | Yes | Daily Targets minus totals; negative once a target is exceeded. | |
| daily_targets | Yes |