Home / Function/ on_tool_start_common() — langchain Function Reference

on_tool_start_common() — langchain Function Reference

Architecture documentation for the on_tool_start_common() function in callbacks.py from the langchain codebase.

Entity Profile

Dependency Diagram

graph TD
  b32e0256_36e5_9274_7465_5f3521256775["on_tool_start_common()"]
  f0bf147f_92f7_4127_bab5_d25b15399ce6["BaseFakeCallbackHandlerMixin"]
  b32e0256_36e5_9274_7465_5f3521256775 -->|defined in| f0bf147f_92f7_4127_bab5_d25b15399ce6
  296520cf_bde5_55c5_a720_14c572e24fec["on_tool_start()"]
  296520cf_bde5_55c5_a720_14c572e24fec -->|calls| b32e0256_36e5_9274_7465_5f3521256775
  acc84b13_d141_e7cb_455c_5ce32053a147["on_tool_start()"]
  acc84b13_d141_e7cb_455c_5ce32053a147 -->|calls| b32e0256_36e5_9274_7465_5f3521256775
  style b32e0256_36e5_9274_7465_5f3521256775 fill:#6366f1,stroke:#818cf8,color:#fff

Relationship Graph

Source Code

libs/partners/openai/tests/unit_tests/fake/callbacks.py lines 80–82

    def on_tool_start_common(self) -> None:
        self.tool_starts += 1
        self.starts += 1

Domain

Subdomains

Frequently Asked Questions

What does on_tool_start_common() do?
on_tool_start_common() is a function in the langchain codebase, defined in libs/partners/openai/tests/unit_tests/fake/callbacks.py.
Where is on_tool_start_common() defined?
on_tool_start_common() is defined in libs/partners/openai/tests/unit_tests/fake/callbacks.py at line 80.
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