Atomemo-official-plugins db

Supabase Upsert Tool Documentation

install
source · Clone the upstream repo
git clone https://github.com/choice-open/atomemo-official-plugins
manifest: plugins/supabase-api-client/src/tools/db/supabase-upsert-skill.md
source content

Supabase Upsert Tool Documentation

Tool

  • Name:
    supabase-upsert
  • Purpose: Upserts rows (insert or update on conflict).

Parameters

NameTypeRequiredUI ComponentDescriptionExample
supabase_credential
credential_id
true
credential pickerSupabase connection credential bound to
supabase-connection
.
"my_supabase_cred"
table
string
true
inputTable name."posts"
rows
string
true
textareaJSON array/object of rows."[{"id": 1, "title": "A"}]"
schema
string
false
inputSchema (default
public
).
"public"
on_conflict
string
false
inputConflict columns for upsert."id"
returning
string
false
select
minimal
or
representation
.
"minimal"

Tool Input Example

{
  "parameters": {
    "supabase_credential": "my_supabase_cred",
    "table": "posts",
    "rows": "[{\"slug\": \"a\", \"title\": \"A\"}]",
    "on_conflict": "slug",
    "returning": "representation"
  }
}

Tool Output Example

{
  "success": true,
  "data": {},
  "error": null,
  "code": null
}