Food nutrients
get_food_nutritionReturns the nutrient breakdown for one food at a serving weight.
The result has macros, micronutrients, an assessment against daily targets, USDA's verbatim ingredient statement when available, and common portion sizes with their gram weights. ingredients_available is false when USDA supplied no ingredient statement, which does not mean the food has no ingredients. assessment.basis is personal_dri when a profile is set and fda_label_dv otherwise.
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": {
"fdc_id": "<fdc_id>"
},
"name": "get_food_nutrition"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| grams | No | Serving weight in grams. Defaults to 100. | |
| fdc_id | Yes | FoodData Central id from search_foods. |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
No arguments | |||