update-records
Update records using compact array format.
FORMAT: { "tableId": "tblXXX", "header": ["recordId", "Name", "Status"], "records": [ ["recAAA", "Updated Name A", "Done"], ["recBBB", "Updated Name B", "Pending"] ] }
RULES:
header: First element MUST be "recordId"
records: First value in each row is the record ID to update
Empty string "": Skip field (no change)
null: Clear the cell
VALUE TYPES: Same as create-records
REORDER (optional): "order": { "viewId": "viwXXX", "anchorId": "recYYY", "position": "before"|"after" } Moves record(s) before/after the anchor in the given view. Swap rows A↔B: call twice with different anchors.
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": {
"tableId": "<tableId>",
"header": "<header>",
"records": "<records>"
},
"name": "update-records"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| order | No | Reorder record(s) relative to anchor. For swapping, call twice. | |
| header | Yes | Array of field names. First element MUST be "recordId". Example: ["recordId", "Name", "Status"] | |
| records | Yes | Array of record rows. First value in each row is the record ID. Example: [["recAAA", "New Name", "Done"]] | |
| tableId | Yes | The ID of the table containing the records | |
| typecast | No | Automatically convert field values to proper types |