langchain.js
    Preparing search index...

    A tool for retrieving information about SQL tables. It takes a SQL database as a parameter and assigns it to the db property. The _call method is used to retrieve the schema and sample rows for the specified tables. If the tables do not exist, an error message is returned.

    Hierarchy (View Summary)

    Implements

    • SqlTool
    Index

    Constructors

    Properties

    Methods

    Constructors

    Properties

    description: string = ...
    name: string = "info-sql"

    Methods

    • Returns string