Nutrition & Calories: Get a food
nutrition_getFoodGet a food
One food: every nutrient per 100 g (energy, macronutrients, fats incl. saturated, trans, cholesterol and omega-3, sugars, fibre, sodium and salt, 9 minerals, 13 vitamins, caffeine) and its household portions with their weight (e.g. 1 medium tomato = 123 g). Use after a search when the user wants vitamins, minerals or a portion's weight.
GET /v1/nutrition/foods/{id} on Nutrition & Calories (SBX-BESIN). Costs 1 credit per call.
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": {
"id": "<id>"
},
"name": "nutrition_getFood"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| id | Yes | A food id from /nutrition/foods, e.g. 170457. |