List Databases
db_list_databasesLists all configured databases with connection status, host, port, schema, and read-only flag, enabling you to discover available options and verify connectivity before selecting a database.
Instructions
Lists all databases configured in pgautopilot.json for multi-database mode, including each database's connection status (connected, not connected, or error), host, port, schema, and read-only setting. This tool is only meaningful in multi-database mode — in single-database mode it returns a message indicating only one database is configured.
When to use:
As the first call when the user wants to work with a specific named database.
To discover which databases are available before calling db_use_database.
To verify that all configured databases are reachable.
Returns: an array of database entries with name, connection summary, status (connected | not connected | error), and readonly flag. Databases that failed to connect at startup will show 'not connected' and will be lazily connected on first use.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
No arguments | |||