skylight_update_meal
Update a planned meal by changing its name, recipe, slot, notes, date, or repeat rule. Choose recurrence scope to edit one occurrence, future occurrences, or the entire series.
Instructions
Update a planned meal (meal sitting) — change its name, recipe, category/slot, notes, date or repeat rule. Targets one occurrence by its date and applies the change at the chosen recurrence scope. For a recurring meal, note that apply_to:'one' and 'future' SPLIT the series into additional sittings rather than editing in place; re-run skylight_list_meals afterward to see the resulting shape.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| id | Yes | Meal sitting id (from skylight_list_meals). | |
| date | No | YYYY-MM-DD to move the meal to. | |
| note | No | ||
| rrule | No | Replacement iCal RRULE string (plain string, NOT an array). | |
| confirm | No | Must be true to proceed. Without this, the tool returns a preview. | |
| frameId | No | ||
| summary | No | New meal name. The create route 422s when this is non-blank and meal_recipe_id is also set; whether PATCH enforces the same rule is UNVERIFIED, so prefer setting one or the other. | |
| apply_to | Yes | Recurrence scope: 'one' = just this occurrence (splits it out of the series), 'future' = this and all later occurrences (splits the tail into a new sitting), 'all' = the whole series. | |
| description | No | Ingredients / instructions. | |
| instance_date | Yes | YYYY-MM-DD of the occurrence to act on — must be one of that sitting's `instances`. | |
| meal_recipe_id | No | Link a different recipe. | |
| meal_category_id | No | Move to another slot (breakfast/lunch/dinner). |