describe_schema
Describe database schemas and tables with read-only precision. Retrieve tables, views, columns, constraints, and indexes for a schema or a specific table.
Instructions
Describe a schema's tables, or one table's columns and indexes.
Without table, lists the schema's tables, views and column counts. With
table, returns that table's columns, constraints and indexes. Always
read-only, even against a writable database.
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": {
"database": "<database>"
},
"name": "describe_schema"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| table | No | ||
| schema | No | public | |
| database | Yes |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| result | Yes |