mfp_search_food
Find any food in the MyFitnessPal database by entering a search query. Retrieve matching items with serving size, calories, and a unique ID for accessing full food details.
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 |