execute_sql
Execute arbitrary read-only SQL against the DuckDB database. Only SELECT and WITH statements are allowed. Use get_schema first to understand available tables and columns. Available on Professional tier and above.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| sql | Yes | SQL query (SELECT or WITH only) |