coda_upsert_rows
Insert or update rows in a Coda table by specifying key columns for matching.
Instructions
Insert or upsert rows into a 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": {
"docId": "<docId>",
"tableIdOrName": "<tableIdOrName>",
"rows": "<rows>"
},
"name": "coda_upsert_rows"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| docId | Yes | The ID of the document | |
| tableIdOrName | Yes | The ID or name of the table | |
| rows | Yes | JSON string of rows to upsert, e.g. [{"cells": [{"column": "Name", "value": "Alice"}, {"column": "Age", "value": 30}]}] | |
| keyColumns | No | JSON string of column IDs or names to use as upsert keys, e.g. ["Name"] - optional |