Withings Sleep Detail
withings_list_sleepRetrieve detailed sleep records from Withings, with pagination and date range filtering. Control output privacy using summary, structured, or raw formats.
Instructions
List detailed Withings sleep data where available. Requires user.activity scope. Not medical advice.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| page | No | Withings page number. | |
| after | No | Inclusive start bound. Converted to Withings startdate (epoch) or startdateymd (YYYY-MM-DD) per action. | |
| limit | No | Upstream page-size hint and local output cap used for pagination safety. | |
| before | No | Inclusive end bound. Converted to Withings enddate (epoch) or enddateymd (YYYY-MM-DD) per action. | |
| all_pages | No | Fetch multiple pages up to max_pages. | |
| max_pages | No | Maximum pages to fetch when all_pages is true. | |
| privacy_mode | No | Optional per-call privacy override. Defaults to WITHINGS_PRIVACY_MODE or structured. raw returns upstream Withings JSON. summary minimizes sensitive health and profile details. | |
| response_format | No | markdown |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| count | Yes | ||
| records | Yes | ||
| endpoint | Yes | ||
| has_more | Yes | ||
| next_page | No | ||
| privacy_mode | Yes | ||
| pages_fetched | Yes |