Home / Function/ on_tool_end() — langchain Function Reference

on_tool_end() — langchain Function Reference

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

Entity Profile

Dependency Diagram

graph TD
  c7c66f71_ad14_31ec_c271_5a62002a5877["on_tool_end()"]
  c82a49cc_3a43_e4a6_1cb8_d4b415fb5209["FakeAsyncCallbackHandler"]
  c7c66f71_ad14_31ec_c271_5a62002a5877 -->|defined in| c82a49cc_3a43_e4a6_1cb8_d4b415fb5209
  b3761eb6_f7ec_912e_e7fb_652160912e2c["on_tool_end()"]
  b3761eb6_f7ec_912e_e7fb_652160912e2c -->|calls| c7c66f71_ad14_31ec_c271_5a62002a5877
  3327b0a3_1d52_c9a5_6a73_71b856e6c61a["on_tool_end_common()"]
  c7c66f71_ad14_31ec_c271_5a62002a5877 -->|calls| 3327b0a3_1d52_c9a5_6a73_71b856e6c61a
  b3761eb6_f7ec_912e_e7fb_652160912e2c["on_tool_end()"]
  c7c66f71_ad14_31ec_c271_5a62002a5877 -->|calls| b3761eb6_f7ec_912e_e7fb_652160912e2c
  style c7c66f71_ad14_31ec_c271_5a62002a5877 fill:#6366f1,stroke:#818cf8,color:#fff

Relationship Graph

Source Code

libs/langchain/tests/unit_tests/callbacks/fake_callback_handler.py lines 385–390

    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/langchain/tests/unit_tests/callbacks/fake_callback_handler.py.
Where is on_tool_end() defined?
on_tool_end() is defined in libs/langchain/tests/unit_tests/callbacks/fake_callback_handler.py at line 385.
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