mfp_get_recent_foods
Retrieve recently used foods from MyFitnessPal for quick re-entry into your diary. Set an optional limit and choose between markdown or JSON output.
Instructions
Get recently used foods from MyFitnessPal.
Uses the legacy diary-add AJAX endpoint that still works when newer
account pages like /food/mine redirect away from authenticated sessions.
Args: params: GetFoodCollectionInput containing: - limit (int, optional): Max results (default 10, max 100) - response_format (str): 'markdown' or 'json'
Returns: str: List of recently used foods
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| params | Yes |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| result | Yes |