search_foods
Find foods in a Ukrainian nutrition database by name, with tolerance for word endings and small typos, and optionally filter results by category.
Instructions
Find foods by name. Handles word endings and small typos (гречки -> Гречка).
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 | ||
| query | Yes | Part of a food name in Ukrainian, e.g. 'гречка' | |
| category | No | Optional category filter, see list_categories |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| result | Yes |