def METHOD_NAME(
    self,
    **langchain_tool_kwargs: Any,
) -> Tool:
    """To langchain tool."""
    langchain_tool_kwargs = self._process_langchain_tool_kwargs(
        langchain_tool_kwargs
    )
    return Tool.from_function(
        func=self.__call__,
        **langchain_tool_kwargs,
    )