calendar.export_ics
Export calendar events from a specified time window as an ICS file for import into Outlook or other calendar apps. Get the calendar text and event count in return.
Instructions
Read-only; no side effects, auth, or rate limits. Export events in a window as an RFC 5545 ICS calendar (UTC times, no VTIMEZONE needed) for import into Outlook/Calendar apps. Returns {ics, event_count} with the calendar text as a JSON string field.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| to | Yes | Window end, ISO 8601 with explicit timezone. | |
| from | Yes | Window start, ISO 8601 with explicit timezone. | |
| entity | No | Filter to one entity — name or numeric id. | |
| calendar_name | No | Calendar display name (X-WR-CALNAME). Defaults to 'Kontexta Calendar'. |