describe_table
Retrieve column names, data types, and metadata for a Trino table. Pass the table name, with optional catalog and schema.
Instructions
Describe the structure of a table (columns, types, etc).
Args: table: The table name (e.g. 'my_table'). Preferably just the table name; catalog and schema should be passed as separate parameters. Fully qualified names like 'catalog.schema.table' are also accepted. catalog: The catalog name (optional if default is configured) schema: The schema name (optional if default is configured)
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| table | Yes | The table name (e.g. 'my_table'). Preferably just the table name; catalog and schema should be passed as separate parameters. Fully qualified names like 'catalog.schema.table' are also accepted for convenience. | |
| schema | No | The schema name (e.g. 'my_schema') | |
| catalog | No | The catalog name (e.g. 'my_catalog') |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| result | Yes |