Find Foods High In Nutrient
find_foods_high_in_nutrientFoods from the catalog richest in a nutrient, for closing a gap. Uses the user's own diet unless diet is given. sort: "serving" (default, a usual portion), "100g" or "100kcal". Values are in the nutrient's unit.
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": "find_foods_high_in_nutrient"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| code | Yes | Nutrient code from list_components, such as FE for iron. | |
| diet | No | Defaults to the user's own diet. | |
| sort | No | What to rank by. | serving |
| limit | No | How many foods to return. |