query_heart_rate
Retrieve heart rate samples from your Mi Fitness data by date range, optionally filtering by resting, active, passive, or workout type for health analysis.
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 |
|---|---|---|---|
| limit | No | ||
| end_date | Yes | ||
| start_date | Yes | ||
| sample_type | No |