init_library
Initialize the local knowledge base by creating the SQLite database, vector index, and required directories. Run once to enable all retrieval tools and fix missing database errors.
Instructions
Initialize the OpenLMlib knowledge base. Call this ONCE before using any other tools.
AUTOMATIC TRIGGERS - Call this when:
First time using OpenLMlib on a new machine or project
You get database errors suggesting the database doesn't exist
User asks to set up or initialize OpenLMlib
DO NOT CALL for:
Normal tool usage (database already exists)
Each session start (initialization is permanent)
This creates the SQLite database, vector index, and required directories. Safe to call multiple times - will skip if already initialized.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
No arguments | |||