run_sql
Run read-only SQLite SELECT or WITH queries to answer business data questions, returning columns, rows, and a truncation flag under row and time limits.
Instructions
Run one read-only SQLite SELECT (or WITH ... SELECT) and return columns, rows and a truncated flag.
Results are capped (200 rows by default) and queries are stopped after a few seconds. Aggregate in SQL rather than pulling raw rows. Call describe_schema first if you haven't seen the tables.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| query | Yes |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
No arguments | |||