Supabase: Get table constraints
supabase_get_table_constraintsRetrieve all constraints—primary key, foreign key, unique, and check—for a specified Supabase table to understand its schema and enforce data integrity.
Instructions
[UNIFIED] Get all constraints (primary key, foreign key, unique, check) for a table.
Tool call template
Replace each placeholder with a value matching the input schema. Only required parameters are included; add optional parameters as needed.
{
"id": 1,
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"arguments": {
"site": "<site>",
"table": "<table>"
},
"name": "supabase_get_table_constraints"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| site | Yes | ||
| table | Yes | ||
| schema | No | public |