Skip to content
masterclass Buddy

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.

Subscribe
  • Tool
  • StructuredTool
  • BaseToolkit
  • ToolCall
  • ToolMessage
  • tool
  • convert_runnable_to_tool

Source: BaseTool | langchain_core | LangChain Reference. Checked 2026-11-03.