Get WHOOP sleep by ID
get_sleep_by_idRetrieve a single WHOOP sleep record by its UUID, such as the sleep_id linked to a recovery record.
Instructions
A single sleep record by its UUID, e.g. the sleep_id from a recovery record.
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": {
"sleep_id": "<sleep_id>"
},
"name": "get_sleep_by_id"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| sleep_id | Yes |
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 |