on_tool_end() — langchain Function Reference
Architecture documentation for the on_tool_end() function in streaming_stdout.py from the langchain codebase.
Entity Profile
Dependency Diagram
graph TD 0960c0fc_cb1e_d207_d22a_25da5b5a42a0["on_tool_end()"] 6b65bf57_0fa9_b411_5886_294d6dbe5842["StreamingStdOutCallbackHandler"] 0960c0fc_cb1e_d207_d22a_25da5b5a42a0 -->|defined in| 6b65bf57_0fa9_b411_5886_294d6dbe5842 style 0960c0fc_cb1e_d207_d22a_25da5b5a42a0 fill:#6366f1,stroke:#818cf8,color:#fff
Relationship Graph
Source Code
libs/core/langchain_core/callbacks/streaming_stdout.py lines 122–128
def on_tool_end(self, output: Any, **kwargs: Any) -> None:
"""Run when tool ends running.
Args:
output: The output of the tool.
**kwargs: Additional keyword arguments.
"""
Domain
Subdomains
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/callbacks/streaming_stdout.py.
Where is on_tool_end() defined?
on_tool_end() is defined in libs/core/langchain_core/callbacks/streaming_stdout.py at line 122.
Analyze Your Own Codebase
Get architecture documentation, dependency graphs, and domain analysis for your codebase in minutes.
Try Supermodel Free