list_tables
List tables, views, and materialized views in a PostgreSQL database with estimated row counts and total size. Filter by schema or database to inspect specific parts of the schema.
Instructions
List tables, views and materialized views in a PostgreSQL database, with estimated row counts and total size.
Args: database: Database name. Defaults to the session database. schema: Optional schema filter. Omit to list every non-system schema.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| schema | No | ||
| database | No |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| result | Yes |