SheetsToolkit#

class langchain_google_community.sheets.toolkit.SheetsToolkit[source]#

Bases: BaseToolkit

Toolkit for interacting with Google Sheets.

Security Note: This toolkit contains tools that can read data from

Google Sheets. Currently, only read operations are supported.

For example, this toolkit can be used to read spreadsheet data, get spreadsheet metadata, and perform filtered data queries.

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 api_key: str | None = None#
param api_resource: Resource = None#
get_tools() List[BaseTool][source]#

Get the tools in the toolkit.

Return type:

List[BaseTool]