reachthingsDocs
EN
Dashboard
Schedule toolsresume_schedule
On this page
TOOLscope: devices:control · idempotentHint

resume_schedule

Resumes a paused or blocked schedule after re-checking permission, connection, and approval. The next run is recalculated from now.

Arguments

schedule_idstringrequired

From create_schedule or list_schedules. Schedules are visible only to the agent that created them.

Returns: Schedule

statusenum

pending_approval active paused blocked cancelled completed, with status_reason.

recurrenceobject

{kind:"once", at}, {kind:"daily", time} or {kind:"weekly", time, weekdays}; recurrence_text is a human sentence.

next_run_at · next_run_localstring | null

Next run in UTC and in the schedule's timezone. null when nothing is left to run.

versioninteger

Increases when the target, command, time or recurrence changes. A schedule that needs approval must be approved again for the new version.

approvalobject

required, state (not_required pending approved expired), approved_version, expires_at and, when required, the console url.

grace_minutes · dst_policy · notes

Late runs beyond the grace period are skipped, never replayed. DST: a local time that does not exist moves forward; one that occurs twice runs the first time.

Request

REQUESTTypeScript ▾
await client.callTool({ name: "resume_schedule", arguments: { schedule_id: "sch_7Qp2" } });
RESPONSE · structuredContent
{
  "schedule_id": "sch_7Qp2",
  "status": "active",
  "status_reason": null,
  "label": "Weekday morning AC",
  "device_id": "dev_8kq2",
  "action": "climate.set_temperature",
  "parameters": {
    "temperature": 24,
    "unit": "C"
  },
  "timezone": "Asia/Seoul",
  "recurrence": {
    "kind": "weekly",
    "time": "08:00",
    "weekdays": [
      1,
      2,
      3,
      4,
      5
    ]
  },
  "recurrence_text": "Weekly Mon·Tue·Wed·Thu·Fri 08:00",
  "ends_on": "2026-12-31",
  "next_run_at": "2026-11-02T23:00:00.000Z",
  "next_run_local": "2026-11-03 08:00 (Tue)",
  "last_run_at": null,
  "version": 1,
  "grace_minutes": 15,
  "approval": {
    "required": false,
    "state": "not_required",
    "approved_version": null,
    "expires_at": null
  },
  "dst_policy": "DST handling: a local time that does not exist (spring-forward gap) runs at the real time shifted forward by the gap; a local time that occurs twice (fall-back overlap) runs at the first occurrence.",
  "notes": []
}