update_row
Update specific cells in a row with optimistic concurrency. A version check prevents silent overwrites; conflicts return version_conflict.
Instructions
Update one row's cells. cells carries ONLY the changed cells.
version is the row's current version and is checked before the write
(optimistic concurrency). If the row changed since you read it you get
version_conflict rather than a silent overwrite — read the row again and
decide whether your change still applies.
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": {
"sheet_id": "<sheet_id>",
"row_id": "<row_id>",
"version": "<version>",
"cells": "<cells>"
},
"name": "update_row"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| cells | Yes | ||
| row_id | Yes | ||
| version | Yes | ||
| sheet_id | Yes |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
No arguments | |||