List schemas
list_schemasList database schemas, excluding system schemas by default. Optionally include them to see all schemas, returned as a simple name list for catalog inspection.
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 |