Search Canadian Nutrient File foods
search_cnf_foodsSearch Health Canada's Canadian Nutrient File 2026 (and the 2015 foods it withdrew) by English or French name or alternate name. Returns CNF food codes to use with get_cnf_food, compare_cnf_editions and compute_cnf_recipe. Every query word must start a word of the food's names; use generic food words ("yogurt plain 2%", "pois chiches").
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": {
"query": "<query>"
},
"name": "search_cnf_foods"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| limit | No | ||
| query | Yes | Food words, in English or French. |