sleep_list_sleep
List sleep records from Baby Buddy with filters for child, start/end times, tags, and ordering to find specific entries.
Instructions
List sleep records with optional filters.
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": "sleep_list_sleep"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| end | No | Filter by exact end time, ISO 8601 | |
| tags | No | Filter by tag names (records having all listed tags) | |
| limit | No | Maximum number of records to return | |
| start | No | Filter by exact start time, ISO 8601 | |
| end_max | No | Latest end time, ISO 8601 | |
| end_min | No | Earliest end time, ISO 8601 | |
| child_id | No | Filter by child ID. Use list_children to get IDs. | |
| ordering | No | Order by field, e.g. 'start' or '-start' (descending) | |
| start_max | No | Latest start time, ISO 8601 | |
| start_min | No | Earliest start time, ISO 8601 |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| result | Yes |