list_relations
Retrieve tables, partitions, views, sequences, indexes, and other relations from PostgreSQL databases with optional schema and kind filters.
Instructions
List tables, partitions, views, sequences, foreign tables, indexes, and other relations
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| limit | No | Maximum relations | |
| offset | No | Result offset | |
| schema_name | No | Optional exact schema filter | |
| relation_kind | No | Optional kind: table, partitioned_table, view, materialized_view, sequence, foreign_table, index, partitioned_index, composite, or toast | |
| include_system | No | Include system schemas |