Supabase: Get table relationships
supabase_get_table_relationshipsRetrieve foreign key relationships for a Supabase table, including both inbound and outbound references, to map how tables connect before writing queries or migrations.
Instructions
[UNIFIED] Get foreign key relationships for a table (both references to and from this 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_relationships"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| site | Yes | ||
| table | Yes | ||
| schema | No | public |