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 a3708256_5c12_5c34_214f_11720f0372b5["on_tool_start()"] 420de797_6be5_1482_0203_e7dd66c71fd0["FakeAsyncCallbackHandler"] a3708256_5c12_5c34_214f_11720f0372b5 -->|defined in| 420de797_6be5_1482_0203_e7dd66c71fd0 346c4811_c504_7d15_7ecc_9311d7dcda08["on_tool_start()"] 346c4811_c504_7d15_7ecc_9311d7dcda08 -->|calls| a3708256_5c12_5c34_214f_11720f0372b5 3f4c574a_449f_d4aa_7efc_e128535732a3["on_tool_start_common()"] a3708256_5c12_5c34_214f_11720f0372b5 -->|calls| 3f4c574a_449f_d4aa_7efc_e128535732a3 346c4811_c504_7d15_7ecc_9311d7dcda08["on_tool_start()"] a3708256_5c12_5c34_214f_11720f0372b5 -->|calls| 346c4811_c504_7d15_7ecc_9311d7dcda08 style a3708256_5c12_5c34_214f_11720f0372b5 fill:#6366f1,stroke:#818cf8,color:#fff
Relationship Graph
Source Code
libs/core/tests/unit_tests/fake/callbacks.py lines 381–386
async def on_tool_start(
self,
*args: Any,
**kwargs: Any,
) -> None:
self.on_tool_start_common()
Domain
Subdomains
Defined In
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/core/tests/unit_tests/fake/callbacks.py.
Where is on_tool_start() defined?
on_tool_start() is defined in libs/core/tests/unit_tests/fake/callbacks.py at line 381.
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