sb_collection
Manage data tables, typed fields, and records; import or export CSV, upsert records by external_id, and edit, move, or remove items by ID.
Instructions
Data tables (collections): tables, typed fields, records, CSV export/import (appends), upsert by external_id. edit merges values (null clears). get/edit/remove/move take id.
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": {
"action": "<action>"
},
"name": "sb_collection"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| id | No | record | |
| csv | No | ||
| ids | No | every id, new order | |
| key | No | ||
| ref | No | reference target table | |
| name | No | table name / field label | |
| slug | No | ||
| sort | No | key, -key desc | |
| type | No | ||
| delta | No | ||
| field | No | id or key | |
| limit | No | ||
| action | Yes | ||
| filter | No | {key: value} | |
| offset | No | ||
| values | No | ||
| dry_run | No | ||
| options | No | ||
| records | No | ||
| site_id | No | ||
| required | No | ||
| published | No | ||
| collection | No | id or slug | |
| external_id | No | ||
| public_read | No |