search_menu
Search and filter campus dining menu items by text, dietary tags, excluded ingredients, and macro limits, with optional nutrient sorting.
Instructions
Search and filter menu items by text, diet tags, excluded ingredients and macro limits, optionally sorted.
Examples: high-protein lunch -> meal='lunch', min_protein_g=25, sort_by='protein_g'; vegan dinner under 500 kcal -> meal='dinner', tags=['vegan'], max_calories=500; nothing with peanuts -> exclude=['peanut'].
Args: query: text matched against item name, station, description and ingredients. meal: 'breakfast', 'lunch', 'dinner'. Omit to search the whole day. date: YYYY-MM-DD, 'today', 'tomorrow' or a weekday name. Defaults to today. tags: every tag must match (substring, case-insensitive), e.g. ['vegan']. See list_dietary_tags. exclude: drop items whose name, tags, allergens, description or ingredients mention any of these. min_protein_g: keep items with at least this much protein. max_calories: keep items at or under this many kcal. max_carbs_g: keep items at or under this many grams of carbohydrate. max_fat_g: keep items at or under this many grams of fat. sort_by: any nutrient key (calories, protein_g, carbs_g, fat_g, fiber_g, sodium_mg, ...) or protein_per_100kcal. descending: sort high-to-low (default) or low-to-high. limit: maximum number of items to return (default 25).
Tool call template
This tool declares no required parameters. Add optional parameters from the input schema as needed.
{
"id": 1,
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"arguments": {},
"name": "search_menu"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| date | No | ||
| meal | No | ||
| tags | No | ||
| limit | No | ||
| query | No | ||
| exclude | No | ||
| sort_by | No | ||
| max_fat_g | No | ||
| descending | No | ||
| max_carbs_g | No | ||
| max_calories | No | ||
| min_protein_g | No |