Home / Function/ tool_invoke_params_example() — langchain Function Reference

tool_invoke_params_example() — langchain Function Reference

Architecture documentation for the tool_invoke_params_example() function in test_decorated_tool.py from the langchain codebase.

Function python LangChainCore Runnables calls 1 called by 1

Entity Profile

Dependency Diagram

graph TD
  bf70518b_ad02_c9e4_8bd3_115910014029["tool_invoke_params_example()"]
  6de9e834_5ea7_320e_4332_a37afba95ca4["TestParrotMultiplyToolUnit"]
  bf70518b_ad02_c9e4_8bd3_115910014029 -->|defined in| 6de9e834_5ea7_320e_4332_a37afba95ca4
  0ab9e188_6c6d_2f14_8337_fe5acb007b5c["tool_invoke_params_example()"]
  0ab9e188_6c6d_2f14_8337_fe5acb007b5c -->|calls| bf70518b_ad02_c9e4_8bd3_115910014029
  0ab9e188_6c6d_2f14_8337_fe5acb007b5c["tool_invoke_params_example()"]
  bf70518b_ad02_c9e4_8bd3_115910014029 -->|calls| 0ab9e188_6c6d_2f14_8337_fe5acb007b5c
  style bf70518b_ad02_c9e4_8bd3_115910014029 fill:#6366f1,stroke:#818cf8,color:#fff

Relationship Graph

Source Code

libs/standard-tests/tests/unit_tests/test_decorated_tool.py lines 21–27

    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}

Domain

Subdomains

Frequently Asked Questions

What does tool_invoke_params_example() do?
tool_invoke_params_example() is a function in the langchain codebase, defined in libs/standard-tests/tests/unit_tests/test_decorated_tool.py.
Where is tool_invoke_params_example() defined?
tool_invoke_params_example() is defined in libs/standard-tests/tests/unit_tests/test_decorated_tool.py at line 21.
What does tool_invoke_params_example() call?
tool_invoke_params_example() calls 1 function(s): tool_invoke_params_example.
What calls tool_invoke_params_example()?
tool_invoke_params_example() is called by 1 function(s): tool_invoke_params_example.

Analyze Your Own Codebase

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

Try Supermodel Free