search_foods
Search the FatSecret database by keyword to find foods and return paginated results for nutrition tracking.
Instructions
Search for foods in the FatSecret database
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": {
"searchExpression": "<searchExpression>"
},
"name": "search_foods"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| maxResults | No | Maximum results per page (default: 20) | |
| pageNumber | No | Page number for results (default: 0) | |
| searchExpression | Yes | Search term for foods (e.g., "chicken breast", "apple") |