get_sync_status
Check the status of a Mi Fitness data sync job using its sync_id. Returns state, timestamps, and result counts from the local database.
Instructions
Read one MCP sync job by sync_id, including after a server restart. Returns sync_id, status, timestamps and available result counts. States are queued, running, ok, partial, error, cancelled or interrupted (previous process stopped). Read-only local lookup; no cloud request. History retains the latest 500 completed jobs per account; unknown/expired IDs return status=error. Use query_sync_history to discover IDs, cancel_sync to stop a live background job, or get_connection_status for cloud connectivity. Restarted lookups omit raw error text for privacy.
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": {
"sync_id": "<sync_id>"
},
"name": "get_sync_status"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| sync_id | Yes | Exact sync_id returned by sync_data or query_sync_history; not a workout ID. |