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
  3a368aed_52f0_c40c_0672_2c05f1eb8e98["on_tool_end()"]
  b9664d7e_7900_dd8a_b9b3_2ee136c7b790["FakeCallbackHandler"]
  3a368aed_52f0_c40c_0672_2c05f1eb8e98 -->|defined in| b9664d7e_7900_dd8a_b9b3_2ee136c7b790
  c08680a2_975d_176b_a367_2c03a51c3fb8["on_tool_end()"]
  c08680a2_975d_176b_a367_2c03a51c3fb8 -->|calls| 3a368aed_52f0_c40c_0672_2c05f1eb8e98
  156d7d53_62ca_3785_331e_4bfbfd783c1e["on_tool_end_common()"]
  3a368aed_52f0_c40c_0672_2c05f1eb8e98 -->|calls| 156d7d53_62ca_3785_331e_4bfbfd783c1e
  c08680a2_975d_176b_a367_2c03a51c3fb8["on_tool_end()"]
  3a368aed_52f0_c40c_0672_2c05f1eb8e98 -->|calls| c08680a2_975d_176b_a367_2c03a51c3fb8
  style 3a368aed_52f0_c40c_0672_2c05f1eb8e98 fill:#6366f1,stroke:#818cf8,color:#fff

Relationship Graph

Source Code

libs/partners/openai/tests/unit_tests/fake/callbacks.py lines 169–170

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