describe_table
Retrieve detailed table metadata including columns, primary key, foreign keys, unique and check constraints, and indexes. Understand table structure and relationships quickly.
Instructions
Describe a table: columns (type, nullability, default, comment), primary key, foreign keys, unique constraints, check constraints, and indexes.
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 or view name. | |
| schema | No | Schema name. Defaults to the server's default schema. |