Skip to main content
The user states scheduling intent; the agent creates or updates calendar events via Google Calendar tools.

Google Calendar Tools

Quick Start

1

Install

2

Create a calendar agent

Manage Google Calendar Events

  1. Create a file called tools.py
  2. Add the following code:
  1. Download credentials.json from Google Cloud Console and place it in your project directory

Best Practices

Format dates as 2025-01-15T10:00:00 for reliable parsing across time zones.
Tell the agent your timezone - calendar events are time-zone-sensitive.
Use read-only scopes when the agent only needs to list events, not create or modify them.
Have the agent verify recurring event details before creating - mistakes repeat across many dates.

Custom Tools

Build your own agent tools

Tools Overview

Browse PraisonAI tool documentation