langchain.js
    Preparing search index...

    A tool for listing all tables in a SQL database. It takes a SQL database as a parameter and assigns it to the db property. The _call method is used to return a comma-separated list of all tables in the database.

    Hierarchy (View Summary)

    Implements

    • SqlTool
    Index

    Constructors

    Properties

    Methods

    Constructors

    Properties

    description: string = ...
    name: string = "list-tables-sql"

    Methods

    • Parameters

      • _: string

      Returns Promise<string>

    • Returns string