calculate_meal_totals
Sum calories, macros and other published nutrients for a plate of menu items. Use it to total a breakfast, lunch or dinner for any date when planning meals.
Instructions
Add up calories, macros and every other published nutrient for a plate of menu items.
Args: items: list of {"name": str, "servings": number (default 1)}; plain names also work. Names match like get_item_nutrition. meal: optionally restrict lookups to 'breakfast', 'lunch' or 'dinner'. date: YYYY-MM-DD, 'today', 'tomorrow' or a weekday name. Defaults to today.
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": {
"items": "<items>"
},
"name": "calculate_meal_totals"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| date | No | ||
| meal | No | ||
| items | Yes |