get_table_columns
Retrieve column names and data types for one or more tables in a data source to verify column details before writing SQL queries.
Instructions
Get the column names and data types for one or more tables in a data source. Accepts a single table or a comma-separated list of tables. Use this to confirm exact column names and types before writing SQL with run_query or smart_query. Returns each table's columns; if a table name is not found, it suggests verifying it with list_tables.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| table_name | Yes | Table name(s), comma-separated (e.g., 'users' or 'users,orders') | |
| data_source_id | Yes | Data source ID from list_data_sources |