describe_table
Retrieves column definitions for a specified table, including data types, nullability, primary and foreign keys, and referenced tables, so you can inspect its structure before writing queries.
Instructions
Columns of one table: type, nullability, primary/foreign keys and what each foreign key points to.
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 | Table name without schema, e.g. "employees" | |
| schema | No | Schema name, e.g. "hr" | dbo |