This page contains reference documentation for Google Community. See the docs for conceptual guides, tutorials, and examples on using Google Community modules.
Google Vertex AI Search retriever.
This retriever supports both stable (v1) and beta versions of the Discovery Engine.
Beta features are only available when beta=True.
For a detailed explanatio
Google Vertex AI Search retriever for multi-turn conversations.
Supports both stable (v1) and beta versions of the Discovery Engine API.
Class that exposes a tool to interface with an App in Vertex Search and
Conversation and get the summary of the documents retrieved.
Supports both stable (v1) and beta versions of the Discovery Engi
Wrapper for Google Maps Geocoding API.
Provides methods for geocoding locations with configurable options for address components, geometry, metadata, and navigation points.
Input schema for GoogleGeocodingTool.
Tool for geocoding locations using Google Maps Geocoding API.
Inherits from BaseTool.
Supports batch location lookups with detailed address and coordinate informat
A dataclass to store Document AI parsing results.
Google Cloud Document AI parser.
Inherits from BaseBlobParser.
Parses documents using Google Cloud Document AI for text extraction and layout anal
Document compressor using Vertex AI Ranking API.
Inherits from
BaseDocumentCompressor.
Reranks documents based on relevance to a query
Tool that queries the Google Cloud Text-to-Speech API.
Inherits from BaseTool.
Synthesizes audio from text with support for multiple languages and voice options.
Wrapper around Google Places API.
Searches for places using Google Maps Platform. Returns detailed information including addresses, phone numbers, and websites.
Requires
Input schema for GooglePlacesTool.
Tool that queries the Google Places API.
Inherits from BaseTool.
Validates and discovers addresses from ambiguous text using Google Maps Platform.
Translate text documents using Google Cloud Translation.
Inherits from
BaseDocumentTransformer.
Transforms documents by translating their conten
Load documents from Google Cloud Storage file.
Inherits from BaseLoader.
Downloads and loads a single file from GCS bucket using configurable loader.
Retriever for Google Cloud Document AI Warehouse.
Inherits from BaseRetriever.
Searches documents using Document AI Warehouse schema. Documents must be c
Loader for Google Cloud Speech-to-Text audio transcripts.
Inherits from BaseLoader.
Transcribes audio files using Google Cloud Speech-to-Text API and
Initializes the Vertex AI CheckGroundingOutputParser with configurable parameters.
Calls the Check Grounding API to validate the response against a given set of documents and returns back citations t
Load documents from Google Drive.
Inherits from BaseLoader.
Supports loading from folders, specific documents, or file IDs with authentication.
Load documents from Google Cloud Storage directory.
Inherits from BaseLoader.
Loads all files from a GCS bucket with optional prefix filtering.
Wrapper for Google Custom Search API.
Performs web searches using Google Custom Search API and returns results with snippets, titles, and links.
Tool that queries the Google Custom Search API.
Inherits from BaseTool.
Returns concatenated snippets from search results.
Tool that queries the Google Custom Search API and returns JSON.
Inherits from BaseTool.
Returns structured search results with metadata.
Load documents from Google Cloud BigQuery.
Inherits from BaseLoader.
Each row becomes a document. Columns can be mapped to page_content or
`metadata
Middleware to integrate Model Armor sanitization into agent execution.
This middleware provides hooks that sanitize user prompts before they reach the model and sanitize model responses before they'r
Runnable to sanitize user prompts using Model Armor.
Runnable to sanitize LLM responses using Model Armor.
Model Armor parameters.
Base runnable for user prompt or model response sanitization using Model Armor.
Input schema for SheetsGetSpreadsheetInfoTool.
Tool for retrieving Google Sheets metadata and structure information.
Inherits from
SheetsBaseTool.
Retrieves spreadsheet properties, sheet
Toolkit for interacting with Google Sheets.
Inherits from BaseToolkit.
Provides comprehensive Google Sheets integration with read and write capabilities.
Base schema for read operations with common fields.
Base class for Google Sheets read operations.
Provides shared functionality for data processing, value extraction, and record conversion that is common across all read tools.
Input schema for SheetsReadDataTool.
Tool for reading data from a single range in Google Sheets.
Inherits from
BaseReadTool.
Reads data from a single range with suppo
Input schema for SheetsBatchReadDataTool.
Tool for reading data from multiple ranges in Google Sheets efficiently.
Inherits from
BaseReadTool.
Reads multiple ranges in a s
Schema for DataFilter used with getByDataFilter API.
Input schema for SheetsFilteredReadDataTool.
Tool for reading data from Google Sheets using DataFilters.
BaseReadTool.
Uses getByDataFilter API to read ranges specified by
Input schema for SheetsCreateSpreadsheetTool.
Tool for creating new Google Spreadsheets.
Inherits from
SheetsBaseTool.
Creates spreadsheets with configurable properties and optional ini
Base schema for write operations with common fields.
Input schema for SheetsUpdateValuesTool.
Tool for updating values in a single range of Google Sheets.
Inherits from
SheetsBaseTool.
Updates cell values in a specified range, overwr
Input schema for SheetsAppendValuesTool.
Tool for appending values to a Google Spreadsheet table.
Inherits from
SheetsBaseTool.
Appends data to the end of a table, automatically fi
Input schema for SheetsClearValuesTool.
Tool for clearing values from a Google Spreadsheet range.
Inherits from
SheetsBaseTool.
Clears cell values from a specified range while pre
Schema for a single range update in batch operation.
Input schema for SheetsBatchUpdateValuesTool.
Tool for batch updating multiple ranges in Google Sheets efficiently.
Inherits from
SheetsBaseTool.
Updates multiple ranges in a single API
Base class for Google Sheets tools.
Authentication:
api_resource: OAuth2 credentials for full access (read/write private sheets)api_key: API key for read-only access (public sheets only)!!
Google Sheets value render options.
Determines how values should be rendered in the response.
Google Sheets date/time render options.
Determines how dates, times, and durations should be rendered in the response.
Google Sheets major dimension options.
Determines how the values should be oriented in the response.
Filter condition types for Google Sheets data filters.
Google Sheets value input options for write operations.
Determines how input values should be interpreted when writing to cells.
Google Sheets insert data options for append operations.
Determines how data should be inserted when appending to a table.
Input schema for CalendarMoveEvent.
Tool that move an event between calendars in Google Calendar.
Input schema for CalendarDeleteEvent.
Tool that delete an event in Google Calendar.
Input schema for CalendarUpdateEvent.
Tool that updates an event in Google Calendar.
Toolkit for interacting with Google Calendar.
Provides tools for calendar operations including creating, searching, updating, moving, and deleting events.
This toolkit con
Input schema for GetCurrentDatetime.
Tool that gets the current datetime according to the calendar timezone.
Input schema for CalendarCreateEvent.
Tool that creates an event in Google Calendar.
Tool that get information about the calendars in Google Calendar.
Base class for Google Calendar tools.
Input schema for CalendarSearchEvents.
Tool that retrieves events from Google Calendar.
Toolkit for interacting with Google Tasks.
This toolkit provides tools for creating, listing, updating, deleting, and retrieving tasks from Google Tasks.
Input schema for TasksGetTask.
Tool that retrieves a specific task from Google Tasks.
Input schema for TasksDeleteTask.
Tool that deletes a task from Google Tasks.
Input schema for TasksListTasks.
Tool that lists tasks from Google Tasks.
Input schema for TasksCreateTask.
Tool that creates a task in Google Tasks.
Input schema for TasksUpdateTask.
Tool that updates a task in Google Tasks.
Base class for Google Tasks tools.
Represents a latency measurement with optional component breakdown.
Represents an OpenTelemetry-style span context.
Context information for a single run/operation.
Thread-safe latency tracker for synchronous operations.
Async-safe latency tracker for asynchronous operations.
Thread-safe registry for tracking run context (e.g., tool names).
Async-safe registry for tracking run context (e.g., tool names).
Base Registry to manage run_id to root_run_id mapping for trace correlation.
Registry to manage run_id to root_run_id mapping for trace correlation.
Async Registry to manage run_id to root_run_id mapping for trace correlation.
Callback handler for logging LangChain events to Google BigQuery.
Callback handler for logging LangChain events to Google BigQuery.
Emits INVOCATION_STARTING/INVOCATION_COMPLETED for a graph run.
Async context manager for wrapping graph execution with events.
Toolkit for interacting with Gmail.
Provides tools for Gmail operations including creating drafts, sending messages, searching emails, and retrieving messages and threads.
Input schema for SendMessageTool.
Tool that sends a message to Gmail.
Input schema for CreateDraftTool.
Tool that creates a draft email for Gmail.
Input schema for GetMessageTool.
Tool that gets a message by ID from Gmail.
Input schema for GetThreadTool.
Tool that gets a thread by ID from Gmail.
Base class for Gmail tools.
Enumerator of Resources to search.
Input schema for SearchGmailTool.
Tool that searches for messages or threads in Gmail.
Load chat sessions from Gmail.
Inherits from
BaseChatLoader.
Loads sent messages and their preceding emails to create chat training examples.
This lo
Returns a custom user agent header.
Returns a client info object with a custom user agent header.
Import google libraries.
Import InstalledAppFlow class.
Import googleapiclient.discovery.build function.
Get credentials.
Import the google-cloud-bigquery library and return the client.
Build a Google Sheets service with OAuth2 credentials (full access).
Build a Google Sheets service with API key (read-only access).
Validate and normalize a Google Spreadsheet ID.
Validate A1 notation range format.
Supports:
'A1', 'Z99''A1:B2''A:A', 'B:D''1:1', '5:10''Sheet1!A1', `"'Validate and normalize a range name.
Permissive A1 validator. Supports:
'A1', 'Z99''A1:B2''A:A', 'B:D''1:1', '5:10'Build a Google Calendar service.
Check if the event is all day.
Build a Google Tasks service.
Import google-cloud-bigquery and its dependencies.
Get Gmail credentials.
Build a Gmail service.
Build a Gmail resource service.
Clean email body.