Skip to main content

calendar

calendar.check_availability

Check Calendar Availability

Effects: read, requires channel google_calendar

Check when you have free time in Google Calendar. Shows busy periods and free slots in a given time range. Useful for finding meeting times or checking schedule conflicts.

Arguments

ArgumentTypeRequiredDescription
calendar_idstringnoCalendar ID to check. OMIT to use the agent's configured default calendar (or primary).
end_timestringnoEnd date/time to check availability (YYYY-MM-DD or ISO 8601). Defaults to end of start_time day, or 7 days from now.
min_duration_minutesintegernoMinimum duration in minutes for free slots. Filters out short gaps. Default: 30 minutes. (default 30)
start_timestringnoStart date/time to check availability (YYYY-MM-DD or ISO 8601). Defaults to start of today.
working_hours_onlybooleannoIf true, only show free slots during working hours (9 AM - 6 PM). OMIT to show all free time (the default).

calendar.create_event

Create Calendar Event

Effects: schedule, external_api, requires channel google_calendar

Create a new event in Google Calendar. Specify the title, start time, end time, and optionally invite attendees. Use ISO 8601 format for dates (e.g., 2024-12-15T14:00:00).

Arguments

ArgumentTypeRequiredDescription
add_google_meetbooleannoIf true, automatically creates a Google Meet link for the event. OMIT to skip Meet link.
attendeesarraynoList of attendee email addresses to invite.
calendar_idstringnoCalendar ID to create the event in. OMIT to use the agent's configured default calendar (or primary).
conference_dataobjectnoConference data for Google Meet. Alternative to add_google_meet flag.
descriptionstringnoEvent description/notes.
endstringnoEvent end time in ISO 8601 format. If not provided, defaults to 1 hour after start. Also accepts 'end_time' as alias.
end_timestringnoAlias for end - event end time.
locationstringnoEvent location (physical address or virtual meeting link).
startstringnoEvent start time in ISO 8601 format (e.g., 2024-12-15T14:00:00). Also accepts 'start_time' as alias.
start_timestringnoAlias for start - event start time in ISO 8601 format.
summarystringnoEvent title/summary. Required. Also accepts 'title' as alias.
timezonestringnoTimezone for the event (e.g., 'America/New_York', 'UTC').
titlestringnoAlias for summary - event title.

calendar.delete_event

Delete Calendar Event

Effects: delete, external_api, requires channel google_calendar

Delete an event from Google Calendar. This action cannot be undone. Use with caution.

Arguments

ArgumentTypeRequiredDescription
calendar_idstringnoCalendar ID containing the event. OMIT to use the agent's configured default calendar (or primary).
event_idstringyesID of the event to delete. Required.
send_notificationsbooleannoWhether to send cancellation notifications to attendees. (default True)

calendar.list_events

List Calendar Events

Effects: read, requires channel google_calendar

List events from Google Calendar. Shows upcoming events by default. Can filter by date range and search query.

Arguments

ArgumentTypeRequiredDescription
calendar_idstringnoCalendar ID to list events from. OMIT to use the agent's configured default calendar (or primary).
date_fromstringnoStart date/time to query (YYYY-MM-DD or ISO 8601 format). Defaults to now. Alias: time_min.
date_tostringnoEnd date/time to query (YYYY-MM-DD or ISO 8601 format). Defaults to 7 days from now. Alias: time_max.
max_resultsintegernoMaximum number of events to return. (default 25)
querystringnoFree text search query to filter events.

calendar.update_event

Update Calendar Event

Effects: schedule, external_api, requires channel google_calendar

Update an existing event in Google Calendar. Can modify title, time, location, description, and attendees. Only specified fields will be updated.

Arguments

ArgumentTypeRequiredDescription
attendeesarraynoNew list of attendee emails. Replaces existing attendees.
calendar_idstringnoCalendar ID containing the event. OMIT to use the agent's configured default calendar (or primary).
descriptionstringnoNew event description. Optional.
endstringnoNew end time in ISO 8601 format. Optional.
event_idstringyesID of the event to update. Required.
locationstringnoNew event location. Optional.
startstringnoNew start time in ISO 8601 format. Optional.
summarystringnoNew event title/summary. Optional.