Home / Function/ on_tool_end_common() — langchain Function Reference

on_tool_end_common() — langchain Function Reference

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

Entity Profile

Dependency Diagram

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

Relationship Graph

Source Code

libs/langchain/tests/unit_tests/callbacks/fake_callback_handler.py lines 81–83

    def on_tool_end_common(self) -> None:
        self.tool_ends += 1
        self.ends += 1

Domain

Subdomains

Frequently Asked Questions

What does on_tool_end_common() do?
on_tool_end_common() is a function in the langchain codebase, defined in libs/langchain/tests/unit_tests/callbacks/fake_callback_handler.py.
Where is on_tool_end_common() defined?
on_tool_end_common() is defined in libs/langchain/tests/unit_tests/callbacks/fake_callback_handler.py at line 81.
What calls on_tool_end_common()?
on_tool_end_common() 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