Native OpenClaw SQLite database plugin with schema, query, and CRUD tools
Code Pluginsource linkedCommunity code plugin. Review compatibility and verification before install.
README
Database Plugin
Native OpenClaw plugin that adds local SQLite database management with:
- schema inspection for tables, columns, indexes, and full CREATE statements
- raw SQL query and execution tools for advanced SQLite workflows
- transactional multi-statement execution with rollback on failure
- structured table, index, insert, select, update, and delete helpers
Install
npm install
npm run build
openclaw plugins install .
openclaw plugins enable database
openclaw gateway restart
Config
{
plugins: {
entries: {
database: {
enabled: true,
config: {
storagePath: "~/.openclaw/state/database/database.sqlite",
resultRowLimit: 100,
busyTimeoutMs: 5000,
enableWal: true,
},
},
},
},
}
If storagePath is omitted, the plugin stores data in ~/.openclaw/state/database/database.sqlite.
Tools
database_list_tablesdatabase_describe_tabledatabase_schemadatabase_create_tabledatabase_create_indexdatabase_drop_indexdatabase_drop_tabledatabase_querydatabase_executedatabase_transactiondatabase_insertdatabase_selectdatabase_updatedatabase_delete
Capabilities
- Tags
- configSchema
- Yes
- Executes code
- Yes
- HTTP routes
- 0
- Runtime ID
- database
Compatibility
- Built With Open Claw Version
- 2026.3.23-2
- Plugin Api Range
- >=2026.3.23
Verification
- Tier
- source linked
- Scope
- artifact only
- Summary
- Validated package structure and linked the release to source metadata.
- Commit
- a4eee48
- Tag
- main
- Provenance
- No
- Scan status
- clean
Tags
- latest
- 0.1.0
