mfp_update_fast
Update an existing fasting entry's start and end times in MyFitnessPal. Supply the entry ID and new timestamps; both must be provided even if only one changes.
Instructions
Update an existing fasting entry's start and end times.
MFP's PATCH is a full replacement of the two time fields — both must be
supplied even if only one is changing.
The MCP cannot list fasts (MFP exposes no read endpoint); the `id` must
come from a prior `mfp_log_fast` call or be captured from the MFP app.
Args:
params: UpdateFastInput (id, fast_started, fast_ended, response_format)
Returns:
str: The updated entry (id, timestamps, 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_update_fast"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| params | Yes |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| result | Yes |