Create meal plan
create_meal_planSchedule a recipe or custom title into a meal plan for a date range and meal type with servings; optionally add ingredients to the shopping list.
Instructions
Create meal plan. Required: from_date (ISO), meal_type_id (from list_meal_types), servings, and recipe_id or title. Optional: to_date (default from_date), note, addshopping (adds the recipe ingredients to the shopping list; needs recipe_id; skips ignored and, by default, on-hand foods).
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": {
"servings": "<servings>",
"from_date": "<from_date>",
"meal_type_id": "<meal_type_id>"
},
"name": "create_meal_plan"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| note | No | Free-text note. | |
| title | No | Plan title. Needed when recipe_id is omitted. | |
| to_date | No | End date, YYYY-MM-DD or ISO datetime. Defaults to from_date. | |
| servings | Yes | Number of servings. | |
| from_date | Yes | Start date, YYYY-MM-DD or ISO datetime. | |
| recipe_id | No | Recipe ID, from search_recipes. Needed when title is omitted. | |
| addshopping | No | Add the recipe's ingredients to the shopping list. | |
| meal_type_id | Yes | Meal type ID, from list_meal_types. |