Home / Class/ TestParrotMultiplyArtifactToolIntegration Class — langchain Architecture

TestParrotMultiplyArtifactToolIntegration Class — langchain Architecture

Architecture documentation for the TestParrotMultiplyArtifactToolIntegration class in test_basic_tool.py from the langchain codebase.

Entity Profile

Dependency Diagram

graph TD
  cb956cff_910b_0468_e761_985e633c4014["TestParrotMultiplyArtifactToolIntegration"]
  1d8fc9eb_6e1b_e6b2_25c1_496643fddc53["ToolsIntegrationTests"]
  cb956cff_910b_0468_e761_985e633c4014 -->|extends| 1d8fc9eb_6e1b_e6b2_25c1_496643fddc53
  ff94d291_7121_e97f_38df_f828aca1fe6f["test_basic_tool.py"]
  cb956cff_910b_0468_e761_985e633c4014 -->|defined in| ff94d291_7121_e97f_38df_f828aca1fe6f
  04410f75_10d9_ecdc_a8a5_193d92f0c524["tool_constructor()"]
  cb956cff_910b_0468_e761_985e633c4014 -->|method| 04410f75_10d9_ecdc_a8a5_193d92f0c524
  d793cc54_fd4f_8ab2_070f_23e8dfae45ac["tool_constructor_params()"]
  cb956cff_910b_0468_e761_985e633c4014 -->|method| d793cc54_fd4f_8ab2_070f_23e8dfae45ac
  2cd28d66_dbcf_f7dd_4f2f_bffc3e57f932["tool_invoke_params_example()"]
  cb956cff_910b_0468_e761_985e633c4014 -->|method| 2cd28d66_dbcf_f7dd_4f2f_bffc3e57f932

Relationship Graph

Source Code

libs/standard-tests/tests/unit_tests/test_basic_tool.py lines 77–96

class TestParrotMultiplyArtifactToolIntegration(ToolsIntegrationTests):
    @property
    def tool_constructor(self) -> type[ParrotMultiplyArtifactTool]:
        return ParrotMultiplyArtifactTool

    @property
    def tool_constructor_params(self) -> dict[str, Any]:
        # if your tool constructor instead required initialization arguments like
        # `def __init__(self, some_arg: int):`, you would return those here
        # as a dictionary, e.g.: `return {'some_arg': 42}`
        return {}

    @property
    def tool_invoke_params_example(self) -> dict[str, Any]:
        """Returns a dictionary representing the "args" of an example tool call.

        This should NOT be a ToolCall dict - i.e. it should not
        have {"name", "id", "args"} keys.
        """
        return {"a": 2, "b": 3}

Frequently Asked Questions

What is the TestParrotMultiplyArtifactToolIntegration class?
TestParrotMultiplyArtifactToolIntegration is a class in the langchain codebase, defined in libs/standard-tests/tests/unit_tests/test_basic_tool.py.
Where is TestParrotMultiplyArtifactToolIntegration defined?
TestParrotMultiplyArtifactToolIntegration is defined in libs/standard-tests/tests/unit_tests/test_basic_tool.py at line 77.
What does TestParrotMultiplyArtifactToolIntegration extend?
TestParrotMultiplyArtifactToolIntegration extends ToolsIntegrationTests.

Analyze Your Own Codebase

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

Try Supermodel Free