BaseTool.run does not pass kwargs to the actual function call #28114
Labels
🤖:bug
Related to a bug, vulnerability, unexpected error with an existing feature
Ɑ: core
Related to langchain-core
investigate
Checked other resources
Example Code
Actual
Expected
Error Message and Stack Trace (if applicable)
No response
Description
I am using langchain to create custom tools.
The tools are using
kwargs
to pass some data.BaseTool.run
accepts**kwargs
as an argument and the docs clearly state:kwargs: Additional arguments to pass to the tool
I expect that if I pass any kwargs to tool.run they will be available for me to use inside the function, which they are NOT.
System Info
System Information
Package Information
Packages not installed (Not Necessarily a Problem)
The following packages were not found:
The text was updated successfully, but these errors were encountered: