Esta página no está disponible en español. Se muestra la versión en inglés.

Google Calendar connector

Read, create, and update Google Calendar events, find free time, and manage calendars from AgentRuntime workflows.

En esta página

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

  1. 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.

  2. 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.

  3. 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.

  4. Test it

    In Workflow Studio, add the google_calendar_get_events tool 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. Use calendar_id primary for your main calendar.

What you can build

  • Meeting scheduler. google_calendar_find_busy_free_periods checks several calendars, an LLM picks a slot, and google_calendar_create_event books it with attendees and a Meet link.
  • Daily agenda. A schedule runs google_calendar_get_events for today and an LLM step summarizes it for a message or email.
  • Quick booking. google_calendar_create_quick_event turns text such as "Lunch with Sam tomorrow 1pm" into an event.
  • Approval first. A Human step confirms details, then google_calendar_create_event or google_calendar_update_event makes 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

ToolAccessWhat it doesRequired arguments
google_calendar_add_attendees_to_eventWriteAdd attendees to an existing Google Calendar event.calendar_id, event_id, attendees
google_calendar_create_eventWriteCreate a Google Calendar event, with optional attendees, location, color, and Meet link.calendar_id, title, start_date_time
google_calendar_create_quick_eventWriteCreate a Google Calendar event from natural-language text using quickAdd.calendar_id, text
google_calendar_delete_eventDeleteDelete a Google Calendar event.calendar_id, event_id
google_calendar_duplicate_eventWriteDuplicate an existing Google Calendar event into a new event.calendar_id, event_id
google_calendar_find_busy_free_periodsReadFind 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_idReadGet a single Google Calendar event by event ID.calendar_id, event_id
google_calendar_get_eventsReadList Google Calendar events with optional search, date range, and event-type filters.calendar_id
google_calendar_update_eventWriteUpdate an existing Google Calendar event.calendar_id, event_id

Calendars and sharing

ToolAccessWhat it doesRequired arguments
google_calendar_add_calendar_to_listWriteAdd an existing calendar to the authenticated user's calendar list.id
google_calendar_clear_calendarDeleteDelete all events from a Google Calendar.calendar_id
google_calendar_create_acl_ruleWriteCreate a calendar access control rule.calendar_id, scope_type, role
google_calendar_create_calendarWriteCreate a new Google Calendar.summary
google_calendar_delete_acl_ruleDeleteDelete a calendar access control rule.calendar_id, rule_id
google_calendar_delete_calendarDeleteDelete 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

ProblemWhat to do
Calendar not foundUse primary for the signed-in user's main calendar, or the calendar's ID for others.
Attendees do not get invitesSet send_notifications to all when you create the event.
Busy periods look wrongInclude every relevant ID in calendar_ids and check that the account can see those calendars.
Google access stopped workingOpen Connections, open the Google account, and click Reconnect. If you removed a permission, click Update permissions and tick the service again.
Editar esta páginaagentruntime-io/agentruntime-docs