supabase_execute_sql
Run SQL statements against a Supabase project's database via the Management API; destructive queries require confirm: true.
Instructions
Run a SQL statement against a Supabase project's database via the Management API. Destructive statements require confirm: true.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| sql | Yes | The SQL to run. | |
| api_key | No | Legacy token alias. | |
| confirm | No | Set true to allow a destructive statement the guard would block. | |
| project_ref | Yes | Supabase project ref (the xxxx in xxxx.supabase.co). | |
| access_token | No | Optional Supabase access token. Omit to use the connected login. |