create_table
Add a new table to a Structly schema with configurable columns, canvas position, color, and branch for visual database management.
Instructions
Создать таблицу в схеме.
Args:
schema_uuid: UUID схемы.
table_name: Название таблицы.
columns: Список колонок, например
[{"column_name": "id", "column_type": "uuid", "is_primary": true,
"is_nullable": false, "column_default": "gen_random_uuid()"}].
position_x: Координата X на холсте.
position_y: Координата Y на холсте.
table_color: Цвет таблицы в HEX (по умолчанию #38bdf8).
branch_name: Ветка схемы (по умолчанию main).
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| columns | No | ||
| position_x | No | ||
| position_y | No | ||
| table_name | Yes | ||
| branch_name | No | main | |
| schema_uuid | Yes | ||
| table_color | No | #38bdf8 |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| result | Yes |