invoke_rpc
Invoke Database Function
Call a PostgreSQL function (RPC) through the Supabase REST API. This allows you to execute custom database functions with typed arguments and receive results.
invoke_rpc
Call a PostgreSQL function (RPC) through the Supabase REST API. This allows you to execute custom database functions with typed arguments and receive results.
manage_project
Create, pause, restore, or delete a Supabase project. Use **create** to provision a new project with a database, **pause** to temporarily suspend it, **restore** to reactivate it, or **delete** to permanently remove it.
manage_storage_objects
List, inspect, upload, update, download, move, copy, or delete files in Supabase Storage buckets. Also generate public URLs or signed URLs for file access.
manage_edge_functions
List, get, create, update, or delete Supabase Edge Functions. Edge Functions are server-side TypeScript functions distributed globally at the edge.
manage_table_rows
Insert, update, upsert, or delete rows in a Supabase table using the auto-generated REST API. Supports bulk operations and conflict resolution for upserts.
list_projects
List all Supabase projects accessible to the authenticated user. Returns project details including name, reference ID, region, status, and creation date.
manage_storage_buckets
List, get, create, update, empty, or delete storage buckets in a Supabase project. Buckets organize files and control access policies.
run_query
Execute a raw SQL query against a Supabase project's PostgreSQL database via the Management API. Returns the query result rows. Use for schema inspection, data manipulation, or any custom SQL operations.
list_organizations
List all Supabase organizations accessible to the authenticated user. Returns organization details including name, slug, and billing plan.
get_auth_config
Retrieve or update the authentication configuration for a Supabase project. This includes settings for email auth, phone auth, external OAuth providers, JWT configuration, and MFA policies.
manage_secrets
List, create, or delete secrets (environment variables) for a Supabase project. Secrets are typically used by Edge Functions and other server-side code.
manage_auth_users
List, get, create, update, or delete authentication users in a Supabase project. Uses the admin Auth API with the service_role key to manage user accounts.
get_project
Retrieve detailed information about a specific Supabase project, including its configuration, status, database host, and API keys.
query_table
Query rows from a Supabase table using the auto-generated REST API (PostgREST). Supports column selection, filtering with PostgREST operators (eq, neq, gt, lt, gte, lte, like, ilike, in, is), ordering, and pagination.
get_project_logs
Query Supabase project logs through the Management API. Use a custom logs SQL query for specific sources, or omit SQL to retrieve the default recent Edge Logs window.
get_database_schema
Export Supabase database schema metadata for development workflows. Generate the PostgREST OpenAPI specification or TypeScript database types for selected schemas.
get_project_health
Check health for Supabase project services such as Auth, Postgres, REST, Realtime, Storage, and Pooler.
Manage PostgreSQL databases, authenticate users, store files, and run edge functions on Supabase. Perform CRUD operations on database tables via auto-generated REST and GraphQL APIs with row-level security. Create and manage user accounts with password, magic link, OTP, social login, and SSO authentication. Upload, download, list, and delete files organized in storage buckets. Deploy and invoke server-side TypeScript edge functions. Listen to realtime database changes, broadcast messages, and track user presence. Configure database webhooks for INSERT, UPDATE, and DELETE events. Programmatically manage Supabase organizations and projects, including creating/deleting projects, managing API keys, configuring auth settings, custom domains, network restrictions, and Edge Function secrets.
Common questions about connecting Supabase to AI agents with Metorial.