List PostgreSQL Schemas
pg_list_schemasList all user-defined schemas in a PostgreSQL database, returning schema name, owner, description, table count, and view count. Excludes system schemas.
Instructions
List all user-defined schemas in the current database (excludes pg_catalog, information_schema, pg_toast).
Returns schema name, owner, description, table count, and view count.
Returns: JSON: { schemas: SchemaInfo[], count: number } Markdown: formatted table
Tool call template
This tool declares no required parameters. Add optional parameters from the input schema as needed.
{
"id": 1,
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"arguments": {},
"name": "pg_list_schemas"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| response_format | No | Output format: 'markdown' for human-readable, 'json' for machine-readable | markdown |