create_event
Schedule events in Google Calendar by specifying details like time, location, and attendees. Optionally include Google Meet, reminders, attachments, and custom timezones.
Instructions
Creates a new event.
Args: user_google_email (str): The user's Google email address. Required. summary (str): Event title. start_time (str): Start time (RFC3339, e.g., "2023-10-27T10:00:00-07:00" or "2023-10-27" for all-day). end_time (str): End time (RFC3339, e.g., "2023-10-27T11:00:00-07:00" or "2023-10-28" for all-day). calendar_id (str): Calendar ID (default: 'primary'). description (Optional[str]): Event description. location (Optional[str]): Event location. attendees (Optional[List[str]]): Attendee email addresses. timezone (Optional[str]): Timezone (e.g., "America/New_York"). attachments (Optional[List[str]]): List of Google Drive file URLs or IDs to attach to the event. add_google_meet (bool): Whether to add a Google Meet video conference to the event. Defaults to False. reminders (Optional[Union[str, List[Dict[str, Any]]]]): JSON string or list of reminder objects. Each should have 'method' ("popup" or "email") and 'minutes' (0-40320). Max 5 reminders. Example: '[{"method": "popup", "minutes": 15}]' or [{"method": "popup", "minutes": 15}] use_default_reminders (bool): Whether to use calendar's default reminders. If False, uses custom reminders. Defaults to True.
Returns: str: Confirmation message of the successful event creation with event link.
Input Schema
Name | Required | Description | Default |
---|---|---|---|
add_google_meet | No | ||
attachments | No | ||
attendees | No | ||
calendar_id | No | primary | |
description | No | ||
end_time | Yes | ||
location | No | ||
reminders | No | ||
start_time | Yes | ||
summary | Yes | ||
timezone | No | ||
use_default_reminders | No | ||
user_google_email | Yes |