Use this page
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.
Inputs
Section titled “Inputs”| Input | Type | Description |
|---|---|---|
state | string | Only planned meals or only eaten (logged) ones; leave out for both. One of planned or logged. |
day | date | Only meals on this local date, in each meal's own timezone. |
fromDay | date | Only meals on or after this local date. |
toDay | date | Only meals on or before this local date. |
from | date-time | Only meals eaten at or after this time, with its UTC offset. |
to | date-time | Only meals eaten before this time, with its UTC offset. |
limit | integer | The most meals to return. From 1 to 100. Defaults to 20. |
offset | integer | Skip this many results. Pass the nextOffset of the previous page to read on; a null nextOffset means there are no more. Defaults to 0. |
What your assistant is told
Section titled “What your assistant is told”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.
Use this page
Last updated
