get_meals
Retrieve the school meal menu for a given date, including breakfast, snack, lunch, afternoon snack, and dinner, and see options to choose or sign off.
Instructions
Get the meal menu for a date. Read-only. Always returns all five meal
slots (breakfast, snack, lunch, afternoon_snack, dinner) — slots not
published by the school are None.
Args: date_str: YYYY-MM-DD (default today). subdomain: School to query (defaults to the active subdomain).
Returns:
dict: {'date', 'subdomain', 'meals': {breakfast/snack/lunch/
afternoon_snack/dinner: menus}}. Each menu carries chooseable/ordered
info usable with choose_meal / sign_off_meal.
Notes: - Tries the personal ordering endpoint first; when the school hasn't enabled it, falls back to the school's public canteen menu widget.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| date_str | No | ||
| subdomain | No |