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
  3f4c574a_449f_d4aa_7efc_e128535732a3["on_tool_start_common()"]
  bd0f558e_4f69_e5aa_d113_623bbeb51c3d["BaseFakeCallbackHandlerMixin"]
  3f4c574a_449f_d4aa_7efc_e128535732a3 -->|defined in| bd0f558e_4f69_e5aa_d113_623bbeb51c3d
  346c4811_c504_7d15_7ecc_9311d7dcda08["on_tool_start()"]
  346c4811_c504_7d15_7ecc_9311d7dcda08 -->|calls| 3f4c574a_449f_d4aa_7efc_e128535732a3
  a3708256_5c12_5c34_214f_11720f0372b5["on_tool_start()"]
  a3708256_5c12_5c34_214f_11720f0372b5 -->|calls| 3f4c574a_449f_d4aa_7efc_e128535732a3
  style 3f4c574a_449f_d4aa_7efc_e128535732a3 fill:#6366f1,stroke:#818cf8,color:#fff

Relationship Graph

Source Code

libs/core/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/core/tests/unit_tests/fake/callbacks.py.
Where is on_tool_start_common() defined?
on_tool_start_common() is defined in libs/core/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