Filter dishes
filter_dishesFilter the dining hall menus by allergen, trait, nutrient density, carbon footprint and calories. exclude_allergens removes dishes that carry any of the listed allergens; require_traits keeps only dishes that carry every listed trait; min_mhealthy is the lowest acceptable nutrient-density tier (3 = Nutrient Dense Medium or better); max_carbon is the highest acceptable carbon footprint; max_calories and max_sodium_mg are numeric caps that exclude dishes without published values. Allergen data is only as good as the site. The menu page flags the allergens the kitchen reported for a dish, but the data does not distinguish "contains" from "may contain", there are no ingredient lists, and it is not safe to treat a missing flag as an absence of the allergen. The site's own guidance is: "Look for the signs posted near each food serving area for a list of menu options with allergens highlighted in red." The "Gluten Free" trait means the dish is made without gluten, not that it is safe for someone with coeliac disease. Dedicated gluten-free pantries exist only at South Quad, East Quad, Mosher-Jordan and Bursley.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| date | No | Calendar date in YYYY-MM-DD. The site publishes menus for today-3 days to today+14 days. | |
| hall | No | ||
| limit | No | ||
| max_carbon | No | ||
| max_calories | No | ||
| min_mhealthy | No | ||
| max_sodium_mg | No | ||
| require_traits | No | ||
| exclude_allergens | No |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| date | Yes | ||
| matches | Yes | ||
| warning | Yes | ||
| failures | Yes | ||
| totalMatches | Yes |