supabase_upsert
Insert new rows or update existing ones in a Supabase table on conflict, specifying columns for conflict resolution and optional duplicate handling.
Instructions
Upsert (insert or update on conflict) rows in a Supabase 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": {
"table": "<table>",
"data": "<data>"
},
"name": "supabase_upsert"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| data | Yes | Row or array of rows to upsert | |
| table | Yes | Table name to upsert into | |
| onConflict | No | Column(s) for conflict resolution | |
| ignoreDuplicates | No | Ignore duplicate rows instead of updating |