suggest_wine_pairing
Find wine recommendations for your recipes to enhance culinary experiences and complement flavors.
Instructions
Suggests a wine pairing for a recipe.
Input Schema
TableJSON Schema
| Name | Required | Description | Default |
|---|---|---|---|
| recipe_name | Yes |
Implementation Reference
- main.py:229-234 (handler)The asynchronous handler function that implements the logic for suggesting a wine pairing based on the provided recipe name by searching through Christmas recipes.async def suggest_wine_pairing(recipe_name: str) -> Dict: """Suggère un accord mets-vin pour une recette.""" for recipe in christmas_recipes(): if recipe.name.lower() == recipe_name.lower(): return {"recipe": recipe.name, "wine_pairing": recipe.wine_pairing} return {"error": "Recette non trouvée."}
- main.py:225-228 (registration)The @mcp.tool decorator registration for the suggest_wine_pairing tool, specifying its name and description.@mcp.tool( name="suggest_wine_pairing", description="Suggests a wine pairing for a recipe.", )