mirror of
https://github.com/googleapis/genai-toolbox.git
synced 2026-01-09 15:38:08 -05:00
## Description Add new tools to get metadata from databases through Looker * get_connections * get_connection_schemas * get_connection_databases * get_connection_tables * get_connection_table_columns
1.5 KiB
1.5 KiB
title, type, weight, description, aliases
| title | type | weight | description | aliases | |
|---|---|---|---|---|---|
| looker-get-connection-table-columns | docs | 1 | A "looker-get-connection-table-columns" tool returns all the columns for each table specified. |
|
About
A looker-get-connection-table-columns tool returns all the columnes for each table specified.
It's compatible with the following sources:
looker-get-connection-table-columns accepts a conn parameter, a schema parameter, a tables parameter with a comma separated list of tables, and an optional db parameter.
Example
tools:
get_connection_table_columns:
kind: looker-get-connection-table-columns
source: looker-source
description: |
get_connection_table_columns Tool
This tool will list the columns available from a connection, for all the tables
given in a comma separated list of table names, filtered by the
schema name and optional database name.
Reference
| field | type | required | description |
|---|---|---|---|
| kind | string | true | Must be "looker-get-connection-table-columns". |
| source | string | true | Name of the source Looker instance. |
| description | string | true | Description of the tool that is passed to the LLM. |