run_query
Query the legacy ERP with a single read-only SELECT, returning up to 200 rows while blocking writes and masking sensitive columns.
Instructions
Run one read-only SELECT against the legacy ERP and return up to 200 rows.
Only a single SELECT (CTEs allowed) is accepted; writes, DDL, PRAGMA and ATTACH are rejected
by the database engine. Restricted columns read as NULL. Aggregate in SQL rather than
fetching raw rows -- results past the row limit are dropped and `truncated` is set.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| sql | Yes |