whodb_connections
List all configured database connections with their type and details to discover available databases and select the appropriate connection for further operations.
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 |
|---|---|---|---|
| connections | Yes | ||
| error | No | ||
| request_id | No |