Home / Function/ _on_tool_start() — langchain Function Reference

_on_tool_start() — langchain Function Reference

Architecture documentation for the _on_tool_start() function in base.py from the langchain codebase.

Entity Profile

Dependency Diagram

graph TD
  06193a20_5e97_3a0b_9bc5_248b90e7cb0d["_on_tool_start()"]
  b3ab8001_c14c_4191_ca53_2dbabc99917f["AsyncBaseTracer"]
  06193a20_5e97_3a0b_9bc5_248b90e7cb0d -->|defined in| b3ab8001_c14c_4191_ca53_2dbabc99917f
  6960ac87_9904_f051_9a03_c1f72b80f78d["on_tool_start()"]
  6960ac87_9904_f051_9a03_c1f72b80f78d -->|calls| 06193a20_5e97_3a0b_9bc5_248b90e7cb0d
  af854144_a34e_e08b_b43a_58573b084ed6["on_tool_start()"]
  af854144_a34e_e08b_b43a_58573b084ed6 -->|calls| 06193a20_5e97_3a0b_9bc5_248b90e7cb0d
  style 06193a20_5e97_3a0b_9bc5_248b90e7cb0d fill:#6366f1,stroke:#818cf8,color:#fff

Relationship Graph

Source Code

libs/core/langchain_core/tracers/base.py lines 899–900

    async def _on_tool_start(self, run: Run) -> None:
        """Process the Tool Run upon start."""

Domain

Subdomains

Frequently Asked Questions

What does _on_tool_start() do?
_on_tool_start() is a function in the langchain codebase, defined in libs/core/langchain_core/tracers/base.py.
Where is _on_tool_start() defined?
_on_tool_start() is defined in libs/core/langchain_core/tracers/base.py at line 899.
What calls _on_tool_start()?
_on_tool_start() is called by 2 function(s): on_tool_start, on_tool_start.

Analyze Your Own Codebase

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

Try Supermodel Free