connection_find
Find database connections by host, port, database, type, read-only status, or metadata key-value pairs. Filters combine with AND, ignoring credentials.
Instructions
Find configured database connections by parameters: host, port, database, type, read_only and/or metadata key-value pairs. All provided filters are combined with AND. Username/password filters are ignored. Returns the same sanitized shape as connection_list.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| host | No | Exact database host to match | |
| port | No | Database port to match | |
| type | No | Dialect: postgres | mysql | redshift | |
| user | No | Ignored: connections are never filtered by credentials | |
| database | No | Database name to match | |
| metadata | No | Metadata key-value pairs; every pair must match (AND) | |
| password | No | Ignored: connections are never filtered by credentials | |
| username | No | Ignored: connections are never filtered by credentials | |
| read_only | No | Match connections with this read_only setting |