query_heart_rate
Query heart rate samples from Xiaomi Mi Fitness for a specified date range and sample type, including resting, active, passive, or workout heart rates.
Instructions
Query heart rate samples
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": {
"start_date": "<start_date>",
"end_date": "<end_date>"
},
"name": "query_heart_rate"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| start_date | Yes | ||
| end_date | Yes | ||
| sample_type | No | ||
| limit | No |