update_sleep
Update an existing sleep record in Baby Buddy by changing details such as start/end times, nap status, child, tags, notes, or timer. Use it to correct or complete logged sleep data.
Instructions
Update an existing sleep in Baby Buddy (partial update)
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": {
"id": "<id>"
},
"name": "update_sleep"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| id | Yes | Unique ID of the sleep | |
| end | No | End date-time in ISO 8601 format | |
| nap | No | Whether this was a nap | |
| tags | No | Tags for categorization | |
| child | No | Child ID | |
| notes | No | Additional notes | |
| start | No | Start date-time in ISO 8601 format | |
| timer | No | Timer ID - can be used in place of start, end, and child |