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)
Tool call template
Replace each placeholder with a value matching the input schema. Only required parameters are included; add optional parameters as needed.
{
"id": 1,
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"arguments": {
"table": "<table>"
},
"name": "describe_table"
}
}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 |