Nutrients in a food
get_food_nutrientsCalories, macros and up to 26 micronutrient lines (vitamins, minerals, fiber, omega-3, polyphenols) for a portion of one food, each as a share of the EU daily reference value. A nutrient the table has no value for is listed under no_value_in_table, never reported as zero.
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": {
"food": "<food>"
},
"name": "get_food_nutrients"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| food | Yes | An id from search_foods (preferred), or a food name. | |
| grams | No | Portion in grams. Default 100. |