Class InfoSqlTool

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

  • Tool
    • InfoSqlTool

Implements

  • SqlTool

Constructors

Properties

Constructors

Properties

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

Generated using TypeDoc