edit_sleep
Update a previously logged sleep entry using its interval_id from sleep history. Adjust start time, duration, or notes for a child to keep sleep records accurate.
Instructions
Edit an existing sleep entry. Get the interval_id from get_sleep_history first.
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_uid": "<child_uid>",
"interval_id": "<interval_id>"
},
"name": "edit_sleep"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| notes | No | ||
| start | No | ||
| duration | No | ||
| child_uid | Yes | ||
| interval_id | Yes |