Home / Function/ on_tool_start() — langchain Function Reference

on_tool_start() — langchain Function Reference

Architecture documentation for the on_tool_start() function in callbacks.py from the langchain codebase.

Function python LangChainCore Runnables calls 2 called by 1

Entity Profile

Dependency Diagram

graph TD
  1c46661c_78c4_3d5e_b907_4a3167819488["on_tool_start()"]
  97fbbdab_62ae_4a18_0986_15714bc2ccda["FakeCallbackHandler"]
  1c46661c_78c4_3d5e_b907_4a3167819488 -->|defined in| 97fbbdab_62ae_4a18_0986_15714bc2ccda
  c08d7c81_c623_16c9_5324_6950902ef702["on_tool_start()"]
  c08d7c81_c623_16c9_5324_6950902ef702 -->|calls| 1c46661c_78c4_3d5e_b907_4a3167819488
  1d34ae9c_a936_dd10_8131_bff67408505d["on_tool_start_common()"]
  1c46661c_78c4_3d5e_b907_4a3167819488 -->|calls| 1d34ae9c_a936_dd10_8131_bff67408505d
  c08d7c81_c623_16c9_5324_6950902ef702["on_tool_start()"]
  1c46661c_78c4_3d5e_b907_4a3167819488 -->|calls| c08d7c81_c623_16c9_5324_6950902ef702
  style 1c46661c_78c4_3d5e_b907_4a3167819488 fill:#6366f1,stroke:#818cf8,color:#fff

Relationship Graph

Source Code

libs/partners/groq/tests/unit_tests/fake/callbacks.py lines 198–203

    def on_tool_start(
        self,
        *args: Any,
        **kwargs: Any,
    ) -> Any:
        self.on_tool_start_common()

Domain

Subdomains

Called By

Frequently Asked Questions

What does on_tool_start() do?
on_tool_start() is a function in the langchain codebase, defined in libs/partners/groq/tests/unit_tests/fake/callbacks.py.
Where is on_tool_start() defined?
on_tool_start() is defined in libs/partners/groq/tests/unit_tests/fake/callbacks.py at line 198.
What does on_tool_start() call?
on_tool_start() calls 2 function(s): on_tool_start, on_tool_start_common.
What calls on_tool_start()?
on_tool_start() is called by 1 function(s): on_tool_start.

Analyze Your Own Codebase

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

Try Supermodel Free