open_connection
Open or reuse a database connection from a DSN and return a connection_id for running queries and commands with other tools.
Instructions
Open (or reuse) a database connection. Returns a connection_id used by the other tools. DSN schemes: postgres://, mysql://, redis://, mongodb://, mongodb+srv://, sqlite:
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| dsn | Yes | Database URL / DSN | |
| name | No | Optional human-friendly label | |
| read_only | No | Read-only connection (default true) |