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
  919ee91f_42c6_ba3c_ea0c_1f17cb9a1e0a["on_tool_end()"]
  9659be4f_91d1_3b62_bcfb_38c048777165["FakeCallbackHandler"]
  919ee91f_42c6_ba3c_ea0c_1f17cb9a1e0a -->|defined in| 9659be4f_91d1_3b62_bcfb_38c048777165
  b2d944a6_90a9_7a11_55f6_3a355f0497f1["on_tool_end()"]
  b2d944a6_90a9_7a11_55f6_3a355f0497f1 -->|calls| 919ee91f_42c6_ba3c_ea0c_1f17cb9a1e0a
  5815b16e_b93c_3330_4228_6b935956d768["on_tool_end_common()"]
  919ee91f_42c6_ba3c_ea0c_1f17cb9a1e0a -->|calls| 5815b16e_b93c_3330_4228_6b935956d768
  b2d944a6_90a9_7a11_55f6_3a355f0497f1["on_tool_end()"]
  919ee91f_42c6_ba3c_ea0c_1f17cb9a1e0a -->|calls| b2d944a6_90a9_7a11_55f6_3a355f0497f1
  style 919ee91f_42c6_ba3c_ea0c_1f17cb9a1e0a fill:#6366f1,stroke:#818cf8,color:#fff

Relationship Graph

Source Code

libs/core/tests/unit_tests/fake/callbacks.py lines 215–220

    def on_tool_end(
        self,
        *args: Any,
        **kwargs: Any,
    ) -> Any:
        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 215.
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