mfp_get_water
Retrieves water intake for a specific date, defaulting to today, so you can track daily hydration in milliliters.
Instructions
Get water intake for a specific date.
MyFitnessPal's /food/water endpoint returns the amount in a field named
milliliters (python-myfitnesspal's _get_water), so day.water is
always ml regardless of the account's display unit.
Args: params: GetWaterInput containing: - date (str, optional): Date in YYYY-MM-DD format, defaults to today
Returns: str: Water intake amount for the specified date
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_water"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| params | Yes |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| result | Yes |