List schemas
list_schemasList database schemas, excluding PostgreSQL internal schemas by default; include system schemas if needed.
Instructions
List database schemas, excluding PostgreSQL's own schemas unless include_system is true. Returns a list of objects with name.
Example: list_schemas(include_system=false)
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| database | No | Optional: target a configured secondary (read-only) database by name; omit for the primary. Call list_databases to see the configured ids. | |
| include_system | No |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| result | Yes |