Describe a table or view
describe_tableRetrieve a table or view's full schema details—columns, keys, indexes, references, size, and view definition—to inspect database structure before writing queries or migrations.
Instructions
Full structure of one table or view: columns (type, nullable, default, comment), primary/unique/foreign keys, tables referencing it, indexes, size, and the view definition.
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": {
"connection": "<connection>",
"table": "<table>"
},
"name": "describe_table"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| table | Yes | Table or view name, optionally schema-qualified: 'policy' or 'core.policy'. | |
| schema | No | Schema, if not given in 'table'. | |
| connection | Yes | DBeaver connection name (as shown in DBeaver), its id, or project/name. See list_connections. |