Calories in a food
food_caloriesCalories, protein, fiber, carbs and fat for an everyday food (USDA FoodData Central values), per 100 g and per common portion, or for a given number of grams.
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": "<food>"
},
"name": "food_calories"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| food | Yes | e.g. banana, egg, rice, avocado | |
| grams | No | optional portion in grams |