Docs

MCP tool · Timeline events

Schedule one-off timeline event

Schedules a ONE-OFF zone change at a future time (e.g. "set zone_a to 18°C at 22:30 tonight").

schedule_timeline_event

Must be in the future, at most 7 days out; events on the same zone must be ≥5 minutes apart. Sending the same event again does not add a second one. Events run only on the bed you are on now, on zones that bed has. An event that cannot run within 30 minutes of its time is skipped rather than run late. For recurring nightly behavior use update_sleep_schedules instead; for tonight-only schedule changes use override_sleep_schedule_tonight.

Input

One arguments object with these fields.

Arguments object
  • serial string required

    Device serial number (from list_devices, e.g. "AA:BB:CC:DD:EE:FF")

  • at string required

    When the event fires: ISO 8601 datetime with timezone offset, e.g. "2026-06-11T22:30:00-07:00". Truncated to minute granularity.

  • zones object[] required min items 1

    Zone actions to apply at the scheduled time. Each needs temp and/or on.

  • label string

    Optional label for the event: lowercase slug like "pre_nap_cooling" (matching [a-z0-9_]{1,40}). Defaults to "manual". Labels the sleep schedule uses for its own steps (such as bedtime and turn_off) are refused.

Output

Result JSON
  • id string required

    The event id cancel_timeline_events takes

  • label string
  • scheduledTime string required

    ISO 8601

  • status string required
  • zones object[] required

Example arguments

{
  "serial": "<string>",
  "at": "<string>",
  "zones": [
    {
      "id": "<string>",
      "temp": 123,
      "on": true
    }
  ],
  "label": "<string>"
}
JSON
Over HTTP: POST /v1/timeline-events