Add Datasource
add_datasourceRegister a read-only database connection and scan its schema by default to build an ontology-aware semantic layer. Provide a connection URL; credentials are never invented.
Instructions
Register a database (connections are always read-only) and, by default, scan it. Use only when the user gives you a connection URL; never invent credentials.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| url | Yes | SQLAlchemy URL, e.g. sqlite:////abs/path/file.db, postgresql+psycopg://user:pass@host:5432/db, mysql+pymysql://user:pass@host/db, duckdb:///file.duckdb. | |
| name | Yes | Short name, e.g. 'shop'. | |
| scan | No | Scan the schema right away. | |
| schemas | No | Schemas to include (default: all non-system schemas). | |
| description | No | What this database holds. |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
No arguments | |||