uc_table_create
Creates a table in Databricks Unity Catalog by specifying catalog, schema, name, and table type. Supports managed, external, view, and other types with optional columns, partitions, and constraints.
Instructions
Create a table (POST /api/2.1/unity-catalog/tables).
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": {
"name": "<name>",
"catalog_name": "<catalog_name>",
"schema_name": "<schema_name>",
"table_type": "<table_type>"
},
"name": "uc_table_create"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| name | Yes | Table name | |
| catalog_name | Yes | Parent catalog name | |
| schema_name | Yes | Parent schema name | |
| table_type | Yes | MANAGED | EXTERNAL | VIEW | MATERIALIZED_VIEW | STREAMING_TABLE | FOREIGN | |
| data_source_format | No | DELTA | CSV | JSON | AVRO | PARQUET | ORC | TEXT | UNITY_CATALOG | DATABRICKS_FORMAT | |
| columns | No | ||
| storage_credential_name | No | ||
| comment | No | ||
| properties | No | ||
| partition_columns | No | ||
| cluster_keys | No | ||
| options | No | ||
| constraints | No | ||
| row_filter | No | ||
| column_mask | No | ||
| tags | No | ||
| view_definition | No | ||
| sql_path | No |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| result | Yes |