pg_list_tables
List tables and views in a PostgreSQL schema (default public) with optional database or profile override to inspect database structure.
Instructions
List tables/views for a schema (default public). Optional database and/or profile override.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| schema | No | Schema name (default: public) | |
| profile | No | Connection profile: "dev" | "qa" | "default". Uses credentials from mcp.json (PG_DEV_* / PG_QA_*). Omit to use the sticky session profile from pg_set_profile / PG_PROFILE. | |
| database | No | Optional database name override |