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.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| table | No | ||
| schema | No | public | |
| database | Yes |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| result | Yes |