Skip to content

Read meals

Reads your meals, newest first, by day, date range or state.

READlist_meals

Your assistant uses it to look back at your days, to check what you planned, and to make sure a meal was saved before saying so.

It takes the same input as List meals in the API.

InputTypeDescription
statestringOnly planned meals or only eaten (logged) ones; leave out for both. One of planned or logged.
daydateOnly meals on this local date, in each meal's own timezone.
fromDaydateOnly meals on or after this local date.
toDaydateOnly meals on or before this local date.
fromdate-timeOnly meals eaten at or after this time, with its UTC offset.
todate-timeOnly meals eaten before this time, with its UTC offset.
limitintegerThe most meals to return. From 1 to 100. Defaults to 20.
offsetintegerSkip this many results. Pass the nextOffset of the previous page to read on; a null nextOffset means there are no more. Defaults to 0.

The tool’s own instructions, word for word, as every assistant receives them.

Read the person's saved meals, newest first. Filter by day, by fromDay and toDay (inclusive local dates) for a range such as a week, or by from and to timestamps, and optionally by state to see plans or eaten meals. Only meals in a result exist; never claim others do. A day list_days marks partial is missing meals, so leave it out of averages and never call it a low day. To add up nutrition across meals or days, read list_day_totals rather than summing these.

Last updated