Suggest foods
suggest_foodsTypeahead suggestions for a partial food name. Use when the name is incomplete. Returns food_id and name only.
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": "suggest_foods"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| limit | No | How many suggestions to return | |
| query | Yes | Partial food name |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| result | Yes |