Home / Function/ on_tool_end() — langchain Function Reference

on_tool_end() — langchain Function Reference

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

Entity Profile

Dependency Diagram

graph TD
  b2d944a6_90a9_7a11_55f6_3a355f0497f1["on_tool_end()"]
  420de797_6be5_1482_0203_e7dd66c71fd0["FakeAsyncCallbackHandler"]
  b2d944a6_90a9_7a11_55f6_3a355f0497f1 -->|defined in| 420de797_6be5_1482_0203_e7dd66c71fd0
  919ee91f_42c6_ba3c_ea0c_1f17cb9a1e0a["on_tool_end()"]
  919ee91f_42c6_ba3c_ea0c_1f17cb9a1e0a -->|calls| b2d944a6_90a9_7a11_55f6_3a355f0497f1
  5815b16e_b93c_3330_4228_6b935956d768["on_tool_end_common()"]
  b2d944a6_90a9_7a11_55f6_3a355f0497f1 -->|calls| 5815b16e_b93c_3330_4228_6b935956d768
  919ee91f_42c6_ba3c_ea0c_1f17cb9a1e0a["on_tool_end()"]
  b2d944a6_90a9_7a11_55f6_3a355f0497f1 -->|calls| 919ee91f_42c6_ba3c_ea0c_1f17cb9a1e0a
  style b2d944a6_90a9_7a11_55f6_3a355f0497f1 fill:#6366f1,stroke:#818cf8,color:#fff

Relationship Graph

Source Code

libs/core/tests/unit_tests/fake/callbacks.py lines 389–394

    async def on_tool_end(
        self,
        *args: Any,
        **kwargs: Any,
    ) -> None:
        self.on_tool_end_common()

Domain

Subdomains

Called By

Frequently Asked Questions

What does on_tool_end() do?
on_tool_end() is a function in the langchain codebase, defined in libs/core/tests/unit_tests/fake/callbacks.py.
Where is on_tool_end() defined?
on_tool_end() is defined in libs/core/tests/unit_tests/fake/callbacks.py at line 389.
What does on_tool_end() call?
on_tool_end() calls 2 function(s): on_tool_end, on_tool_end_common.
What calls on_tool_end()?
on_tool_end() is called by 1 function(s): on_tool_end.

Analyze Your Own Codebase

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

Try Supermodel Free