search_foods
Search the Diabetes:M food database for nutritional information on any food, providing per 100g values, serving sizes, and source. Optionally filter results.
Instructions
Search the Diabetes:M food database for nutritional information. Returns foods with nutrition per 100g, serving sizes, and source.
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 |
|---|---|---|---|
| query | Yes | Search query for food items | |
| filter | No | Optional filter for food source | |
| language | No | Language for results | EN |