List meal preps
list_meal_prepsList meal preps by prep day, with the meals each one feeds, servings_left (servings not yet given to a meal), servings_on_hand (cooked and not yet eaten: what's actually in the fridge or freezer), storage, use_by and use_by_status (past, today, soon, ok). Each meal carries its calories, protein, carbs and fat. servings_remaining also counts batches nobody marked cooked: from the prep day on, a batch counts as made and a meal as eaten once it's marked eaten or its day has passed. eat_by is the use-by date, or the prep day plus 4 days in the fridge and 90 in the freezer when none was set; eat_by_status grades it like use_by_status. Defaults to two weeks either side of today. on_hand looks back four months, keeps only batches marked cooked, and sorts by eat_by, earliest first. servings_remaining is accurate whether or not anyone marked the batch cooked.
Tool call template
This tool declares no required parameters. Add optional parameters from the input schema as needed.
{
"id": 1,
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"arguments": {},
"name": "list_meal_preps"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| to | No | ISO date YYYY-MM-DD, inclusive | |
| from | No | ISO date YYYY-MM-DD, inclusive | |
| on_hand | No | Only cooked batches with servings not yet eaten | |
| storage | No | Only batches kept here |