Compute a recipe's nutrients from CNF foods
compute_cnf_recipeTotals and per-serving nutrients of a recipe whose ingredients are CNF food codes with amounts (grams, or a quantity of one of the food's household measures). First match each ingredient to a CNF food with search_cnf_foods; this tool does no matching. Arithmetic over Health Canada's values; not a lab analysis and not medical advice.
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": {
"ingredients": "<ingredients>"
},
"name": "compute_cnf_recipe"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| servings | No | ||
| ingredients | Yes | ||
| all_nutrients | No |