mfp_search_food
Search the MyFitnessPal food database to find foods and retrieve matching items with calories, serving size, and MFP IDs for detailed lookups.
Instructions
Search the MyFitnessPal food database for food items.
Returns a list of matching foods with their name, brand, serving size, calories, and MFP ID (which can be used with mfp_get_food_details).
Args: params: SearchFoodInput containing: - query (str): Search query (e.g., 'chicken breast') - limit (int): Maximum results to return (default 10) - response_format (str): 'markdown' or 'json'
Returns: str: List of matching food items with basic nutrition info
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| params | Yes |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| result | Yes |