open
Loads a SQLite database by path, creating it if absent, or inspects the current database to return its path, table count, and tables.
Instructions
Open a SQLite database or inspect the current one.
Open (# Database with path):
# Database
path: /path/to/mydb.dbIf the file does not exist, it is CREATED as an empty
database and the response contains created: true.
Inspect (# Database with no fields):
# DatabaseReturns path, table count, and a list of all tables.
Frontmatter policy: observable tolerance — unknown keys are echoed in the response as 'ignored-keys: ...'.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| document | Yes |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| result | Yes |