lookup_food
Look up nutrition for a named food or dish: macronutrients for the given portion plus Sally's Smart, Trap or Balance-with-Activity classification and its reasoning. Figures come from Open Food Facts and are estimates for a typical product of that name, not a specific branded item.
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": "lookup_food"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| food | Yes | Food or dish name, e.g. 'nasi goreng' or 'Greek yogurt, plain'. | |
| grams | No | Portion size in grams. Macros are scaled from per-100g values. |