calendar_events
List and expand calendar event occurrences for a date range or period, including recurring instances, across synced Android calendars; filter by calendar, text, hidden, or canceled events.
Instructions
List event occurrences in a time range (recurring events are expanded into instances).
Range: period, or start + (end | days). With nothing given: from today 00:00 for 7 days.
Covers every calendar synced to the phone, including calendars hidden in the app (unless
include_hidden=false). Calendars with sync off have no events on the phone: with
include_unsynced=true they are synced for the duration of the call (slow: about a minute)
and their sync is turned off again afterwards.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| end | No | Range end (exclusive; a date means through the end of that day). | |
| days | No | Number of days from start (default 7). | |
| limit | No | Maximum number of occurrences returned. | |
| query | No | Case-insensitive text to find in title, description or location. | |
| start | No | Range start: ISO 8601 / 'YYYY-MM-DD HH:MM' / 'YYYY-MM-DD' / now / today / tomorrow. | |
| period | No | today, tomorrow, week (7 days from today), this_week / next_week (Mon-Sun), month (30 days). | |
| calendar | No | Calendar id or name (default: all calendars on the phone). | |
| include_hidden | No | Include calendars hidden in the Calendar app (visible=false). | |
| include_canceled | No | Include canceled events. | |
| include_declined | No | Include events you declined. | |
| include_unsynced | No | Temporarily turn sync on for calendars that have it off (in scope) and include them. | |
| unsynced_timeout | No | Max seconds to wait for the temporary sync of unsynced calendars. | |
| description_chars | No | Truncate descriptions to this many characters (-1 = full). |