List My Lunch Orders
list_my_lunch_ordersRetrieve placed lunch orders for your students, filter by student or date, and see items, menu date, status, and total—newest first.
Instructions
Returns lunch orders already placed - items, menu date, status, and total - for the authenticated user's students, newest first (up to ~100 most recent). Filters combine with AND: student_id narrows to one student; menu_date and month narrow the date range, and if both are given menu_date wins. With no filters returns recent orders across all of the user's students. Admins (pac_cordinator, lunch_cordinator) see school-wide orders; parents only their own students. For what can be ordered (menu and prices), use get_lunch_menu.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| month | No | Calendar month to query, YYYY-MM; omit when using menu_date | |
| menu_date | No | Single day to query, YYYY-MM-DD; omit when using month | |
| student_id | No | Filter to a specific student (must be your own student, from get_my_context; admins may filter any student in the school) |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| orders | No | Orders matching the filters |