A tool for executing SQL queries. It takes a SQL database as a parameter and assigns it to the db property. The _call method is used to run the SQL query and return the result. If the query is incorrect, an error message is returned.

Hierarchy (view full)

Implements

  • SqlTool

Constructors

Properties

Constructors

Properties

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

Generated using TypeDoc