Nutrition & Calories: Calculate a meal or recipe
nutrition_calculateMealCalculate a meal or recipe
The nutrients of a meal or recipe: items lists <food>:<grams> pairs, comma-separated (up to 30). A food is an id or a name (the best match is used and named in the answer, so check it); grams as 150, 150g or 1.5kg. Answers each item's amounts and meta.totals; meta.partial lists nutrients some item had no value for (their totals add the known ones). Use when the user asks for the calories or macros of a dish, a recipe or a day's meals.
GET /v1/nutrition/calculate on Nutrition & Calories (SBX-BESIN). Costs 1 credit per call.
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": "nutrition_calculateMeal"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| items | Yes | e.g. `domates:150,beyaz peynir:50,zeytinyağı:10g` or `170457:150`. |