create_table
Create new tables in MSSQL databases by defining table names and column specifications with SQL types and constraints.
Instructions
Creates a new table in the MSSQL Database with the specified columns.
Input Schema
| Name | Required | Description | Default | 
|---|---|---|---|
| columns | Yes | Array of column definitions (e.g., [{ name: 'id', type: 'INT PRIMARY KEY' }, ...]) | |
| tableName | Yes | Name of the table to create | 
Input Schema (JSON Schema)
{
  "properties": {
    "columns": {
      "description": "Array of column definitions (e.g., [{ name: 'id', type: 'INT PRIMARY KEY' }, ...])",
      "items": {
        "properties": {
          "name": {
            "description": "Column name",
            "type": "string"
          },
          "type": {
            "description": "SQL type and constraints (e.g., 'INT PRIMARY KEY', 'NVARCHAR(255) NOT NULL')",
            "type": "string"
          }
        },
        "required": [
          "name",
          "type"
        ],
        "type": "object"
      },
      "type": "array"
    },
    "tableName": {
      "description": "Name of the table to create",
      "type": "string"
    }
  },
  "required": [
    "tableName",
    "columns"
  ],
  "type": "object"
}