Get calendar events
get_calendar_eventsList events from the user's connected calendars, Google and Outlook together, ordered by start time: summary, start/end, location, organizer, attendees and their RSVP status, a meeting link when there is one, and which provider and account each event came from (Outlook events carry a web_link that opens them in Outlook). With no time range it returns upcoming events from now. time_min and time_max are RFC3339 timestamps ('2026-08-19T00:00:00Z'), so 'what's on my calendar tomorrow' is time_min/time_max spanning that day; past ranges work too. query free-text matches event titles, descriptions, and attendees. For 'how many meetings' questions over long ranges (a quarter, a year), set count_only=true; it sweeps the whole range and returns the total plus a per-month breakdown instead of the events themselves, so a 12-month count is one call. By default this reads each account's main calendar. When a Google account can list its calendars, the result carries available_calendars (name, id, access role), shared calendars included: pass a calendar's name or id as calendar_id ('Family') to read it, or all_calendars=true to read every calendar at once. For an Outlook calendar, get its id from list_outlook_calendars. If the result says no calendar is connected (or the account lacks calendar access), show the user the message and link them to https://youspot.com/user/integrations/gmail.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| query | No | Free-text search over events (titles, descriptions, attendees). Omit to list everything in the range. | |
| account | No | Email address of one connected Google account or Outlook mailbox. Omit to read all connected calendars. | |
| time_max | No | Latest event start, RFC3339. | |
| time_min | No | Earliest event end, RFC3339 ('2026-08-19T00:00:00Z'). Defaults to now when time_max is also omitted. | |
| count_only | No | Return only counts (total and per calendar month) instead of the events. Sweeps far more of the range (up to 12,500 events) than an event listing can. Use for totals and "how many" questions. | |
| calendar_id | No | Which calendar to read: a name or id from available_calendars, or an id from list_google_calendars or list_outlook_calendars. Omit for each account's main calendar. | |
| max_results | No | Max events to return (default 10, max 250). | |
| all_calendars | No | Read every Google calendar the user can see events on, shared ones included, instead of just the main one. Each event then names its calendar. |