lookup_nutrition
Look up complete nutrition facts including calories, protein, carbs, fat, fiber, and micronutrients for any food by name and serving size. Track macros and analyze dietary content with precise portion-based data.
Instructions
Look up the full nutritional profile (calories, protein, carbs, fat, fibre, and key micronutrients) for any food by name and serving size. Use this when someone asks about the nutrition or macros in a specific food.
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_name": "<food_name>"
},
"name": "lookup_nutrition"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| food_name | Yes | Name of the food to look up (e.g. "chicken breast", "oats", "banana") | |
| amount_grams | No | Serving size in grams (default: 100g) |