Get WHOOP sleep for cycle
get_sleep_for_cycleRetrieve the sleep record for the night ending a WHOOP cycle. Provide the cycle ID to fetch the associated sleep data.
Instructions
The sleep that closed the given cycle, i.e. the night at the end of that WHOOP day.
Tool call template
Replace each placeholder with a value matching the input schema. Only required parameters are included; add optional parameters as needed.
{
"id": 1,
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"arguments": {
"cycle_id": "<cycle_id>"
},
"name": "get_sleep_for_cycle"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| cycle_id | Yes | Numeric cycle id, e.g. from get_cycles or a recovery record |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| id | Yes | ||
| end | No | Absent while the activity is still in progress | |
| nap | Yes | ||
| score | No | ||
| start | Yes | ||
| v1_id | No | ||
| cycle_id | Yes | ||
| created_at | Yes | ||
| updated_at | Yes | ||
| score_state | Yes | ||
| timezone_offset | Yes |