tool_compare_foods
Compare the nutritional values of two foods using USDA FoodData Central IDs. Specify a serving size to see side-by-side nutrient differences.
Instructions
Zwei Lebensmittel naehrwerttechnisch vergleichen.
Args: fdc_id_1: USDA ID des ersten Lebensmittels fdc_id_2: USDA ID des zweiten Lebensmittels serving_grams: Portionsgroesse fuer Vergleich (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_1": "<fdc_id_1>",
"fdc_id_2": "<fdc_id_2>"
},
"name": "tool_compare_foods"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| fdc_id_1 | Yes | ||
| fdc_id_2 | Yes | ||
| serving_grams | No |