Inspect Sqlite Database
inspect_sqlite_databaseInspect a local offline SQLite snapshot and sibling WAL read-only to return SHA-256 evidence, schema inventory, and controlled selected-table row samples without arbitrary SQL.
Instructions
Inspect an explicit local SQLite database snapshot and its existing sibling WAL without modifying source files or opening a native analysis provider. Requires Node.js 24.x >=24.15 or 26+ with native DatabaseSync.limits support, checked by the worker. Returns observed Evidence with database/WAL SHA-256 and a compact schema inventory. Selecting an exact ordinary table expands only its schema and samples rows (default 20, subject to byte and worker resource limits). Select exact columns in the requested order to avoid unrelated or large values; schema_scope=database explicitly expands the whole schema; returned rows retain 64-bit integers, text bytes and blobs with explicit truncation. No arbitrary SQL, view or virtual-table execution, extension loading, database repair, encryption support or live-snapshot atomicity claim. At most two inspections per provider are admitted; occupied capacity is retryable. An isolated temporary copy and owned worker enforce input, value/record, SQL-statement, JSON-reply, JavaScript-heap and deadline limits; overall native heap is not capped. Supply a quiescent snapshot for coherent database/WAL evidence.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| path | Yes | Absolute path to an offline SQLite database snapshot | |
| table | No | Exact ordinary table name; views and virtual/shadow tables are not executed | |
| columns | No | Exact row columns in caller-selected order; requires table. Omit to sample all visible columns. | |
| row_limit | No | Selected-table sample size, default 20; subject to byte and worker resource limits | |
| schema_scope | No | Default: compact inventory without a table, or detailed selected-table schema with a table. Database explicitly expands all stored declarations and supported columns. |