Run a read-only SQL query
queryRun a read-only SQL SELECT/WITH statement on a SQLite database and receive the result rows as JSON. Inspect schema resources to understand tables and columns before querying.
Instructions
Run a single read-only SQL SELECT/WITH statement and return rows as JSON. Read the schema://tables and schema://table/{name} resources first to learn the schema.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| sql | Yes | a single read-only SELECT/WITH statement |