describe_table
Retrieves column definitions, primary keys, indexes, foreign keys, and row counts for a SQL Server table or view so you can inspect its schema without manual queries.
Instructions
Columns (type, nullability, identity, default, computed), primary key, indexes, foreign keys and row count of a table or view. table: 'dbo.Customers' or 'Customers'.
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": {
"table": "<table>"
},
"name": "describe_table"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| table | Yes | ||
| database | No | ||
| connection | No |