Sum an ingredient list into per-serving nutrition
recipe_nutritionSum ingredient nutrients from USDA data, divide by servings, and get %DV plus per-ingredient contributions. Include manual items for off-database foods.
Instructions
Give an ingredient list as {query or fdc_id, grams} and get summed totals divided by servings, with %DV and a per-ingredient breakdown of who contributed what. Ingredients absent from FDC (supplement powders, branded products) can be passed in manual_items with nutrients already known.
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": "recipe_nutrition"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| items | Yes | ||
| servings | No | Default 1. | |
| manual_items | No | Off-database items such as protein powder, creatine, or a branded spread. |