delete_sleep
Permanently remove a logged sleep entry using its interval_id from get_sleep_history. Corrects inaccurate sleep records by deleting the specified interval from the child's history.
Instructions
Permanently delete a 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": "delete_sleep"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| child_uid | Yes | ||
| interval_id | Yes |