describe_table
Returns column metadata for a database table or view—type, length, nullability, default, and primary-key membership—so you can inspect schema before querying.
Instructions
Columns of a table/view: type, length, nullability, default, and whether it is part of the PK.
Args: table: 'schema.table' or 'table' (dbo schema by default).
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 | ||
| connection | No |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| result | Yes |