Docs

MCP tool · Timeline events

Cancel timeline events

Cancels pending one-off timeline events by id (from list_timeline_events): send event_id (one) or event_ids (several).

cancel_timeline_events

Each id gets its own result { event_id, ok, status }: cancelled or not_found (already run or cancelled), forbidden or error. Cancelling another user's event needs the owner or admin role on the shared device. Only one-off events; change schedule steps with the schedule tools.

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")

  • event_id string min length 1

    One event id from list_timeline_events

  • event_ids string[] min items 1max items 200each min length 1

    Several event ids

Output

Result JSON
  • results object[] required

Example arguments

{
  "serial": "<string>",
  "event_id": "<string>",
  "event_ids": [
    "<string>"
  ]
}
JSON
Over HTTP: DELETE /v1/timeline-events