mfp_get_my_foods
Lists foods you created or saved in MyFitnessPal, returning up to 100 items in markdown or JSON. Use it to review your personal food collection for logging or nutrition tracking.
Instructions
Get foods created or saved by the authenticated user.
This uses the legacy load_my_foods endpoint from the add-to-diary page,
which remains accessible even when the modern My Foods page redirects
away from authenticated sessions.
Args: params: GetFoodCollectionInput containing: - limit (int, optional): Max results (default 100, max 100) - response_format (str): 'markdown' or 'json'
Returns: str: List of foods created or saved by the account
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": {
"params": "<params>"
},
"name": "mfp_get_my_foods"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| params | Yes |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| result | Yes |