filter_by_nutrient
Filter foods by nutrient ranges. Specify min and max values for nutrients like protein, fat, or energy to identify foods meeting your dietary targets.
Instructions
按营养素范围筛选食物,如查找高蛋白、低脂肪的食物
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| max | No | 最大值(含) | |
| min | No | 最小值(含) | |
| sort | No | 排序方向,默认降序 | desc |
| limit | No | 返回数量上限,默认20 | |
| nutrient | Yes | 营养素字段名 |