tool_calculate_daily_intake
Calculate the percentage of daily nutritional needs covered by a food item using its USDA ID, number of servings, and serving size in grams.
Instructions
Berechnet wie viel Prozent des Tagesbedarfs ein Lebensmittel deckt.
Args: fdc_id: USDA FoodData Central ID servings: Anzahl der Portionen (Standard: 1) serving_grams: Groesse einer Portion in Gramm (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_calculate_daily_intake"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| fdc_id | Yes | ||
| servings | No | ||
| serving_grams | No |