Edit a recipe or draft
update_recipeChange any field of a recipe or draft the user owns or may edit. Only fields you pass change; lists you pass replace the old ones. Every edit is saved as a new revision (undo with restore_revision). To resize permanently, pass scale_to_servings or scale_factor; for a one-off view use get_recipe. Filing fields are owner-only. Blocked on read-only accounts. Returns the updated recipe.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| id | Yes | Recipe id (UUID) from search_recipes or an earlier result | |
| diet | No | Diet labels only as the user stated them, e.g. ["Vegetarian"] | |
| tags | No | 0-3 free-form tags | |
| steps | No | Strings or {text, timer_minutes, temp_f}; replaces the whole list | |
| title | No | Dish name, max 200 chars, e.g. "Lemon Garlic Chicken" | |
| course | No | Course, same values as save_recipe | |
| method | No | Cooking methods, same values as save_recipe | |
| cuisine | No | Any level, e.g. "Mexican", "Sicilian", "Asian" | |
| occasion | No | e.g. ["Weeknight", "Christmas", "Game Day"] | |
| servings | No | Number of servings the amounts make, e.g. 4 (default 4 on save) | |
| source_url | No | Original web page URL, if any | |
| visibility | No | private = only the user; family = shared with family_group_id. Default: the user's sharing default | |
| description | No | One or two sentences about the dish, max 2000 chars | |
| ingredients | No | Lines like "2 cups flour, sifted" or {quantity, unit, item, note, group}; replaces the whole list | |
| inspired_by | No | Sources it riffs on: [{title, url}] | |
| cook_minutes | No | Cook time in minutes | |
| prep_minutes | No | Prep time in minutes | |
| scale_factor | No | Permanently multiply all amounts, e.g. 0.5 or 2 | |
| change_summary | No | Short history note, max 300 chars, e.g. "Less salt" | |
| family_group_id | No | Group id (from manage_family list) when visibility is family | |
| main_ingredient | No | Main ingredient, same values as save_recipe | |
| scale_to_servings | No | Permanently rescale all amounts to this many servings, e.g. 8 |