List Calendar Events
calendar_list_eventsList upcoming calendar events from your Microsoft 365 account for a specified number of days. Use caching to reduce API calls and optionally include full event details.
Instructions
📖 List upcoming calendar events (read-only, safe for unsupervised use)
Returns calendar events from now until the specified number of days ahead.
Caching: Results are cached for 5 minutes (fresh) / 30 minutes (stale). Use force_refresh=True to bypass cache and fetch fresh data.
Args: account_id: Microsoft account ID days_ahead: Number of days ahead to look for events (1-365, default: 7) include_details: Include full event details like attendees and body (default: False) limit: Maximum events to return (1-200, default: 50) use_cache: Whether to use cached data if available (default: True) force_refresh: Force refresh from API, bypassing cache (default: False)
Returns: List of calendar events with metadata. Each event includes _cache_status and _cached_at fields.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| account_id | Yes | ||
| days_ahead | No | ||
| include_details | No | ||
| limit | No | ||
| use_cache | No | ||
| force_refresh | No |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| result | Yes |