get_daily_sleep
Retrieve Garmin sleep data for a specific date (YYYY-MM-DD) from the newer sleep-service endpoint, with an optional non-sleep buffer to define daily sleep periods.
Instructions
[read-only] Return sleep data for a day from the newer sleep-service endpoint. Signature: get_daily_sleep(cdate: str | None = None, non_sleep_buffer_minutes: int | None = 60) -> dict[str, Any] Dates are YYYY-MM-DD.
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_daily_sleep"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| cdate | No | Date as YYYY-MM-DD. | |
| non_sleep_buffer_minutes | No |