compare_foods
Compare the nutritional components of multiple Chinese foods per 100g by entering 2-5 food IDs. Get a side-by-side nutrition breakdown to support dietary decisions.
Instructions
对比多个食物的营养成分(每100g),提供2-5个食物ID
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": {
"food_ids": "<food_ids>"
},
"name": "compare_foods"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| food_ids | Yes | 食物ID数组 |