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 acc84b13_d141_e7cb_455c_5ce32053a147["on_tool_start()"] b1da79c3_cb84_0799_b179_c8776facb43e["FakeAsyncCallbackHandler"] acc84b13_d141_e7cb_455c_5ce32053a147 -->|defined in| b1da79c3_cb84_0799_b179_c8776facb43e 296520cf_bde5_55c5_a720_14c572e24fec["on_tool_start()"] 296520cf_bde5_55c5_a720_14c572e24fec -->|calls| acc84b13_d141_e7cb_455c_5ce32053a147 b32e0256_36e5_9274_7465_5f3521256775["on_tool_start_common()"] acc84b13_d141_e7cb_455c_5ce32053a147 -->|calls| b32e0256_36e5_9274_7465_5f3521256775 296520cf_bde5_55c5_a720_14c572e24fec["on_tool_start()"] acc84b13_d141_e7cb_455c_5ce32053a147 -->|calls| 296520cf_bde5_55c5_a720_14c572e24fec style acc84b13_d141_e7cb_455c_5ce32053a147 fill:#6366f1,stroke:#818cf8,color:#fff
Relationship Graph
Source Code
libs/partners/openai/tests/unit_tests/fake/callbacks.py lines 253–254
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/openai/tests/unit_tests/fake/callbacks.py.
Where is on_tool_start() defined?
on_tool_start() is defined in libs/partners/openai/tests/unit_tests/fake/callbacks.py at line 253.
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