search_foods
Search the FatSecret food database by query to retrieve food names, descriptions, and basic nutrition information for meal and diet tracking.
Instructions
Search the FatSecret food database. Returns food names, descriptions, and basic nutrition info. On the Basic plan only search_expression, page_number and max_results (max 50) are used.
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": {
"search_expression": "<search_expression>"
},
"name": "search_foods"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| region | No | ||
| language | No | ||
| food_type | No | ||
| max_results | No | ||
| page_number | No | ||
| search_expression | Yes | Search query for foods | |
| include_food_images | No | ||
| flag_default_serving | No | ||
| include_sub_categories | No | ||
| include_food_attributes | No |