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 callbacks.py from the langchain codebase.

Entity Profile

Dependency Diagram

graph TD
  156d7d53_62ca_3785_331e_4bfbfd783c1e["on_tool_end_common()"]
  f0bf147f_92f7_4127_bab5_d25b15399ce6["BaseFakeCallbackHandlerMixin"]
  156d7d53_62ca_3785_331e_4bfbfd783c1e -->|defined in| f0bf147f_92f7_4127_bab5_d25b15399ce6
  3a368aed_52f0_c40c_0672_2c05f1eb8e98["on_tool_end()"]
  3a368aed_52f0_c40c_0672_2c05f1eb8e98 -->|calls| 156d7d53_62ca_3785_331e_4bfbfd783c1e
  c08680a2_975d_176b_a367_2c03a51c3fb8["on_tool_end()"]
  c08680a2_975d_176b_a367_2c03a51c3fb8 -->|calls| 156d7d53_62ca_3785_331e_4bfbfd783c1e
  style 156d7d53_62ca_3785_331e_4bfbfd783c1e fill:#6366f1,stroke:#818cf8,color:#fff

Relationship Graph

Source Code

libs/partners/openai/tests/unit_tests/fake/callbacks.py lines 84–86

    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/partners/openai/tests/unit_tests/fake/callbacks.py.
Where is on_tool_end_common() defined?
on_tool_end_common() is defined in libs/partners/openai/tests/unit_tests/fake/callbacks.py at line 84.
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