calendar_list
List calendar tasks and posts by next occurrence, with computed fire times. Filter by status, time window, kind, or channel to find event IDs or avoid scheduling conflicts.
Instructions
List the caller's calendar events — tasks and posts — ordered by when they next fire. Each event includes a computed next_occurrence: the ISO-8601 timestamp of its next fire time, derived from the event's at or rrule so the caller never has to compute recurrence itself. Defaults to upcoming, still-scheduled events; pass status to also see cancelled or historical (done/failed/missed) events. Narrow further with window_start/window_end (a time range), kind (task vs post), or channel (exact match on the free-text channel), and cap how many come back with limit. Use this before calendar_add to check for a clash, or before calendar_update/calendar_remove to find the event's id.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| kind | No | Filter to only this kind of event. Omit to list both. | |
| limit | No | Maximum number of events to return, ordered by next occurrence (soonest first). | |
| status | No | Filter to events in this lifecycle state. Omit to default to 'scheduled' (upcoming) events only. | |
| channel | No | Filter to events whose `channel` matches this free text exactly. Omit to include all channels. | |
| window_end | No | Only include events whose next occurrence is at or before this ISO-8601 timestamp. Omit for no upper bound. | |
| window_start | No | Only include events whose next occurrence is at or after this ISO-8601 timestamp. Omit for no lower bound (defaults to now). |