SearchEventsSchema#

class langchain_google_community.calendar.search_events.SearchEventsSchema[source]#

Bases: BaseModel

Input for CalendarSearchEvents.

Create a new model by parsing and validating input data from keyword arguments.

Raises [ValidationError][pydantic_core.ValidationError] if the input data cannot be validated to form a valid model.

self is explicitly positional-only to allow self as a field name.

param calendars_info: str [Required]#

A list with the information about all Calendars in Google CalendarUse the tool ‘get_calendars_info’ to get it.

param max_datetime: str [Required]#

The end datetime for the events search.

param max_results: int = 10#

The maximum number of results to return.

param min_datetime: str [Required]#

The start datetime for the events in ‘YYYY-MM-DD HH:MM:SS’ format. If you do not know the current datetime, use the tool to get it.

param order_by: str = 'startTime'#

The order of the events, either ‘startTime’ or ‘updated’.

param query: str | None = None#

Free text search terms to find events, that match these terms in the following fields: summary, description, location, attendee’s displayName, attendee’s email, organizer’s displayName, organizer’s email.

param single_events: bool = True#

Whether to expand recurring events into instances and only return single one-off events and instances of recurring events.’startTime’ or ‘updated’.