ssh_db_list
List databases or tables/collections on a remote server for MySQL, PostgreSQL, or MongoDB. Specify a database to view its tables, or omit it to see all user databases; read-only.
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 |