mirror of
https://github.com/googleapis/genai-toolbox.git
synced 2026-01-09 15:38:08 -05:00
1.8 KiB
1.8 KiB
title, type, weight, description, aliases
| title | type | weight | description | aliases | |
|---|---|---|---|---|---|
| mssql-list-tables | docs | 1 | The "mssql-list-tables" tool lists schema information for all or specified tables in a SQL server database. |
|
About
The mssql-list-tables tool retrieves schema information for all or specified
tables in a SQL server database. It is compatible with any of the following
sources:
mssql-list-tables lists detailed schema information (object type, columns,
constraints, indexes, triggers, owner, comment) as JSON for user-created tables
(ordinary or partitioned).
The tool takes the following input parameters:
table_names(string, optional): Filters by a comma-separated list of names. By default, it lists all tables in user schemas. Default:"".output_format(string, optional): Indicate the output format of table schema.simplewill return only the table names,detailedwill return the full table information. Default:detailed.
Example
tools:
mssql_list_tables:
kind: mssql-list-tables
source: mssql-source
description: Use this tool to retrieve schema information for all or specified tables. Output format can be simple (only table names) or detailed.
Reference
| field | type | required | description |
|---|---|---|---|
| kind | string | true | Must be "mssql-list-tables". |
| source | string | true | Name of the source the SQL should execute on. |
| description | string | true | Description of the tool that is passed to the agent. |