mealie_update_recipe_ingredients
Replace an existing Mealie recipe's ingredient list with structured or raw ingredient data, patch the recipe via API, and return the updated slug and ingredient count.
Instructions
Replace the ingredient list of an existing Mealie recipe with structured data.
Each ingredient dict must contain at least 'quantity', 'unit', 'food', and optionally 'note' and 'display'. Supports both structured inputs (as returned by mealie_parse_ingredients) and raw strings (which get stored in the display/note format for backward compatibility).
The tool fetches the current recipe, replaces its ingredient list, applies any additional update_fields, and patches it back via the Mealie API.
Typical structured ingredient format: {"quantity": 650, "unit": {"name": "g"}, "food": {"name": "Süßkartoffeln"}, "note": "in etwa 4 cm große Würfel geschnitten"}
Raw string fallback: "650 g Süßkartoffeln, in etwa 4 cm große Würfel geschnitten"
Returns the updated recipe slug and ingredient count.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| slug | Yes | ||
| ingredients | Yes | ||
| update_fields | No | ||
| confirmed_by_user | No |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
No arguments | |||