tool_get_nutrition_facts
Retrieve complete nutrition facts for any food using its USDA FoodData Central ID. Supports custom serving sizes for accurate calculations.
Instructions
Vollstaendige Naehrwertdaten fuer ein Lebensmittel abrufen.
Args: fdc_id: USDA FoodData Central ID (aus search_food) serving_grams: Portionsgroesse in Gramm fuer Berechnung (Standard: 100g)
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": "tool_get_nutrition_facts"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| fdc_id | Yes | ||
| serving_grams | No |