Withings Sleep Detail
withings_list_sleepList detailed sleep records from Withings for a specified date range, with pagination and privacy modes to control sensitive health data.
Instructions
List detailed Withings sleep data where available. Requires user.activity scope. Not medical advice.
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": "withings_list_sleep"
}
}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 | ||
| empty | No | ||
| records | Yes | ||
| warning | No | ||
| endpoint | Yes | ||
| has_more | Yes | ||
| next_page | No | ||
| privacy_mode | Yes | ||
| pages_fetched | Yes |