sleep_create_sleep
Record a child's sleep session by specifying child ID, start, and end times. Optionally label it as a nap or include notes for more detail.
Instructions
Record a sleep session.
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": {
"child_id": "<child_id>",
"start": "<start>",
"end": "<end>"
},
"name": "sleep_create_sleep"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| end | Yes | End time in ISO 8601 format | |
| nap | No | True if this was a nap, False if night sleep, None to let babybuddy auto-determine | |
| notes | No | Optional notes | |
| start | Yes | Start time in ISO 8601 format (e.g. 2024-01-15T21:00:00) | |
| child_id | Yes | ID of the child. Use list_children to get IDs. | |
| timer_id | No | Use a running timer instead of explicit start/end times. Use list_timers to find active timers. |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
No arguments | |||