Update Fitatu Recipe
update_recipeUpdate a specified Fitatu recipe partially by raw recipe ID—change ingredients, steps, tags, servings, or timing while preserving omitted fields. Use null to clear time fields and [] to clear lists.
Instructions
Partially updates and confirms an owned active recipe identified by a raw recipeId. The same create limits apply. Pass preparation instructions as steps with one step per array item so Fitatu displays separate step fields. Omitted fields, including steps and mealSchema, are preserved; null clears nullable time fields, and [] clears lists. Raw public mealSchema values returned by get_recipe are not necessarily accepted mutation inputs. Tag categories must be RECIPE_TAG_USERS_TYPE or already present on this recipe. Fitatu may replace the identity; always use the returned recipeId. Returns { status, previousRecipeId, recipeId, identityChanged, details, warnings }; details.measures contains measureId values accepted by add_meal_items.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| name | No | Replacement recipe name. Omit to preserve the current name. | |
| tags | No | Complete replacement tag list. Omit to preserve current tags; use [] to remove all tags. | |
| steps | No | Complete replacement preparation steps without numeric prefixes. Put one step in each string; omit to preserve the current steps and use [] to clear them. | |
| shared | No | Replacement sharing setting. Omit to preserve the current value. | |
| recipeId | Yes | Raw Fitatu recipe id returned by a recipe-aware MCP tool. | |
| servings | No | Replacement positive integer serving count. Omit to preserve the current value. | |
| mealSchema | No | Complete replacement list of suggested Fitatu meal keys using only this declared enum. Omit to preserve the stored value, including raw public catalog values; use [] to remove all suggestions. | |
| ingredients | No | Complete replacement ingredient list. Omit to preserve current ingredients; at least one ingredient is required when provided. | |
| cookingTimeMinutes | No | Replacement cooking time in whole minutes. Omit to preserve; use null to clear. | |
| preparationTimeMinutes | No | Replacement preparation time in whole minutes. Omit to preserve; use null to clear. |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| status | Yes | Fitatu accepted the write and the service confirmed its observable effect. | |
| details | Yes | Canonical details for the updated recipe, read using the resulting recipeId. | |
| recipeId | Yes | Canonical id to use after the update. This is always identical to details.recipeId. | |
| warnings | Yes | Non-fatal write warnings; currently empty for validated recipe updates. | |
| identityChanged | Yes | Whether Fitatu replaced the recipe id: true exactly when recipeId differs from previousRecipeId. | |
| previousRecipeId | Yes | Recipe id targeted by the update. It may become obsolete when identityChanged is true. |