List Calendar Events
calendar_list_eventsList calendar events filtered by time range, search query, and pagination. Get event details like title, time, location, and attendees.
Instructions
List events from a calendar within an optional time range.
Args:
calendar_id (string): Calendar ID (default: 'primary' for main calendar)
time_min (string, optional): Start of time range in ISO 8601 format (e.g., '2024-01-01T00:00:00Z')
time_max (string, optional): End of time range in ISO 8601 format
max_results (number): Maximum events to return, 1-250 (default: 10)
query (string, optional): Free text search to filter events
single_events (boolean): Expand recurring events into instances (default: true)
order_by ('startTime' | 'updated'): Sort order (default: 'startTime')
page_token (string, optional): Token for pagination
response_format ('markdown' | 'json'): Output format (default: 'markdown')
Returns: List of events with title, time, location, and attendees.
Examples:
Today's events: time_min="2024-01-15T00:00:00Z", time_max="2024-01-16T00:00:00Z"
Search meetings: query="standup"
Next 7 days: time_min=(now), time_max=(now + 7 days)
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| calendar_id | No | Calendar ID (default: 'primary' for user's main calendar) | primary |
| time_min | No | Start of time range (ISO 8601 format, e.g., '2024-01-01T00:00:00Z') | |
| time_max | No | End of time range (ISO 8601 format) | |
| max_results | No | Maximum events to return (1-250) | |
| query | No | Free text search terms to find events | |
| single_events | No | Whether to expand recurring events into instances | |
| order_by | No | Sort order (requires single_events=true for 'startTime') | startTime |
| page_token | No | Token for pagination | |
| response_format | No | Output format: 'markdown' or 'json' | markdown |