update_diet_plan
Edit an existing diet plan (confirm-gated). Pass planId plus only the fields to change. meals, if given, REPLACES the whole meal list — send the full intended list. Each meal follows the create_diet_plan shape (name, scheduledTime 'HH:mm', order, days, section, calories, macros, description, ingredients).
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| meals | No | ||
| title | No | ||
| planId | Yes | ||
| confirm | No | Must be true to actually execute. If false/omitted, returns a preview only. | |
| endDate | No | ||
| startDate | No | YYYY-MM-DD | |
| description | No |