LangChain · Class
BaseTool
BaseTool is the abstract base class for LangChain tools. Agents use tools to perform specific actions through a common runnable interface.
Last updated
- Since
- v1.7
Syntax
BaseTool(self, kwargs: Any = {})In-depth API docs are only for subscribers: parameters, examples, common mistakes and interview practice.
SubscribeRelated
ToolStructuredToolBaseToolkitToolCallToolMessagetoolconvert_runnable_to_tool