run_query
Run read-only SQL queries against gong-nl-db, permitting only SELECT and set operations, and limiting results to ensure safe data access.
Instructions
Run a read-only SQL query against gong-nl-db. Only SELECT, WITH (terminating in SELECT), and set-operation queries are allowed — any INSERT/UPDATE/DELETE/DDL is rejected before the query reaches the database. Results are capped at limit rows (max 1000).
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| sql | Yes | ||
| limit | No |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| result | Yes |