Set nap times in a childcare sleep room
set_nap_blocksSets when the children in a childcare sleep room nap, as up to six windows on the same day, each starting before it ends. Only a room of that type reads them: there an event during a nap, a noise above all, weighs the way it would at night, and in any other room they are stored and change nothing. The list replaces the one before it. An empty list means the room has no naps. A room with none set follows the default for its purpose, and use_default set to true clears the list back to that default. Requires a PitCanary account.
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": {
"room_id": "<room_id>"
},
"name": "set_nap_blocks"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| blocks | No | The complete list of nap windows. An empty list means no naps. Leave this out when use_default is true. | |
| room_id | Yes | The room id, as returned by list_rooms. | |
| use_default | No | true clears the nap windows, so the room follows the default for its purpose again. Send either this or blocks. |