List schemas
list_schemasList database schemas, excluding PostgreSQL system schemas by default; optionally include system schemas or target a configured secondary database.
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)
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": "list_schemas"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| database | No | Optional: a database id from list_databases, to target a configured secondary (read-only) database; omit for the primary. Database names that are not configured ids are rejected. | |
| include_system | No |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| result | Yes |