run_sql
Query an accounts-payable ledger with read-only SELECT statements to retrieve invoice, payment, and reconciliation data safely, returning columns, rows, and truncation status.
Instructions
Run a read-only SELECT (or WITH ... SELECT) against the ledger.
Returns columns, rows and whether the result was truncated. Write statements, multiple statements and PRAGMAs are rejected.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| limit | No | ||
| query | Yes |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
No arguments | |||