connect_db
Establish a connection to a PostgreSQL database by specifying host, user, password, and database name. Use when default connection fails or specific access is required.
Instructions
Connect to PostgreSQL database. NOTE: Default connection exists - only use when requested or if other commands fail
Input Schema
TableJSON Schema
| Name | Required | Description | Default |
|---|---|---|---|
| database | Yes | Database name | |
| host | Yes | Database host | |
| password | Yes | Database password | |
| port | No | Database port (default: 5432) | |
| user | Yes | Database user |