Home / Class/ InheritedInjectedArgTool Class — langchain Architecture

InheritedInjectedArgTool Class — langchain Architecture

Architecture documentation for the InheritedInjectedArgTool class in test_tools.py from the langchain codebase.

Entity Profile

Dependency Diagram

graph TD
  e638eef3_0e4d_65f4_f61a_61849ab5a737["InheritedInjectedArgTool"]
  18e85ff8_9a5d_f800_f722_027398dc89e7["BaseTool"]
  e638eef3_0e4d_65f4_f61a_61849ab5a737 -->|extends| 18e85ff8_9a5d_f800_f722_027398dc89e7
  8e7836ae_e72c_f670_72a5_4ca6d46e3555["test_tools.py"]
  e638eef3_0e4d_65f4_f61a_61849ab5a737 -->|defined in| 8e7836ae_e72c_f670_72a5_4ca6d46e3555
  79234e3e_cdd7_7fdf_bdec_22d4f9634dcc["_run()"]
  e638eef3_0e4d_65f4_f61a_61849ab5a737 -->|method| 79234e3e_cdd7_7fdf_bdec_22d4f9634dcc

Relationship Graph

Source Code

libs/core/tests/unit_tests/test_tools.py lines 1840–1847

    class InheritedInjectedArgTool(BaseTool):
        name: str = "foo"
        description: str = "foo."
        args_schema: type[BaseModel] = FooSchema

        @override
        def _run(self, x: int, y: str) -> Any:
            return y

Extends

Frequently Asked Questions

What is the InheritedInjectedArgTool class?
InheritedInjectedArgTool is a class in the langchain codebase, defined in libs/core/tests/unit_tests/test_tools.py.
Where is InheritedInjectedArgTool defined?
InheritedInjectedArgTool is defined in libs/core/tests/unit_tests/test_tools.py at line 1840.
What does InheritedInjectedArgTool extend?
InheritedInjectedArgTool extends BaseTool.

Analyze Your Own Codebase

Get architecture documentation, dependency graphs, and domain analysis for your codebase in minutes.

Try Supermodel Free