Get a Canadian Nutrient File food
get_cnf_foodOne CNF food by its code: nutrient values per 100 g (CNF 2026, with the edition and basis of each value and the same food's 2015 value) and Health Canada's household measures with their gram weights. Key nutrients by default; all_nutrients for every one.
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": {
"code": "<code>"
},
"name": "get_cnf_food"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| code | Yes | The CNF food code from search_cnf_foods (`<code>-2015` for a 2015 food under a reused code). | |
| all_nutrients | No |