Skip to main content

Documentation Index

Fetch the complete documentation index at: https://onecli.sh/docs/llms.txt

Use this file to discover all available pages before exploring further.

Overview

OneCLI connects AI agents to Google Calendar through Google’s OAuth flow. Agents can list upcoming events, create new meetings, check availability, and manage RSVPs. The gateway injects OAuth credentials into requests to the Google Calendar API automatically. This is useful for scheduling agents, meeting coordinators, or any agent that needs awareness of your calendar.

Setup

1

Go to Connections

Open the OneCLI dashboard and navigate to Connections > Google Calendar.
2

Authorize

Click Connect Google Calendar. You’ll be redirected to Google to authorize OneCLI. Review the permissions and click Allow.

What agents can do

  • List events on any of your calendars within a date range
  • Get details for a specific event (attendees, location, video link, description)
  • Create new events with attendees, location, and conferencing
  • Update existing events (reschedule, change attendees, modify description)
  • Delete or cancel events
  • Check free/busy availability for one or more people
  • Respond to event invitations (accept, decline, tentative)
  • List all calendars on the account
  • Create and manage secondary calendars

Controlling access with rules

Use OneCLI’s rules engine to limit what agents can do with your calendar. For example, you can allow read-only access so agents can check your schedule but not create or modify events, or rate limit event creation to prevent runaway scheduling. Rules are evaluated before credential injection, so a blocked request never reaches Google Calendar.