ssh_db_list
List databases on a remote server, or list tables (SQL) and collections (MongoDB) for a given database. Supports MySQL, PostgreSQL, and MongoDB. Read-only operation.
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 |