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: ...'.
Tool call template
Replace each placeholder with a value matching the input schema. Only required parameters are included; add optional parameters as needed.
{
"id": 1,
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"arguments": {
"document": "<document>"
},
"name": "open"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| document | Yes |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| result | Yes |