mfp_log_exercise
Record a cardio or strength exercise in the MyFitnessPal diary. Provide the exercise ID and duration; calories are auto-computed when omitted.
Instructions
Log a cardio/strength exercise to the diary. [legacy]
Calories are required by MFP; when omitted they are computed the way MFP's
own client does (METs x body-weight x hours).
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_log_exercise"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| params | Yes |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| result | Yes |