db_discover_databases
Discovers all databases on a configured main connection host, so you can identify available PostgreSQL or MySQL databases before querying or exploring them.
Instructions
Query the database server to discover all databases existing on a main connection host
Tool call template
Replace each placeholder with a value matching the input schema. Only required parameters are included; add optional parameters as needed.
{
"id": 1,
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"arguments": {
"mainId": "<mainId>"
},
"name": "db_discover_databases"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| mainId | Yes | ID of the main connection (e.g. "postgres_main" or "mysql_main") |