pg_list_databases
Lists databases on the active PostgreSQL profile server, or an optional dev/qa one-shot profile, to identify available databases for schema exploration and querying.
Instructions
List databases on the active profile server (or optional one-shot profile=dev|qa).
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_databases"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| profile | No | Connection profile: "dev" | "qa" | "default". Uses credentials from mcp.json (PG_DEV_* / PG_QA_*). Omit to use the sticky session profile from pg_set_profile / PG_PROFILE. |