⚠️ FILE WRITE: Export a table or read-only SELECT/PRAGMA/EXPLAIN query to a JSON file (array of objects). Can write absolute paths. Provide exactly one of table or query.
export_jsonExport a SQLite table or read-only SELECT query to a JSON file. Supports custom encoding, append mode, and absolute paths.
Instructions
⚠️ FILE WRITE: Export a table or read-only SELECT/PRAGMA/EXPLAIN query to a JSON file (array of objects). Can write absolute paths. Provide exactly one of table or query.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| query | No | ||
| table | No | ||
| append | No | ||
| encoding | No | utf8 | |
| file_path | Yes | ||
| database_name | No |