mfp_delete_custom_food
Delete a custom food from MyFitnessPal by its food ID. This action is permanent and irreversible; diary-referenced foods may be refused.
Instructions
Delete one of the user's custom foods by id.
Destructive and not recoverable. A food actively referenced by a logged
diary entry may be refused by MyFitnessPal.
Args:
params: DeleteCustomFoodInput (food_id)
Returns:
str: Confirmation with the HTTP status
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_delete_custom_food"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| params | Yes |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| result | Yes |