Database

v0.1.0

Native OpenClaw SQLite database plugin with schema, query, and CRUD tools

database·runtime database·by @ivangdavila
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_tables
  • database_describe_table
  • database_schema
  • database_create_table
  • database_create_index
  • database_drop_index
  • database_drop_table
  • database_query
  • database_execute
  • database_transaction
  • database_insert
  • database_select
  • database_update
  • database_delete

Capabilities

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