Docs

MCP tool · Schedules

Get sleep schedules

Returns sleep schedules keyed by user id, for you and everyone you may view on shared beds: `week` (per day name, the recurring schedule: enabled, alarm_enabled, and phases bedtime / night / dawn / alarm with clock time and temp_c), `nights` (tonight and the next nights as the bed will run them, including Orion Intelligence's changes and one-night edits, with `changes` saying what Orion Intelligence changed and why), `programs` (temperature programs Orion Intelligence runs over a range of nights), `timezone` and `today` (the current sleep day).

get_sleep_schedules Read-only

alarm_enabled is the alarm phase on: it wakes you at the alarm time and turns the bed off after it. Read this before editing a schedule. Pass user_id to get one user.

Input

One arguments object with these fields.

Arguments object
  • user_id string (uuid)

    Only this user. Defaults to everyone you may view.

  • days integer min 1max 30

    How many nights from tonight to include, 1–30. Defaults to 1.

Output

Result JSON
  • schedules record<string, object> required

    Keyed by user id

Example arguments

{
  "user_id": "<uuid>",
  "days": 30
}
JSON
Over HTTP: GET /v1/schedules