nutrition_compare
Compare two to five foods side by side to determine which is healthier or has more protein. Returns full nutrition data with per-nutrient winners.
Instructions
Compare 2 to 5 foods side by side. Use this when the user asks "which is healthier," "which has more protein," or any cross-food comparison — it's cheaper and clearer than calling nutrition_detail multiple times. Returns each food's full nutrition plus per-nutrient winners (highest protein, lowest sodium, etc.). Charges $0.003 USDC per call.
Args: fdc_ids: 2 to 5 USDA FDC IDs to compare.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| fdc_ids | Yes |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
No arguments | |||