O365Toolkit#

class langchain_community.agent_toolkits.office365.toolkit.O365Toolkit[source]#

Bases: BaseToolkit

Toolkit for interacting with Office 365.

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 search through emails and events, send messages and event invites, and create draft messages.

Please make sure that the permissions given by this toolkit are appropriate for your use case.

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

Parameters:

account – Optional. The Office 365 account. Default is None.

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

Get the tools in the toolkit.

Return type:

List[BaseTool]

Examples using O365Toolkit