Update Recipe
update_user_recipeReplace an existing user recipe with updated name, portions, ingredients, and instructions; nutrients per portion are recalculated from the specified products.
Instructions
Replace one of the user's own recipes: name, portions, ingredients and instructions. Pass the whole recipe, as for create_user_recipe; the nutrients per portion are recalculated from the products.
Tool call template
Replace each placeholder with a value matching the input schema. Only required parameters are included; add optional parameters as needed.
{
"id": 1,
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"arguments": {
"name": "<name>",
"portion_count": "<portion_count>",
"ingredients": "<ingredients>",
"id": "<id>"
},
"name": "update_user_recipe"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| id | Yes | Recipe ID from get_user_recipes or create_user_recipe | |
| name | Yes | Recipe name | |
| ingredients | Yes | Products in the whole recipe; Yazio requires at least 2 | |
| instructions | No | Preparation steps | |
| portion_count | Yes | Number of portions the recipe makes |