LangChainInteroperabilityInteroperable
protocol for converting Langchain tools
into a general Tool
format.LangchainTool
and converts it into a standard Tool
object,
ensuring compatibility between Langchain tools and other systems that expect
the Tool
format.
Tool
format.LangchainTool
,
processes the tool’s input and description, and returns a standardized
Tool
object.Name | Description |
---|---|
cls | |
tool | The tool to convert, expected to be an instance of LangchainTool .Type: Any |
**kwargs | Additional arguments, which are not supported by this method. Type: Any |
Type | Description |
---|---|
Tool | Tool: A standardized Tool object converted from the Langchain tool. |