tools.tool_query
tool_query(data_source)Create a tool that performs a SQL query on the data.
Parameters
| Name | Type | Description | Default |
|---|---|---|---|
| data_source | DataSource | The data source to query against | required |
Returns
| Name | Type | Description |
|---|---|---|
Tool |
A tool that can be registered with chatlas |