elicit_user_needs
Create personalized recipes by specifying available ingredients, cooking utensils, and time constraints to match your culinary needs.
Instructions
Helps the user create a recipe based on their needs.
Input Schema
TableJSON Schema
| Name | Required | Description | Default |
|---|---|---|---|
| ingredients | No | ||
| utensils | No | ||
| time | No |
Implementation Reference
- main.py:316-319 (registration)Registration of the 'elicit_user_needs' tool using the @mcp.tool decorator.@mcp.tool( name="elicit_user_needs", description="Helps the user create a recipe based on their needs.", )
- main.py:320-330 (handler)Implementation of the tool handler function, which returns the provided input parameters (ingredients, utensils, time).async def elicit_user_needs( ingredients: Optional[List[str]] = None, utensils: Optional[List[str]] = None, time: Optional[int] = None, ) -> Dict[str, object]: """Aides l'utilisateur a créér une recette à partir de ses besoins""" return { "ingredients": ingredients, "utensils": utensils, "time": time, }