get_table_schema
Retrieve the complete schema definition for a specified table in SQL Server, including column names, data types, and constraints.
Instructions
Gets the schema of a specific table
Input Schema
Name | Required | Description | Default |
---|---|---|---|
schemaName | No | Schema name (default: dbo) | dbo |
tableName | Yes | Name of the table |
Input Schema (JSON Schema)
{
"properties": {
"schemaName": {
"default": "dbo",
"description": "Schema name (default: dbo)",
"type": "string"
},
"tableName": {
"description": "Name of the table",
"type": "string"
}
},
"required": [
"tableName"
],
"type": "object"
}