ZapierToolkit#

class langchain_community.agent_toolkits.zapier.toolkit.ZapierToolkit[source]#

Bases: BaseToolkit

Zapier Toolkit.

Parameters:

tools – List[BaseTool]. The tools in the toolkit. Default is an empty list.

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 tools: List[BaseTool] = []#
async classmethod async_from_zapier_nla_wrapper(zapier_nla_wrapper: ZapierNLAWrapper) ZapierToolkit[source]#

Async create a toolkit from a ZapierNLAWrapper.

Parameters:

zapier_nla_wrapper (ZapierNLAWrapper) – ZapierNLAWrapper. The Zapier NLA wrapper.

Returns:

ZapierToolkit. The Zapier toolkit.

Return type:

ZapierToolkit

classmethod from_zapier_nla_wrapper(zapier_nla_wrapper: ZapierNLAWrapper) ZapierToolkit[source]#

Create a toolkit from a ZapierNLAWrapper.

Parameters:

zapier_nla_wrapper (ZapierNLAWrapper) – ZapierNLAWrapper. The Zapier NLA wrapper.

Returns:

ZapierToolkit. The Zapier toolkit.

Return type:

ZapierToolkit

get_tools() List[BaseTool][source]#

Get the tools in the toolkit.

Return type:

List[BaseTool]

Examples using ZapierToolkit