list_meals
Retrieve logged meals for any date or date range—by default today—to review meals or obtain IDs after an ambiguous update or delete match. Returns each meal's ID, date, type, food, and macros.
Instructions
List all meals logged for a date or date range, including each meal's ID, date, type, food description, and macros. update_meal and delete_meal can resolve a meal on their own from date (+ optional name substring), so this is no longer required before either — use it to answer "what did I eat today/this week/yesterday?", review what has been logged, or get an id after an ambiguous update_meal/delete_meal match.
Maximum range: 31 days per call. For longer periods, make multiple calls with sequential date ranges.
INFER — do not ask:
date: default to today
end_date: if the user asks about a week or range, set end_date to cover the full period (e.g. "this week" → date=Monday, end_date=today; "last 7 days" → date=7 days ago, end_date=today). For a single day, omit end_date.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| date | No | Start date (or the single date if no range). Format: YYYY-MM-DD. Optional — omit for today (resolved in the user's own timezone). | |
| end_date | No | End date for a range query. Format: YYYY-MM-DD. Optional — omit for a single-day lookup. |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| result | Yes | Human-readable result text returned by the tool. |