search_foods
Find foods and branded products by name in a global nutrition database; optionally limit results or pin them to a dated snapshot for consistent nutrient values.
Instructions
Search foods and products by name.
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": {
"q": "<q>"
},
"name": "search_foods"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| q | Yes | ||
| limit | No | ||
| snapshot | No | ||
| include_off | No |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
No arguments | |||