Supabase: Update policy
supabase_update_policyUpdate an existing Supabase RLS policy by dropping and recreating it with new definitions, roles, and checks.
Instructions
[UNIFIED] Update an existing RLS policy. Drops and recreates the policy.
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": "<name>",
"definition": "<definition>"
},
"name": "supabase_update_policy"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| name | Yes | ||
| site | Yes | ||
| check | No | ||
| roles | No | ||
| table | Yes | ||
| schema | No | public | |
| command | No | ALL | |
| definition | Yes |