get_table_info
Get the column names, types, and sample rows for a specific table. Use this to understand table content after database schema exploration.
Instructions
🔍 Explore a specific table's structure and see sample data.
When to use: After identifying relevant tables from get_database_schema().
Args: dataset: Dataset name, e.g. 'mimic-iv'. table_name: Exact table name (case-sensitive). show_sample: Whether to include sample rows (default: True).
Returns: Table structure with column names, types, and sample data.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| table_name | Yes | ||
| show_sample | No | ||
| dataset | No |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| result | Yes |