Update meal plan
update_meal_planUpdate an existing meal plan by ID, changing only the fields you provide. Keeps current servings when omitted so plans with shopping entries update without errors.
Instructions
Update a meal plan by ID (PATCH); only the fields you give change, and at least one is required. If servings is omitted, the tool reads the plan and resends its current servings, so plans with shopping entries do not fail; plans at any date are reachable. Use create_meal_plan to add a plan and delete_meal_plan to remove one.
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": {
"id": "<id>"
},
"name": "update_meal_plan"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| id | Yes | Meal plan ID, from list_meal_plans. | |
| note | No | Free-text note. | |
| title | No | Plan title. | |
| to_date | No | End date, YYYY-MM-DD or ISO datetime. | |
| servings | No | Number of servings. Omitted keeps the current value. | |
| from_date | No | Start date, YYYY-MM-DD or ISO datetime. | |
| recipe_id | No | Recipe ID, from search_recipes. null removes the recipe. | |
| meal_type_id | No | Meal type ID, from list_meal_types. |