mfp_edit_food
Update an existing custom food in MyFitnessPal by specifying only the fields to change, preserving the food ID. Perfect for fixing nutrition data or renaming without creating duplicates.
Instructions
Edit a custom food IN PLACE. [stable]
MFP does support editing (via PATCH) despite older clients claiming
otherwise; the food id is preserved. Only the fields you pass are changed.
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_edit_food"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| params | Yes |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| result | Yes |