Skip to content

The agent engineering platform.

[Core]: Small Docstring Clarification for `BaseTool` (#28148)

Mohammad Mohtashimec9b41431ea8
diff --git a/libs/core/langchain_core/tools/base.py b/libs/core/langchain_core/tools/base.py
index 9782234dfb..815607f3b4 100644
--- a/libs/core/langchain_core/tools/base.py
+++ b/libs/core/langchain_core/tools/base.py
@@ -609,7 +609,7 @@ class ChildTool(BaseTool):
run_id: The id of the run. Defaults to None.
config: The configuration for the tool. Defaults to None.
tool_call_id: The id of the tool call. Defaults to None.
- kwargs: Additional arguments to pass to the tool
+ kwargs: Keyword arguments to be passed to tool callbacks
Returns:
The output of the tool.
@@ -721,7 +721,7 @@ class ChildTool(BaseTool):
run_id: The id of the run. Defaults to None.
config: The configuration for the tool. Defaults to None.
tool_call_id: The id of the tool call. Defaults to None.
- kwargs: Additional arguments to pass to the tool
+ kwargs: Keyword arguments to be passed to tool callbacks
Returns:
The output of the tool.