BaseToolkit#

class langchain_core.tools.base.BaseToolkit[source]#

Bases: BaseModel, ABC

Base Toolkit representing a collection of related tools.

Create a new model by parsing and validating input data from keyword arguments.

Raises ValidationError if the input data cannot be parsed to form a valid model.

abstract get_tools() List[BaseTool][source]#

Get the tools in the toolkit.

Return type:

List[BaseTool]