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
  0385c9d0_8b8e_b5b8_dc51_af519842fbba["on_tool_end()"]
  10348507_70e9_81e4_3fb4_4c803e612737["FakeAsyncCallbackHandler"]
  0385c9d0_8b8e_b5b8_dc51_af519842fbba -->|defined in| 10348507_70e9_81e4_3fb4_4c803e612737
  adb7d627_4b5e_701f_fa68_e6f6a8cd5e11["on_tool_end()"]
  adb7d627_4b5e_701f_fa68_e6f6a8cd5e11 -->|calls| 0385c9d0_8b8e_b5b8_dc51_af519842fbba
  8d34a2df_233f_02ca_ae5e_2f4bbaad922c["on_tool_end_common()"]
  0385c9d0_8b8e_b5b8_dc51_af519842fbba -->|calls| 8d34a2df_233f_02ca_ae5e_2f4bbaad922c
  adb7d627_4b5e_701f_fa68_e6f6a8cd5e11["on_tool_end()"]
  0385c9d0_8b8e_b5b8_dc51_af519842fbba -->|calls| adb7d627_4b5e_701f_fa68_e6f6a8cd5e11
  style 0385c9d0_8b8e_b5b8_dc51_af519842fbba fill:#6366f1,stroke:#818cf8,color:#fff

Relationship Graph

Source Code

libs/partners/groq/tests/unit_tests/fake/callbacks.py lines 361–366

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