Search foods
search_foodsSearch the Swedish Food Agency food composition database (2,600 foods) by name in Swedish or English. Returns id, name, energy (kcal per 100 g) and URL. Use the id with get_food.
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 |
|---|---|---|---|
| lang | No | Language of names in the result (default: sv) | |
| limit | No | Max results (default 10) | |
| query | Yes | Food name, e.g. 'havregryn' or 'rolled oats' |