diff --git a/libs/core/langchain_core/tools.py b/libs/core/langchain_core/tools.py index bfce6bbfdb2f0..09b599a6eaa10 100644 --- a/libs/core/langchain_core/tools.py +++ b/libs/core/langchain_core/tools.py @@ -58,7 +58,6 @@ Callbacks, ) from langchain_core.load.serializable import Serializable -from langchain_core.messages.base import Content from langchain_core.messages.tool import ToolCall, ToolMessage from langchain_core.prompts import ( BasePromptTemplate, @@ -800,7 +799,7 @@ async def _arun( *args: Any, run_manager: Optional[AsyncCallbackManagerForToolRun] = None, **kwargs: Any, - ) -> Tuple[Content, Any]: + ) -> Any: """Use the tool asynchronously.""" if self.coroutine: if run_manager and signature(self.coroutine).parameters.get("callbacks"):