Google Calendar connector
Read, create, and update Google Calendar events, find free time, and manage calendars from AgentRuntime workflows.
On this page
The google-calendar connector uses the Google Calendar API. Workflows can list upcoming events, find when people are free, create meetings with a Google Meet link, update or cancel events, and manage calendars and sharing.
Prerequisites
- A Google account that can use Google Calendar.
- A Google account connection in AgentRuntime with the Google Calendar service ticked. See Google Workspace.
- The project_contributor role or higher in your workspace, which lets you manage connections and MCP instances. See Roles and permissions.
Connect in AgentRuntime
- Sign in with Google
Go to Connections. In the Accounts section, click Sign in with Google. Enter a display name, tick Google Calendar (and any other Google services you plan to use), click Continue to Google, and approve the permissions. If you already connected a Google account with this service ticked, skip this step. If Sign in with Google is missing or Continue to Google is disabled, Google sign-in is not set up for your workspace: contact support. See Connections.
- Add the connector to your workspace
Click MCP in the sidebar, then Add connectors. Find Google Calendar in the App catalog, select it, and click Add to workspace. The instance now appears on the MCP connectors page. See MCP instances.
- Attach your Google account to a profile
Open the new instance to reach Instance config. Under Profiles for this connector, click New profile, enter a Display name, and on the Use a saved connection tab choose your Google account under Which connection?. Set Status to Active — can be used in workflows, click Save, then click Use this profile for workflows. You do not enter tokens yourself.
- Test it
In Workflow Studio, add the
google_calendar_get_eventstool from your Google Calendar instance (use Browse platform MCP if it is not listed), fill in its arguments, and run the workflow. A successful step means the connection works. Usecalendar_idprimaryfor your main calendar.
What you can build
- Meeting scheduler.
google_calendar_find_busy_free_periodschecks several calendars, an LLM picks a slot, andgoogle_calendar_create_eventbooks it with attendees and a Meet link. - Daily agenda. A schedule runs
google_calendar_get_eventsfor today and an LLM step summarizes it for a message or email. - Quick booking.
google_calendar_create_quick_eventturns text such as "Lunch with Sam tomorrow 1pm" into an event. - Approval first. A Human step confirms details, then
google_calendar_create_eventorgoogle_calendar_update_eventmakes the change.
Tools
The Required arguments column lists the fields the tool's input schema marks as required. Some of them are optional in practice; if you have nothing to set, pass an empty value such as "", [], {}, or false.
Tools marked Delete remove events or whole calendars permanently, including google_calendar_clear_calendar.
Events
| Tool | Access | What it does | Required arguments |
|---|---|---|---|
google_calendar_add_attendees_to_event | Write | Add attendees to an existing Google Calendar event. | calendar_id, event_id, attendees |
google_calendar_create_event | Write | Create a Google Calendar event, with optional attendees, location, color, and Meet link. | calendar_id, title, start_date_time |
google_calendar_create_quick_event | Write | Create a Google Calendar event from natural-language text using quickAdd. | calendar_id, text |
google_calendar_delete_event | Delete | Delete a Google Calendar event. | calendar_id, event_id |
google_calendar_duplicate_event | Write | Duplicate an existing Google Calendar event into a new event. | calendar_id, event_id |
google_calendar_find_busy_free_periods | Read | Find busy and free periods across one or more Google Calendars in a time range. | calendar_ids, start_date, end_date |
google_calendar_get_event_by_id | Read | Get a single Google Calendar event by event ID. | calendar_id, event_id |
google_calendar_get_events | Read | List Google Calendar events with optional search, date range, and event-type filters. | calendar_id |
google_calendar_update_event | Write | Update an existing Google Calendar event. | calendar_id, event_id |
Calendars and sharing
| Tool | Access | What it does | Required arguments |
|---|---|---|---|
google_calendar_add_calendar_to_list | Write | Add an existing calendar to the authenticated user's calendar list. | id |
google_calendar_clear_calendar | Delete | Delete all events from a Google Calendar. | calendar_id |
google_calendar_create_acl_rule | Write | Create a calendar access control rule. | calendar_id, scope_type, role |
google_calendar_create_calendar | Write | Create a new Google Calendar. | summary |
google_calendar_delete_acl_rule | Delete | Delete a calendar access control rule. | calendar_id, rule_id |
google_calendar_delete_calendar | Delete | Delete a Google Calendar. | calendar_id |
Example
Create a meeting after a person approves the time. Times are RFC 3339 date-times. send_notifications is all, externalOnly, or none.
{
"id": "book-meeting",
"type": "mcp",
"name": "Create calendar event",
"tool_name": "google_calendar_create_event",
"tool_args": {
"calendar_id": "primary",
"title": "{{steps.human-approve.result.meeting_title}}",
"start_date_time": "{{steps.human-approve.result.start_time}}",
"end_date_time": "{{steps.human-approve.result.end_time}}",
"attendees": [
"{{input.client_email}}"
],
"create_meet_link": true,
"send_notifications": "all"
},
"depends_on": [
"human-approve"
],
"timeout_s": 45
}Configuration
Google connectors take no keys from you: the permissions come from your Google account connection.
Google permissions (scopes) requested when you tick this service:
https://www.googleapis.com/auth/calendar
Signing in also requests openid and https://www.googleapis.com/auth/userinfo.email so AgentRuntime can tell which Google account signed in.
Troubleshooting
| Problem | What to do |
|---|---|
| Calendar not found | Use primary for the signed-in user's main calendar, or the calendar's ID for others. |
| Attendees do not get invites | Set send_notifications to all when you create the event. |
| Busy periods look wrong | Include every relevant ID in calendar_ids and check that the account can see those calendars. |
| Google access stopped working | Open Connections, open the Google account, and click Reconnect. If you removed a permission, click Update permissions and tick the service again. |