Home / Function/ get_tools() — langchain Function Reference

get_tools() — langchain Function Reference

Architecture documentation for the get_tools() function in base.py from the langchain codebase.

Entity Profile

Dependency Diagram

graph TD
  b09a376b_d385_41b3_b2b9_e18a1bf4c58b["get_tools()"]
  aa4e58cd_87fb_fce1_d847_f0c0d6b3d3ec["BaseToolkit"]
  b09a376b_d385_41b3_b2b9_e18a1bf4c58b -->|defined in| aa4e58cd_87fb_fce1_d847_f0c0d6b3d3ec
  style b09a376b_d385_41b3_b2b9_e18a1bf4c58b fill:#6366f1,stroke:#818cf8,color:#fff

Relationship Graph

Source Code

libs/core/langchain_core/tools/base.py lines 1580–1585

    def get_tools(self) -> list[BaseTool]:
        """Get all tools in the toolkit.

        Returns:
            List of tools contained in this toolkit.
        """

Subdomains

Frequently Asked Questions

What does get_tools() do?
get_tools() is a function in the langchain codebase, defined in libs/core/langchain_core/tools/base.py.
Where is get_tools() defined?
get_tools() is defined in libs/core/langchain_core/tools/base.py at line 1580.

Analyze Your Own Codebase

Get architecture documentation, dependency graphs, and domain analysis for your codebase in minutes.

Try Supermodel Free