show_hg_table_ddl
Retrieve the Data Definition Language (DDL) script for tables, views, or foreign tables in Hologres databases to understand their structure and recreate them.
Instructions
Show DDL script for a table, view, or foreign table in Hologres database.
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": {
"schema": "<schema>",
"table": "<table>"
},
"name": "show_hg_table_ddl"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| schema | Yes | Schema name in Hologres database | |
| table | Yes | Table name in Hologres database |