Docs

MCP tool · Schedules

Revert one night's changes

Takes a night's own values away (tonight by default, or a later sleep_day), so it follows the weekly schedule again.

revert_sleep_schedule_override

No-op when the night has none. Returns the user's schedule after the change.

Input

One arguments object with these fields.

Arguments object
  • sleep_day string pattern ^\d{4}-\d{2}-\d{2}$

    The sleep day (YYYY-MM-DD, the date the night starts in the bed's timezone): today or later. Defaults to tonight (the today of get_sleep_schedules).

  • user_id string (uuid)

    Whose schedule (from list_devices shared_with). Defaults to you. Editing another user needs the owner or admin role on a shared bed.

Output

Result JSON
  • schedules record<string, object> required

    Keyed by user id

Example arguments

{
  "sleep_day": "<string>",
  "user_id": "<uuid>"
}
JSON
Over HTTP: DELETE /v1/schedules/nights