substitute_food
Recommend food substitutes under dietary constraints like low potassium, phosphorus, sodium, or protein. Enter a food and a constraint to get alternative options.
Instructions
按低钾/低磷/低钠/低蛋白/等能量约束,在同类食物中推荐替换方案。
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": "<food>"
},
"name": "substitute_food"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| food | Yes | ||
| top_n | No | ||
| constraint | No | 低钾 |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
No arguments | |||