We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent c35136a commit 76463f3Copy full SHA for 76463f3
src/neo4j_graphrag/tool.py
@@ -263,3 +263,9 @@ def execute(self, **kwargs: Any) -> Any:
263
Any: The result of the tool execution.
264
"""
265
return self._execute_func(**kwargs)
266
+
267
+ def __str__(self) -> str:
268
+ return f"Tool(name={self._name}, description={self._description}, parameters={self._parameters})"
269
270
+ def __repr__(self) -> str:
271
+ return self.__str__()
0 commit comments