_on_tool_end() — langchain Function Reference
Architecture documentation for the _on_tool_end() function in langchain.py from the langchain codebase.
Entity Profile
Dependency Diagram
graph TD 4c0c2a43_46e9_72cd_1ff6_fdf9f3a5b7d1["_on_tool_end()"] 178590bb_85ff_b79e_979a_46e5c3c5389f["LangChainTracer"] 4c0c2a43_46e9_72cd_1ff6_fdf9f3a5b7d1 -->|defined in| 178590bb_85ff_b79e_979a_46e5c3c5389f bce3427a_d6ea_f317_a362_d28206fa1696["_update_run_single()"] 4c0c2a43_46e9_72cd_1ff6_fdf9f3a5b7d1 -->|calls| bce3427a_d6ea_f317_a362_d28206fa1696 style 4c0c2a43_46e9_72cd_1ff6_fdf9f3a5b7d1 fill:#6366f1,stroke:#818cf8,color:#fff
Relationship Graph
Source Code
libs/core/langchain_core/tracers/langchain.py lines 352–354
def _on_tool_end(self, run: Run) -> None:
"""Process the Tool Run."""
self._update_run_single(run)
Domain
Subdomains
Calls
Source
Frequently Asked Questions
What does _on_tool_end() do?
_on_tool_end() is a function in the langchain codebase, defined in libs/core/langchain_core/tracers/langchain.py.
Where is _on_tool_end() defined?
_on_tool_end() is defined in libs/core/langchain_core/tracers/langchain.py at line 352.
What does _on_tool_end() call?
_on_tool_end() calls 1 function(s): _update_run_single.
Analyze Your Own Codebase
Get architecture documentation, dependency graphs, and domain analysis for your codebase in minutes.
Try Supermodel Free