Home / Function/ on_tool_end() — langchain Function Reference

on_tool_end() — langchain Function Reference

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

Entity Profile

Dependency Diagram

graph TD
  72971c15_1908_5adb_880f_cb16b936298b["on_tool_end()"]
  4b8e5bd6_69e8_42aa_044f_63f638ae480d["FakeCallbackHandler"]
  72971c15_1908_5adb_880f_cb16b936298b -->|defined in| 4b8e5bd6_69e8_42aa_044f_63f638ae480d
  39399b2d_3cbe_ace5_d4d1_6fe07e027d9f["on_tool_end_common()"]
  72971c15_1908_5adb_880f_cb16b936298b -->|calls| 39399b2d_3cbe_ace5_d4d1_6fe07e027d9f
  style 72971c15_1908_5adb_880f_cb16b936298b fill:#6366f1,stroke:#818cf8,color:#fff

Relationship Graph

Source Code

libs/partners/anthropic/tests/unit_tests/_utils.py lines 200–205

    def on_tool_end(
        self,
        *args: Any,
        **kwargs: Any,
    ) -> Any:
        self.on_tool_end_common()

Domain

Subdomains

Frequently Asked Questions

What does on_tool_end() do?
on_tool_end() is a function in the langchain codebase, defined in libs/partners/anthropic/tests/unit_tests/_utils.py.
Where is on_tool_end() defined?
on_tool_end() is defined in libs/partners/anthropic/tests/unit_tests/_utils.py at line 200.
What does on_tool_end() call?
on_tool_end() calls 1 function(s): on_tool_end_common.

Analyze Your Own Codebase

Get architecture documentation, dependency graphs, and domain analysis for your codebase in minutes.

Try Supermodel Free