nutrition_recipe
Calculate total nutritional values for a recipe by summing weighted ingredients. Use for meal planning and recipe analysis.
Instructions
Sum nutrition across a recipe of weighted ingredients. Use this for meal planning, recipe analysis, or any "what are the totals if I combine X grams of A with Y grams of B" task. Each food's per-100g nutrition is scaled by grams/100 then summed. Charges $0.005 USDC per call.
Args: ingredients: List of {"fdc_id": int, "grams": float} pairs. At least one; weights in grams.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| ingredients | Yes |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
No arguments | |||