search_foods
Search food databases by query to retrieve nutritional details. Use optional region, language, page, and limit parameters to refine results.
Instructions
Search foods with the latest Platform endpoint available to the account.
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 |
|---|---|---|---|
| page | No | ||
| limit | No | ||
| query | Yes | ||
| region | No | ||
| language | No |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| result | Yes |