show_create_table
Generate the SQL CREATE TABLE statement for a specified table across any Trino catalog and schema. Copies the table definition for replication or review.
Instructions
Show the CREATE TABLE statement for a specific table
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": {
"catalog": "<catalog>",
"schema_name": "<schema_name>",
"table": "<table>"
},
"name": "show_create_table"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| catalog | Yes | catalog name | |
| schema_name | Yes | schema name | |
| table | Yes | The name of the table |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| result | Yes |