Home / Function/ _on_tool_end() — langchain Function Reference

_on_tool_end() — langchain Function Reference

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

Entity Profile

Dependency Diagram

graph TD
  389d2c9d_1f7b_6f21_5827_0f636aa0e114["_on_tool_end()"]
  b3ab8001_c14c_4191_ca53_2dbabc99917f["AsyncBaseTracer"]
  389d2c9d_1f7b_6f21_5827_0f636aa0e114 -->|defined in| b3ab8001_c14c_4191_ca53_2dbabc99917f
  3c301f83_2f92_47da_cfb1_097c993f88fb["on_tool_end()"]
  3c301f83_2f92_47da_cfb1_097c993f88fb -->|calls| 389d2c9d_1f7b_6f21_5827_0f636aa0e114
  7bd5eb03_6d13_dcf0_56f3_cb5d1f0ce44d["on_tool_end()"]
  7bd5eb03_6d13_dcf0_56f3_cb5d1f0ce44d -->|calls| 389d2c9d_1f7b_6f21_5827_0f636aa0e114
  style 389d2c9d_1f7b_6f21_5827_0f636aa0e114 fill:#6366f1,stroke:#818cf8,color:#fff

Relationship Graph

Source Code

libs/core/langchain_core/tracers/base.py lines 902–903

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

Domain

Subdomains

Frequently Asked Questions

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

Analyze Your Own Codebase

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

Try Supermodel Free