Edit Recipe
edit_recipeModify one of your saved recipes by changing only the fields you supply; ingredients, steps, or categories you provide replace their current lists.
Instructions
Edit one of the logged-in user's own recipes (the "Edit" button in the web app). Only the fields you pass are changed; everything else is kept.
This is the counterpart to create_recipe: it fetches the recipe and re-saves
it as a whole (the update is a full replace), so any argument left unset
keeps its current value. The recipe keeps its current status; a published
recipe is re-saved in place and must stay complete (the server rejects an
edit that would make it incomplete). Requires a saved login session
(uv run monsieur-cuisine-mcp-login).
Field meanings match create_recipe. IMPORTANT - collection fields REPLACE
the current value when supplied: passing steps replaces ALL steps, and
passing ingredients and/or ingredient_groups replaces ALL ingredient
groups (so re-send the full list, not just the changed entries). Nutrients
are merged instead: only the calories/protein/carbohydrate/fat you pass are
overwritten. image_path replaces the cover photo. See create_recipe for the
step/ingredient/program shapes.
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": {
"recipe_id": "<recipe_id>"
},
"name": "edit_recipe"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| fat | No | New fat per serving (g); rounded to a whole number. | |
| steps | No | New ordered steps (replaces all steps; same shape as create_recipe, including per-step "title"/"program"/params). | |
| title | No | New dish name. | |
| protein | No | New protein per serving (g); rounded to a whole number. | |
| calories | No | New energy per serving (kcal); rounded to a whole number. | |
| language | No | Recipe language/locale, e.g. "pl-PL", "en-US". | en-US |
| recipe_id | Yes | Numeric id of the user's own recipe to edit (e.g. from list_my_recipes or the create_recipe result). | |
| image_path | No | Local JPEG/PNG/WebP to set as the new cover photo. | |
| description | No | New description. | |
| ingredients | No | New default-group ingredients (replaces all groups; same dict shape as create_recipe). | |
| carbohydrate | No | New carbohydrate per serving (g); rounded to a whole number. | |
| category_ids | No | New category ids (replaces the current categories). | |
| complexity_id | No | New difficulty id from list_recipe_creation_options. | |
| servings_unit | No | New serving unit. | |
| servings_amount | No | New number of servings. | |
| ingredient_groups | No | New named ingredient groups (replaces all groups). | |
| prep_time_minutes | No | New preparation time in minutes. | |
| ready_time_minutes | No | New total time until ready, in minutes. |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
No arguments | |||