Look up USDA nutrients for an ingredient
lookup_ingredient_nutritionReturns USDA FoodData Central nutrient values per 100 g (calories, protein, total fat, saturated fat, carbohydrate, fiber, total sugars, sodium) for a common recipe ingredient, with its FDC id, the USDA household measures (1 cup, 1 tbsp, 1 large, 1 clove) in grams, and optionally the nutrients for an amount such as 1.5 cup or 3 large. 406 ingredients from SR Legacy and Foundation Foods, embedded, no API key. Use it instead of estimating nutrition from memory.
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": {
"ingredient": "<ingredient>"
},
"name": "lookup_ingredient_nutrition"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| unit | No | Unit for amount: g, oz, lb, kg, cup, tbsp, tsp, fl oz, ml, or "each" for a counted item (uses the USDA medium or large size). Default g. | |
| amount | No | Optional amount to compute nutrients for, e.g. 1.5. | |
| ingredient | Yes | Ingredient name, e.g. "cheddar cheese", "brown rice", "olive oil", "large egg". |