Search Events
search_eventsSearch calendar events by title, location, or description within a specified date range. Returns matching events from your Microsoft calendar.
Instructions
📖 Search calendar events (read-only, safe for unsupervised use)
Searches event titles, locations, and descriptions within date range. Automatically routes to the appropriate API based on account type:
Personal accounts: Uses OData $search parameter
Work/school accounts: Uses unified search API
Args: query: Search query string (1-512 characters) account_id: Microsoft account ID days_ahead: Days to look forward (0-730, default: 365) days_back: Days to look back (0-730, default: 365) limit: Maximum results to return (1-500, default: 50) use_cache: Whether to use cache (default: True) force_refresh: Bypass cache and fetch fresh data (default: False)
Returns: List of matching events
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| query | Yes | ||
| account_id | Yes | ||
| days_ahead | No | ||
| days_back | No | ||
| limit | No | ||
| use_cache | No | ||
| force_refresh | No |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| result | Yes |