whodb_connections
Discover available database connections by listing configured databases with connection details. Use this to choose which connection to use in other tools.
Instructions
List all available database connections.
Best for: Discovering what databases are configured; choosing which connection to use. Not recommended for: When you already know the connection name. Common mistakes: Not calling this first when connection name is unknown.
Usage Example:
{
"name": "whodb_connections",
"arguments": {}
}Returns: Array of connection objects with:
name: Connection identifier to use in other tools
type: Database type (postgres, mysql, sqlite, duckdb, etc.)
host/port/database: Connection details (passwords are never exposed)
source: "saved" (from CLI config) or "env" (from environment variables)
Note: If only one connection exists, other tools will use it automatically when connection is omitted.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
No arguments | |||
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| error | No | ||
| request_id | No | ||
| connections | Yes |