GmailToolkit#

class langchain_google_community.gmail.toolkit.GmailToolkit[source]#

Bases: BaseToolkit

Toolkit for interacting with Gmail.

Security Note: This toolkit contains tools that can read and modify

the state of a service; e.g., by reading, creating, updating, deleting data associated with this service.

For example, this toolkit can be used to send emails on behalf of the associated account.

See https://python.langchain.com/docs/security for more information.

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_resource: Resource [Optional]#
get_tools() List[BaseTool][source]#

Get the tools in the toolkit.

Return type:

List[BaseTool]