choose_meal
Order a school meal for a date and meal type by selecting a menu number. Read available menus first to pick a valid number.
Instructions
Order/choose a meal. Writes: books the selected menu for the date.
Args:
date_str: YYYY-MM-DD to order for.
meal_type: 'snack' | 'lunch' | 'afternoon_snack'.
number: 1-based menu choice among the chooseable menus (see get_meals).
subdomain: School to query (defaults to the active subdomain).
Returns: dict: {'ordered': True, meal_type, date, number}.
Notes:
- Read get_meals first for the date to pick a valid number.
- To cancel, use sign_off_meal.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| number | Yes | ||
| date_str | Yes | ||
| meal_type | Yes | ||
| subdomain | No |