Nutrition & Calories: Search foods
nutrition_searchFoodsSearch foods
About 7,800 foods with calories, protein, fat, carbohydrate, sugars, fibre and salt per 100 g. Search with q in Turkish or English (Turkish letters optional: domates, tomato, tavuk gogsu, beyaz peynir); the everyday food comes first (raw before prepared). Narrow with category. Use when the user asks how many calories or how much protein, fat or carbohydrate a food has, or to find a food's id for /nutrition/foods/{id} or /nutrition/calculate.
GET /v1/nutrition/foods on Nutrition & Calories (SBX-BESIN). Costs 1 credit per call.
Tool call template
This tool declares no required parameters. Add optional parameters from the input schema as needed.
{
"id": 1,
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"arguments": {},
"name": "nutrition_searchFoods"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| q | No | Words to find at the start of words of the Turkish or English names, Turkish letters optional. | |
| limit | No | Items per page, 1–200. | |
| cursor | No | The `next_cursor` of the previous page, with the same filters. | |
| category | No | A category id from /nutrition/categories, e.g. vegetables. |