connection_test
Test a configured database connection end-to-end by resolving secrets, opening tunnels, and running a query to return server info or failure details.
Instructions
Test a configured connection end-to-end: resolves secrets, opens the tunnel if configured, connects and runs a one-row server-info query. Returns ok=true with server version, user, database and latency — or ok=false with the failure code and hint (an unreachable database is a valid test result, not a tool error).
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| database | No | Database to test; required when the connection declares multiple databases | |
| connection | Yes | Connection key from connection_list |