run_query
Execute a single read-only PostgreSQL SELECT query returning up to 100 rows, with writes and risky functions rejected for safety. Read error messages to fix and retry failed SQL.
Instructions
Run ONE read-only PostgreSQL SELECT query. Returns up to 100 rows.
Writes, multiple statements and risky functions are rejected with a reason. If a query fails, read the error message, fix the SQL, and try again.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| sql | Yes |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
No arguments | |||