get_table_schema
Retrieve a table or view's schema definition, including columns, data types, primary keys, and foreign keys.
Instructions
Get detailed schema definition for a specific table or view including columns, data types, primary keys, and foreign keys.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| table_name | Yes | Name of the table or view. | |
| schema_name | No | Schema name (default: 'dbo'). | dbo |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
No arguments | |||