Nutrient panel
get_food_nutritionReturn the nutrient panel for one food, per 100 g. Use the food_id from search_foods or lookup_barcode.
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_id": "<food_id>"
},
"name": "get_food_nutrition"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| food_id | Yes | food_id from search_foods |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| result | Yes |