db_describe_table
Retrieve a table's schema details—columns, data types, nullability, and primary key constraints—to inspect structure before writing queries or migrations.
Instructions
Get schema structure of a table (columns, data types, nullability, primary key constraints).
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": {
"tableName": "<tableName>"
},
"name": "db_describe_table"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| mainId | No | Main connection ID | |
| schema | No | Optional schema name | |
| database | No | Target database name | |
| tableName | Yes | Name of the table to describe | |
| connectionId | No | Sub-connection ID / alias (e.g. "app_db") or composite ("mainId:db") |