Compare foods
compare_foodsCompare 2–6 foods side by side on the main nutrients per 100 g.
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": {
"ids": "<ids>"
},
"name": "compare_foods"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| ids | Yes | Food ids from search_foods | |
| lang | No |