Retrieves Google Calendar events for a specified date range, and applying filters. Returns list of meetings with attendee list.
Inputs
- •Date range: default to last 1 week if not specified
- •Filter criteria: default to small groups (< 3) if not specified
Protocol
- •
Fetch calendar events using the google calendar tool:
- •Set
singleEvents: trueto expand recurring events - •Set
orderBy: startTimefor chronological ordering - •Set
maxResults: 250to capture all events
- •Set
- •
Parse the API response directly:
- •Extract the
attendeesarray from each event in the response - •Count attendees excluding your own email (ben@substrate.run)
- •Filter events where attendee count < 3
- •Extract the event
start.dateTimeandsummaryfields - •IMPORTANT: Do NOT write a script or run a bash command. Simply look at the response and filter it DIRECTLY in your output response. DO NOT call another tool, simply output the result
- •Extract the
- •
Organize results into output:
- •Group filtered events by date
- •Sort chronologically
- •Format attendee list by extracting
emailfields from attendee objects
Output
A table with these columns (time doesn't matter)
- •Date (MM-DD)
- •Meeting title
- •Attendee list (emails, excluding your own)