Home / Function/ on_tool_start() — langchain Function Reference

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

Relationship Graph

Source Code

libs/core/tests/unit_tests/fake/callbacks.py lines 207–212

    def on_tool_start(
        self,
        *args: Any,
        **kwargs: Any,
    ) -> Any:
        self.on_tool_start_common()

Domain

Subdomains

Called By

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 207.
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