sync_health
Update cached health records from your Mi Band and report actual record-time advancement. Optionally trigger app-level synchronization via Gadgetbridge or Xiaomi Health.
Instructions
Update the selected local cache and report actual record-time advancement.
Gadgetbridge exports and pulls its database over ADB; refresh_app=true first requests recorded-data synchronization from the band and waits for completion. Xiaomi Health reads through SSH; refresh_app=true invokes its internal background synchronization. No screen interaction or new physiological measurement is requested. Configure the transport once; cached queries still work when the phone is unavailable. Concurrent syncs share a single writer; timeout_seconds: 1..180.
Tool call template
This tool declares no required parameters. Add optional parameters from the input schema as needed.
{
"id": 1,
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"arguments": {},
"name": "sync_health"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| refresh_app | No | ||
| timeout_seconds | No |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
No arguments | |||