mfp_get_water
Retrieve daily water intake in milliliters for a specified date, defaulting to today. Use this tool to check hydration data from MyFitnessPal.
Instructions
Get water intake for a specific date, in millilitres.
MyFitnessPal's `/food/water` endpoint returns the amount in a field
literally named `milliliters` (see python-myfitnesspal's `_get_water`),
so this value is always ml regardless of what unit the account's UI is
configured to display.
Args:
params: GetWaterInput containing:
- date (str, optional): Date in YYYY-MM-DD format, defaults to today
Returns:
str: JSON with `date` and `water_ml`
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 |