Search foods
search_foodsFind foods by name in the ANSES-CIQUAL 2020 table (3,167 foods, names in English). Returns ids to pass to get_food_nutrients.
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_foods"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| limit | No | How many results. Default 8. | |
| query | Yes | A food name in English, e.g. "lentils", "salmon", "oat". |