query
Execute read-only SELECT, WITH, PRAGMA, or EXPLAIN statements on SQLite databases; returns columns, rows, row count, and truncation status.
Instructions
执行只读 SQL 查询(SELECT/WITH/PRAGMA/EXPLAIN)。返回 {columns, rows, row_count, truncated}。结果默认最多 500 行。
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| sql | Yes | ||
| db_path | Yes | ||
| max_rows | No |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| result | Yes |