_get_parametrized_tools() — langchain Function Reference
Architecture documentation for the _get_parametrized_tools() function in test_tools.py from the langchain codebase.
Entity Profile
Dependency Diagram
graph TD f4d57bf5_47f9_85a8_7493_8d189b8d6a15["_get_parametrized_tools()"] 8e7836ae_e72c_f670_72a5_4ca6d46e3555["test_tools.py"] f4d57bf5_47f9_85a8_7493_8d189b8d6a15 -->|defined in| 8e7836ae_e72c_f670_72a5_4ca6d46e3555 style f4d57bf5_47f9_85a8_7493_8d189b8d6a15 fill:#6366f1,stroke:#818cf8,color:#fff
Relationship Graph
Source Code
libs/core/tests/unit_tests/test_tools.py lines 1891–1902
def _get_parametrized_tools() -> list[Callable[..., Any]]:
def my_tool(x: int, y: str, some_tool: Annotated[Any, InjectedToolArg]) -> str:
"""my_tool."""
return "my_tool"
async def my_async_tool(
x: int, y: str, *, some_tool: Annotated[Any, InjectedToolArg]
) -> str:
"""my_tool."""
return "my_tool"
return [my_tool, my_async_tool]
Domain
Subdomains
Defined In
Source
Frequently Asked Questions
What does _get_parametrized_tools() do?
_get_parametrized_tools() is a function in the langchain codebase, defined in libs/core/tests/unit_tests/test_tools.py.
Where is _get_parametrized_tools() defined?
_get_parametrized_tools() is defined in libs/core/tests/unit_tests/test_tools.py at line 1891.
Analyze Your Own Codebase
Get architecture documentation, dependency graphs, and domain analysis for your codebase in minutes.
Try Supermodel Free