Loki Docs
Tools › Meals › Get meals in a date range

Get meals in a date range

get_meals_in_rangeReads
What it does
Reads only. Changes nothing.
Permission
Meals, read meals:read

What your assistant is told

List the user's meals between two ISO-8601 timestamps (inclusive start, exclusive end), newest first. Returns each meal's items and computed macro totals. Use this to review what the user has eaten before answering "how am I tracking" questions.

Parameters

  • start_isotext, requiredRange start, ISO-8601 WITH a UTC offset (inclusive).
  • end_isotext, requiredRange end, ISO-8601 WITH a UTC offset (exclusive).
  • limitwhole number, optionalMax meals (default 50, capped at 200).