Plan meal prep
plan_meal_prepPlan a meal prep: a batch cooked once on prep_date (say Sunday) and eaten at meals later on. Puts the dish into every slot in meals, linked to the prep. The grocery list buys the prep once, scaled from the recipe's yield to servings, and buys nothing for the meals it feeds. Each meal takes 1 serving unless it says otherwise; servings defaults to the total the meals take. Meals must be on or after prep_date and may span weeks; the prep belongs to the week of its earliest meal. Slots that already have a meal are an error unless replace is true (cooked meals are never replaced).
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": {
"prep_date": "<prep_date>",
"meals": "<meals>"
},
"name": "plan_meal_prep"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| meals | Yes | The meals this batch feeds | |
| notes | No | ||
| use_by | No | ISO date YYYY-MM-DD to eat it by | |
| replace | No | Replace meals already in those slots | |
| storage | No | ||
| servings | No | Servings cooked. Defaults to the sum of the meals' servings. | |
| prep_date | Yes | ISO date YYYY-MM-DD the batch is cooked | |
| recipe_id | No | ||
| custom_meal_name | No | A dish without a recipe, instead of recipe_id | |
| protein_per_meal_g | No | Aim each meal at this much protein: meals that don't set servings take the whole number of servings closest to it. Needs recipe_id with nutrition calculated. The result's meals[].nutrition has each meal's numbers. |