polar_get_sleepwise
Retrieve Polar SleepWise alertness data, including alertness grade, classification, and sleep inertia, for the last 28 days or a custom date range, with optional hourly breakdowns.
Instructions
Get SleepWise alertness data including alertness grade, classification, and sleep inertia. Returns last 28 days by default, or a custom date range. Set hourly=true to include hourly alertness breakdowns.
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": "polar_get_sleepwise"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| to | No | End date (YYYY-MM-DD). Required if 'from' is provided. | |
| from | No | Start date (YYYY-MM-DD). If omitted, returns last 28 days. | |
| format | No | Response format: 'markdown' for human-readable or 'json' for structured data | markdown |
| hourly | No | Include hourly alertness breakdowns (default false) |