pg_list_schemas
Lists all schemas in a PostgreSQL database by configured label, so you can inspect structure and locate tables, views, and other objects before querying.
Instructions
List all schemas in a PostgreSQL database
Tool call template
Replace each placeholder with a value matching the input schema. Only required parameters are included; add optional parameters as needed.
{
"id": 1,
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"arguments": {
"database": "<database>"
},
"name": "pg_list_schemas"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| database | Yes | Database label from config |