on_tool_start() — langchain Function Reference
Architecture documentation for the on_tool_start() function in callbacks.py from the langchain codebase.
Entity Profile
Dependency Diagram
graph TD c08d7c81_c623_16c9_5324_6950902ef702["on_tool_start()"] 10348507_70e9_81e4_3fb4_4c803e612737["FakeAsyncCallbackHandler"] c08d7c81_c623_16c9_5324_6950902ef702 -->|defined in| 10348507_70e9_81e4_3fb4_4c803e612737 1c46661c_78c4_3d5e_b907_4a3167819488["on_tool_start()"] 1c46661c_78c4_3d5e_b907_4a3167819488 -->|calls| c08d7c81_c623_16c9_5324_6950902ef702 1d34ae9c_a936_dd10_8131_bff67408505d["on_tool_start_common()"] c08d7c81_c623_16c9_5324_6950902ef702 -->|calls| 1d34ae9c_a936_dd10_8131_bff67408505d 1c46661c_78c4_3d5e_b907_4a3167819488["on_tool_start()"] c08d7c81_c623_16c9_5324_6950902ef702 -->|calls| 1c46661c_78c4_3d5e_b907_4a3167819488 style c08d7c81_c623_16c9_5324_6950902ef702 fill:#6366f1,stroke:#818cf8,color:#fff
Relationship Graph
Source Code
libs/partners/groq/tests/unit_tests/fake/callbacks.py lines 354–359
async def on_tool_start(
self,
*args: Any,
**kwargs: Any,
) -> None:
self.on_tool_start_common()
Domain
Subdomains
Called By
Source
Frequently Asked Questions
What does on_tool_start() do?
on_tool_start() is a function in the langchain codebase, defined in libs/partners/groq/tests/unit_tests/fake/callbacks.py.
Where is on_tool_start() defined?
on_tool_start() is defined in libs/partners/groq/tests/unit_tests/fake/callbacks.py at line 354.
What does on_tool_start() call?
on_tool_start() calls 2 function(s): on_tool_start, on_tool_start_common.
What calls on_tool_start()?
on_tool_start() is called by 1 function(s): on_tool_start.
Analyze Your Own Codebase
Get architecture documentation, dependency graphs, and domain analysis for your codebase in minutes.
Try Supermodel Free