execute_sql
Execute SQL queries directly on your self-hosted Supabase database for data retrieval, updates, and management operations.
Instructions
Executes an arbitrary SQL query against the database, using direct database connection when available or RPC function as fallback.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| sql | Yes | The SQL query to execute. | |
| read_only | No | Hint for the RPC function whether the query is read-only (best effort). |