ssh_db_list
List databases or tables/collections on a remote server using MySQL, PostgreSQL, or MongoDB without modifying any data.
Instructions
Lists database objects on the remote server for the given engine without modifying anything. When database is provided it lists the tables (SQL) or collections (MongoDB) of that database; when omitted it lists all databases with common system databases filtered out. Supports mysql, postgresql, and mongodb. Returns the items and a count. Read-only and safe to call repeatedly.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| type | Yes | Database type | |
| dbHost | No | Database host (default: localhost) | |
| dbPort | No | Database port | |
| dbUser | No | Database user | |
| server | Yes | Server name | |
| database | No | Database name (if provided, lists tables/collections; if omitted, lists databases) | |
| dbPassword | No | Database password |