Get Sleep Data
get_sleep_dataFetch nightly Coros sleep data for a configurable 1–52 week range, returning per-night sleep stages (deep, light, REM, awake) and sleep heart rate.
Instructions
Fetch nightly sleep data from Coros for a configurable time range.
Returns per-night sleep stage breakdown (deep, light, REM, awake) and sleep heart rate for each night. Data comes from the Coros mobile API (apieu.coros.com) which is separate from the Training Hub web API.
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": "get_sleep_data"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| weeks | No | Number of weeks to fetch (1–52). Default: 4. |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
No arguments | |||