on_tool_start_common() — langchain Function Reference
Architecture documentation for the on_tool_start_common() function in fake_callback_handler.py from the langchain codebase.
Entity Profile
Dependency Diagram
graph TD fec61471_e859_5489_e467_47c81cdfc9dc["on_tool_start_common()"] ea671d84_7d08_f3b7_3eb4_b59396ea8e29["BaseFakeCallbackHandlerMixin"] fec61471_e859_5489_e467_47c81cdfc9dc -->|defined in| ea671d84_7d08_f3b7_3eb4_b59396ea8e29 337fb5cb_77f9_cbda_21f4_7613f5805b7f["on_tool_start()"] 337fb5cb_77f9_cbda_21f4_7613f5805b7f -->|calls| fec61471_e859_5489_e467_47c81cdfc9dc e49bbfc5_085a_c063_dc2e_45a45713ed1c["on_tool_start()"] e49bbfc5_085a_c063_dc2e_45a45713ed1c -->|calls| fec61471_e859_5489_e467_47c81cdfc9dc style fec61471_e859_5489_e467_47c81cdfc9dc fill:#6366f1,stroke:#818cf8,color:#fff
Relationship Graph
Source Code
libs/langchain/tests/unit_tests/callbacks/fake_callback_handler.py lines 77–79
def on_tool_start_common(self) -> None:
self.tool_starts += 1
self.starts += 1
Domain
Subdomains
Called By
Source
Frequently Asked Questions
What does on_tool_start_common() do?
on_tool_start_common() is a function in the langchain codebase, defined in libs/langchain/tests/unit_tests/callbacks/fake_callback_handler.py.
Where is on_tool_start_common() defined?
on_tool_start_common() is defined in libs/langchain/tests/unit_tests/callbacks/fake_callback_handler.py at line 77.
What calls on_tool_start_common()?
on_tool_start_common() is called by 2 function(s): on_tool_start, on_tool_start.
Analyze Your Own Codebase
Get architecture documentation, dependency graphs, and domain analysis for your codebase in minutes.
Try Supermodel Free