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_basic_tool.py from the langchain codebase.

Function python LangChainCore Runnables calls 1 called by 2

Entity Profile

Dependency Diagram

graph TD
  1300afc7_bc95_f334_c2d7_6428db0500b8["tool_invoke_params_example()"]
  868ef7e6_8139_b183_d5d1_f6057a154199["TestParrotMultiplyToolUnit"]
  1300afc7_bc95_f334_c2d7_6428db0500b8 -->|defined in| 868ef7e6_8139_b183_d5d1_f6057a154199
  cd77c1dc_e611_d8a3_9121_c365507caa8f["tool_invoke_params_example()"]
  cd77c1dc_e611_d8a3_9121_c365507caa8f -->|calls| 1300afc7_bc95_f334_c2d7_6428db0500b8
  2cd28d66_dbcf_f7dd_4f2f_bffc3e57f932["tool_invoke_params_example()"]
  2cd28d66_dbcf_f7dd_4f2f_bffc3e57f932 -->|calls| 1300afc7_bc95_f334_c2d7_6428db0500b8
  2cd28d66_dbcf_f7dd_4f2f_bffc3e57f932["tool_invoke_params_example()"]
  1300afc7_bc95_f334_c2d7_6428db0500b8 -->|calls| 2cd28d66_dbcf_f7dd_4f2f_bffc3e57f932
  style 1300afc7_bc95_f334_c2d7_6428db0500b8 fill:#6366f1,stroke:#818cf8,color:#fff

Relationship Graph

Source Code

libs/standard-tests/tests/unit_tests/test_basic_tool.py lines 46–52

    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_basic_tool.py.
Where is tool_invoke_params_example() defined?
tool_invoke_params_example() is defined in libs/standard-tests/tests/unit_tests/test_basic_tool.py at line 46.
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 2 function(s): tool_invoke_params_example, tool_invoke_params_example.

Analyze Your Own Codebase

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

Try Supermodel Free