get_calendar_events
Retrieve calendar events from an Exchange mailbox for a specified date range, with options to include event body or expand recurring instances.
Instructions
Get calendar events within a date range.
Args: start_date: Start date in YYYY-MM-DD format. end_date: End date in YYYY-MM-DD format. include_body: If True, fetch full event details (organizer, attendees, body) via GetItem for each event. Slower but more complete. Ignored when expand_recurring=True. expand_recurring: If True, show every individual occurrence of recurring meetings (via GetUserAvailability). This gives an accurate count of all events but returns fewer fields per event (no item_id, attendees, or body). Default False.
Returns: JSON array of event objects with subject, start, end, location, attendees, etc.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| start_date | Yes | ||
| end_date | Yes | ||
| include_body | No | ||
| expand_recurring | No |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| result | Yes |