search_dishes
Food Tales: find dishes
Find dishes and recipe ideas in the Food Tales catalog by name, keyword, cuisine or region, diet, and allergens to avoid. Use it whenever the user wants dish suggestions or asks about a dish, e.g. 'find a vegetarian Kerala dish', 'what should I cook tonight', 'spicy Thai noodles without peanuts', 'gluten-free Mexican mains', 'what is avial'. Give at least one of query, cuisine or diet_tags; put a region or country in cuisine and diets in diet_tags rather than in query. Returns matching dishes with cuisine, course, diet tags and a dish_id (DSH-...) for get_dish_details and check_dietary_compatibility. Costs the user's plan 1 credit (3 when a query is combined with filters).
Parameterslimitquerycuisinediet_tagsexclude_allergens
get_dish_details
Food Tales: dish ingredients, nutrition and allergens
Ingredients, nutrition per serving (calories, protein, carbs, fat and more), allergens, diet tags, region and a description for one dish from the Food Tales catalog. Use it when the user asks what is in a dish, how healthy it is, its calories or macros, or wants a dish's ingredient list, e.g. 'what's in avial?', 'how many calories in chicken biryani?'. Needs a dish_id from search_dishes. Values the catalog lacks come back as 'unknown'; the catalog has no step-by-step method. 1 credit.
Parametersdish_idrequiredinclude_nutritioninclude_ingredients
check_dietary_compatibility
Food Tales: check a dish for diets and allergies
Checks against Food Tales catalog data whether a dish fits a diet (vegan, vegetarian, gluten-free, dairy-free, pescatarian) and avoids given allergens, with the reason for each verdict. Use it when the user asks whether a dish is safe or suitable for them or someone else, e.g. 'is pad thai gluten free?', 'can my vegan friend eat this?', 'does this have nuts?'. Needs a dish_id from search_dishes. 'compatible' needs catalog evidence; anything unconfirmed is 'requires_verification'. Not medical advice. 4 credits.
Parametersdish_idrequiredexcluded_allergensdietary_constraints
get_ingredient_substitutions
Food Tales: ingredient substitutes
Food Tales' curated replacements for an ingredient, filtered by diet and allergens, with the ratio to use and how it changes taste and texture. Use it when the user is missing an ingredient or needs to adapt a recipe, e.g. 'what can I use instead of paneer?', 'make this dairy-free', 'egg substitute for baking'. No dish_id needed. 1 credit.
Parameterslimitingredientrequireddish_contextexclude_allergensdietary_constraints
get_nutrition
Food Tales: nutrition for a meal
Calories, protein, carbs and fat for one or more dishes from the Food Tales catalog, scaled to the servings eaten, with a total and the share of calories from each macro. Use it when the user asks about the nutrition of a meal or several dishes together, e.g. 'how many calories in biryani and raita?', 'macros for my dinner', 'is this lunch high in protein?'. Needs dish_ids from search_dishes (up to 10). Values the catalog lacks stay 'unknown' and the total says which dishes they are missing from. Estimates, not medical advice. 1 credit for the first dish, 0.5 for each extra (rounded up).
Parametersdish_idsrequiredservings
generate_meal_plan
Food Tales: meal plan
Builds a 1 to 7 day meal plan (breakfast, lunch, dinner, snack) from Food Tales catalog dishes, by cuisine, diet and allergens to avoid, with calories and macros per day. Use it when the user asks for a meal plan or menu for several meals or days, e.g. 'plan a vegetarian week of Indian dinners', 'three days of gluten-free meals', 'a Kerala and Thai menu for the weekend without peanuts'. Only dishes tagged with every requested diet are used; dishes that can't be confirmed free of an excluded allergen are flagged. Returns dish_ids to pass to make_grocery_list. Saves nothing. 30 credits, so call it once per plan the user asks for, not to suggest a single dish. Not charged if no dish fits.
Parametersdaysmealscuisinesservingsdiet_tagsexclude_allergens
make_grocery_list
Food Tales: grocery list
One shopping list for several Food Tales dishes: ingredients scaled to the servings, combined across dishes, added up where units match and grouped by aisle, leaving out what the user already has. Use it when the user wants a grocery or shopping list for dishes or a meal plan, e.g. 'make a shopping list for this week's plan', 'what do I need to buy for avial and sambar for 4?', 'grocery list, I already have rice and spices'. Needs dish_ids (up to 21) from search_dishes or generate_meal_plan. Quantities come from one reference recipe per dish. 1 credit for the first dish, 0.5 for each extra (rounded up).
Parametersdish_idsrequiredservingshave_on_hand