on_tool_start() — langchain Function Reference
Architecture documentation for the on_tool_start() function in fake_callback_handler.py from the langchain codebase.
Entity Profile
Dependency Diagram
graph TD e49bbfc5_085a_c063_dc2e_45a45713ed1c["on_tool_start()"] c82a49cc_3a43_e4a6_1cb8_d4b415fb5209["FakeAsyncCallbackHandler"] e49bbfc5_085a_c063_dc2e_45a45713ed1c -->|defined in| c82a49cc_3a43_e4a6_1cb8_d4b415fb5209 337fb5cb_77f9_cbda_21f4_7613f5805b7f["on_tool_start()"] 337fb5cb_77f9_cbda_21f4_7613f5805b7f -->|calls| e49bbfc5_085a_c063_dc2e_45a45713ed1c fec61471_e859_5489_e467_47c81cdfc9dc["on_tool_start_common()"] e49bbfc5_085a_c063_dc2e_45a45713ed1c -->|calls| fec61471_e859_5489_e467_47c81cdfc9dc 337fb5cb_77f9_cbda_21f4_7613f5805b7f["on_tool_start()"] e49bbfc5_085a_c063_dc2e_45a45713ed1c -->|calls| 337fb5cb_77f9_cbda_21f4_7613f5805b7f style e49bbfc5_085a_c063_dc2e_45a45713ed1c fill:#6366f1,stroke:#818cf8,color:#fff
Relationship Graph
Source Code
libs/langchain/tests/unit_tests/callbacks/fake_callback_handler.py lines 377–382
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/langchain/tests/unit_tests/callbacks/fake_callback_handler.py.
Where is on_tool_start() defined?
on_tool_start() is defined in libs/langchain/tests/unit_tests/callbacks/fake_callback_handler.py at line 377.
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