setup_credentials
Save and validate a Zepp apptoken from the user.huami.com cookie so the server can access read-only activity, sleep, HRV, readiness, stress, GPS, and body composition data.
Instructions
Save a Zepp apptoken and validate it. The apptoken comes from the apptoken cookie on user.huami.com.
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": {
"apptoken": "<apptoken>"
},
"name": "setup_credentials"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| region | No | ||
| profile | No | ||
| user_id | No | ||
| apptoken | Yes | ||
| timezone | No |