ncloud_datacatalog_update_table_schema
Replace a table's entire column schema in the Data Catalog with a new column list, correcting wrongly inferred column types. Read current schema first to retain existing columns.
Instructions
⚠️ Replaces the table's ENTIRE column schema with the list given — columns not included are removed. This is the only way to correct a column type a scanner inferred wrongly. Read the current schema first with ncloud_datacatalog_get_table_schema.
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": {
"catalogId": "<catalogId>",
"databaseName": "<databaseName>",
"tableName": "<tableName>",
"columns": "<columns>"
},
"name": "ncloud_datacatalog_update_table_schema"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| columns | Yes | Full replacement column list, in the desired column order | |
| catalogId | Yes | Catalog ID | |
| tableName | Yes | Table name | |
| databaseName | Yes | Database name |