List database connections
pg_connectionsList configured PostgreSQL connections with their names, environments, access modes, and limits to pick the right one; connections marked needs_approval require unlocking before use.
Instructions
List the configured PostgreSQL connections: name, environment, access mode, limits.
Start here. Every other tool takes a connection name from this list. No passwords
are ever shown. A connection marked needs_approval must be unlocked with
pg_request_access before use, and only when the user explicitly asked for that
environment.
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_connections"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
No arguments | |||