get_table_detail
Retrieve column details and CREATE TABLE DDL for a specific table in a MySQL-compatible database. Provide instance, database, and table name to get the schema information.
Instructions
Get column info and CREATE TABLE DDL for a specific table.
Args: instance_id: The instance name from register_instance. database: The database name. table_name: The table name.
Returns: JSON with {columns: [...], ddl: "..."}, or error details.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| database | Yes | ||
| table_name | Yes | ||
| instance_id | Yes |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| result | Yes |