List recently logged foods
get_recent_foodsList recently logged foods for a specific meal, ordered by usage frequency, to quickly repeat your usual breakfast or other meals.
Instructions
List foods the user recently logged in a meal, most used first, in the same shape as search_food hits. Handy for 'my usual breakfast'.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| meal | Yes | Meal slot. The keys are fixed, but users rename their meals in the app: match the user's words against get_day's meal_name and pass that meal's meal_key. Only the meals get_day lists exist. | |
| limit | No | Maximum number of hits. |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| ok | Yes | ||
| data | No | ||
| error | No | describe_error() of what went wrong; docs/AGENTS.md, Results and errors. |