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 296520cf_bde5_55c5_a720_14c572e24fec["on_tool_start()"] b9664d7e_7900_dd8a_b9b3_2ee136c7b790["FakeCallbackHandler"] 296520cf_bde5_55c5_a720_14c572e24fec -->|defined in| b9664d7e_7900_dd8a_b9b3_2ee136c7b790 acc84b13_d141_e7cb_455c_5ce32053a147["on_tool_start()"] acc84b13_d141_e7cb_455c_5ce32053a147 -->|calls| 296520cf_bde5_55c5_a720_14c572e24fec b32e0256_36e5_9274_7465_5f3521256775["on_tool_start_common()"] 296520cf_bde5_55c5_a720_14c572e24fec -->|calls| b32e0256_36e5_9274_7465_5f3521256775 acc84b13_d141_e7cb_455c_5ce32053a147["on_tool_start()"] 296520cf_bde5_55c5_a720_14c572e24fec -->|calls| acc84b13_d141_e7cb_455c_5ce32053a147 style 296520cf_bde5_55c5_a720_14c572e24fec fill:#6366f1,stroke:#818cf8,color:#fff
Relationship Graph
Source Code
libs/partners/openai/tests/unit_tests/fake/callbacks.py lines 166–167
def on_tool_start(self, *args: Any, **kwargs: Any) -> Any:
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 166.
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