get_sleep_and_recovery
Analyzes overnight sleep stages, HRV, SpO2, respiration, and Body Battery recharge to detect sleep debt, autonomic recovery issues, and early illness or overreaching markers.
Instructions
Analyze overnight sleep architecture, HRV vs. baseline, SpO2, respiration, and Body Battery recharge.
Coaching Purpose: Evaluates multi-day or single-night sleep quality and autonomic nervous system recovery. Useful for diagnosing cumulative sleep debt, suppressed nocturnal HRV, elevated sleeping heart rate/respiration (early illness or overreaching markers), and poor Body Battery recharge.
Args:
start_date: Start ISO date (YYYY-MM-DD). If omitted, defaults to a 7-day window
ending on end_date (or today). If provided and end_date is omitted, fetches
that single day.
end_date: End ISO date (YYYY-MM-DD). Defaults to start_date when start_date is
explicitly provided, or today when start_date is omitted.
response_format: Output representation: "markdown", "json", or "hybrid" (default).
Returns: Formatted sleep & recovery analysis including deep/light/REM/awake sleep stages, sleep score, SpO2, respiration rate, overnight HRV + baseline, and Body Battery recharge.
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_and_recovery"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| end_date | No | ||
| start_date | No | ||
| response_format | No | hybrid |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| result | Yes |